JavaScript and Firebase Flashcards

1
Q

Cloud Firestore is a document-oriented database. (T/F)

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A document within a collection is NOT required to have the same keys as other documents within the same collection. (T/F)

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cloud Firestore supports rich schemas. (T/F)

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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.

A

You CAN create a reference whether or not data exists in the document.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

Collection references are used for querying, while document references are used for reading and writing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly