hasMany
Embedded records
... TODO
Subcollections
... TODO
EmberFire can handle relationships in several different ways:
hasMany
will query for matching records in a root collectionhasMany
with the query: ref => ref
allows you to alter to assumed queryhasMany
with the subcollection: true
option will query records in a Firestore subcollectionhasMany
with the subcollection: true, query: ref => ref
similarly allows you tack on a subcollection queryhasMany
with the embedded: true
option will embed the records in the Firestore documentbelongsTo
will query for matching records in a root collectionbelongsTo
with the query: ref => ref
option allows you to modify the assumed query... TODO
... TODO
.. TODO
... TODO note about using Cloud Functions for this