JavaScript and Firebase Flashcards
Cloud Firestore is a document-oriented database. (T/F)
True
A document within a collection is NOT required to have the same keys as other documents within the same collection. (T/F)
True
Cloud Firestore supports rich schemas. (T/F)
False
Which of the following is TRUE about Firestore references.
You can have a reference to a document, but NOT a collection.
You CAN create a reference whether or not data exists in the document.
Creating a reference performs network operations.
You CAN create a reference whether or not data exists in the document.
What is the difference between a collection reference and a document reference.
Collection references are static
Collection references get garbage collected
Collection references are used for querying, while document references are used for reading and writing
document references are much slower
Collection references are used for querying, while document references are used for reading and writing