CollectionReference object can be used for adding documents, getting document references, and querying for documents (using the methods inherited from
A FieldPath refers to a field in a document. The path may consist of a single field name (referring to a top-level field in the document), or a list of field names (referring to a nested field in the document).
Create a FieldPath by providing field names. If more than one field name is provided, the path will point to a nested field in a document.
An immutable object representing a geo point in Cloud Firestore. The geo point is represented as latitude/longitude pair.
QueryDocumentSnapshot contains data read from a document in your Firestore database as part of a query. The document is guaranteed to exist and its data can be extracted with
.get(<field>) to get a specific field.
QueryDocumentSnapshot offers the same API surface as a
DocumentSnapshot. Since query results contain only existing documents, the
exists property will always be true and
data() will never return