> For the complete documentation index, see [llms.txt](https://textav.gitbook.io/firebase-react-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://textav.gitbook.io/firebase-react-notes/firestore/firestore-data-model.md).

# Firestore data model

<https://firebase.google.com/docs/firestore/data-model>

* [How to Structure Your Data | Get to Know Cloud Firestore #5](https://youtu.be/haMOUb3KVSo)
* [How do queries work in Cloud Firestore? | Get to Know Cloud Firestore #2](https://youtu.be/Ofux_4c94FI)
* [Maps, Arrays and Subcollections, Oh My! | Get to Know Cloud Firestore #4](https://youtu.be/o7d5Zeic63s)
* [Understanding Collection Group Queries in Cloud Firestore](https://firebase.googleblog.com/2019/06/understanding-collection-group-queries.html)
* [how to add sub collection to a document in firestore? \[closed\]](https://stackoverflow.com/questions/48873465/how-to-add-sub-collection-to-a-document-in-firestore/48873628)
* [Firestore Sub-Collections](https://howtofirebase.com/firestore-sub-collections-2e23c998540d)
* [Best Practices: Arrays in Firebase](https://firebase.googleblog.com/2014/04/best-practices-arrays-in-firebase.html)
