🔥 Techniques
The four main techniques for data modeling in Firestore
- 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.