Recall & Review
beginner
What is a Firestore collection?
A Firestore collection is like a folder that holds multiple documents. It organizes data into groups so you can find and manage related information easily.
Click to reveal answer
beginner
What is a Firestore document?
A Firestore document is a single record inside a collection. It stores data as fields with values, similar to a row in a spreadsheet.
Click to reveal answer
intermediate
Can a Firestore document contain subcollections?
Yes, a Firestore document can have subcollections inside it. This lets you create nested data structures, like folders inside folders.
Click to reveal answer
beginner
How do Firestore collections and documents relate to each other?
Collections hold documents, and documents hold data fields or subcollections. You always access data by specifying a collection and then a document inside it.
Click to reveal answer
intermediate
Why does Firestore use collections and documents instead of tables and rows?
Firestore uses collections and documents to allow flexible, hierarchical data storage. This helps store complex data easily and scale well in cloud apps.
Click to reveal answer
What is the smallest unit of data storage in Firestore?
✗ Incorrect
A document is the smallest unit that stores data fields in Firestore.
Which of these can contain multiple documents in Firestore?
✗ Incorrect
A collection holds multiple documents.
Can a Firestore document exist without being inside a collection?
✗ Incorrect
Documents must always be inside collections in Firestore.
What is a subcollection in Firestore?
✗ Incorrect
A subcollection is a collection nested inside a document.
How do you access data in Firestore?
✗ Incorrect
You access data by choosing a collection and then a document inside it.
Explain how Firestore organizes data using collections and documents.
Think of folders and files on your computer.
You got /4 concepts.
Describe why Firestore uses collections and documents instead of traditional tables and rows.
Consider how cloud apps need to store different types of data.
You got /4 concepts.