Recall & Review
beginner
What is a Firestore document?
A Firestore document is a single record in a Firestore database. It stores data as key-value pairs and is similar to a row in a table but more flexible.
Click to reveal answer
beginner
How are Firestore documents organized?
Documents are organized into collections. Each collection contains multiple documents, and documents can contain subcollections, creating a tree-like structure.
Click to reveal answer
intermediate
Can Firestore documents contain nested data?
Yes, documents can contain nested objects and arrays as values, allowing complex data structures inside a single document.
Click to reveal answer
intermediate
What is the maximum size of a Firestore document?
A Firestore document can be up to 1 MiB (1,048,576 bytes) in size, including all fields and nested data.
Click to reveal answer
beginner
How does Firestore handle document IDs?
Each document has a unique ID within its collection. IDs can be auto-generated by Firestore or set manually by the user.
Click to reveal answer
What is the basic unit of data storage in Firestore?
✗ Incorrect
Firestore stores data in documents, which are the basic units of data storage.
How are documents grouped in Firestore?
✗ Incorrect
Documents are grouped into collections in Firestore.
What is the maximum size allowed for a Firestore document?
✗ Incorrect
Firestore documents can be up to 1 MiB in size.
Can Firestore documents contain arrays and nested objects?
✗ Incorrect
Firestore documents support both arrays and nested objects.
How are document IDs assigned in Firestore?
✗ Incorrect
Document IDs can be set manually or auto-generated by Firestore.
Explain how Firestore organizes data using documents and collections.
Think of folders (collections) containing files (documents).
You got /4 concepts.
Describe the types of data Firestore documents can hold and any size limits.
Consider what fits inside a single document.
You got /3 concepts.