Research what tools are offered by CouchDB and Cloudant for ensuring referential integrity.
Come up with a proposal on how LoopBack applications should implement the following relations:
- 1-N (hasMany)
- N-1 (belongsTo)
- 1-1 (hasOne/belongsTo)
For example, we can recommend referencesMany or embedsMany, but also find out that a completely new relation type is needed.
See #2127 for wider context and #1718 (comment) for explanation of strong vs. weak relations.
Acceptance criteria
Research what tools are offered by CouchDB and Cloudant for ensuring referential integrity.
Come up with a proposal on how LoopBack applications should implement the following relations:
For example, we can recommend referencesMany or embedsMany, but also find out that a completely new relation type is needed.
See #2127 for wider context and #1718 (comment) for explanation of strong vs. weak relations.
Acceptance criteria