Skip to content

Commit

Permalink
Updated docs to reflect feature pubkey#2285
Browse files Browse the repository at this point in the history
  • Loading branch information
DDoerner committed Jun 17, 2020
1 parent 2c040d5 commit 3a14aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-src/population.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export const refHuman = {
},
bestFriend: {
ref: 'human', // refers to collection human
type: 'string' // ref-values must always be string (primary of foreign RxDocument)
type: 'string' // ref-values must always be string or ['string','null'] (primary of foreign RxDocument)
}
}
};
```

You can also have a one-to-may reference by using a string-array.
You can also have a one-to-many reference by using a string-array.

```js
export const schemaWithOneToManyReference = {
Expand Down

0 comments on commit 3a14aee

Please sign in to comment.