- Embed. Model data directly on a document.
- Root collection. Normalize data into separate collections, then reference document IDs.
- Subcollection. Nest data in a collection under a document.
- Bucket. Separate data into multiple documents, but embed as much as possible.
Techniques The four main techniques for data modeling in Firestore
This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.
Questions?
Ask questions via GitHub below OR chat on Slack #questions