CollectionReference
Properties
The FirebaseFirestore this query belongs to.
The FirebaseFirestore this query belongs to.
The FirebaseFirestore this query belongs to.
The FirebaseFirestore this query belongs to.
The FirebaseFirestore this query belongs to.
The underlying Firebase JS SDK object.
The underlying Firebase JS SDK object.
The document containing this collection, or null for a root collection.
The document containing this collection, or null for a root collection.
The document containing this collection, or null for a root collection.
The document containing this collection, or null for a root collection.
The document containing this collection, or null for a root collection.
Functions
Adds a new document with an automatically generated id and data (a map of field values).
Completes once the write is acknowledged, as on Android (addDocumentWithData returns the reference before that).
Adds a new document with an automatically generated id and data (a map of field values).
Adds a new document with an automatically generated id and data (a map of field values).
Adds a new document with an automatically generated id and data (a map of field values).
Listens to the results and every change to them.
Listens to the results, also notifying listener of metadata changes when metadataChanges is INCLUDE.
Listens to the results with options.
Not in the common API (the executor is Android-only); the Kotlin-first layer's Android listeners bind to this member.
Listens to the results and every change to them.
Listens to the results, also notifying listener of metadata changes when metadataChanges is INCLUDE.
Listens to the results with options.
Listens to the results and every change to them.
Listens to the results, also notifying listener of metadata changes when metadataChanges is INCLUDE.
Listens to the results with options.
Listens to the results and every change to them.
Listens to the results, also notifying listener of metadata changes when metadataChanges is INCLUDE.
Listens to the results with options.
Listens to the results and every change to them.
Listens to the results, also notifying listener of metadata changes when metadataChanges is INCLUDE.
Listens to the results with options.
An AggregateQuery computing aggregateField and aggregateFields over the results.
An AggregateQuery computing aggregateField and aggregateFields over the results.
An AggregateQuery computing aggregateField and aggregateFields over the results.
An AggregateQuery computing aggregateField and aggregateFields over the results.
An AggregateQuery computing aggregateField and aggregateFields over the results.
An AggregateQuery counting the results.
An AggregateQuery counting the results.
An AggregateQuery counting the results.
An AggregateQuery counting the results.
An AggregateQuery counting the results.
A reference to a new document with an automatically generated id.
A reference to the document at documentPath, relative to this collection.
A reference to a new document with an automatically generated id.
A reference to the document at documentPath, relative to this collection.
A reference to a new document with an automatically generated id.
A reference to the document at documentPath, relative to this collection.
A reference to a new document with an automatically generated id.
A reference to the document at documentPath, relative to this collection.
A reference to a new document with an automatically generated id.
A reference to the document at documentPath, relative to this collection.
The JS SDK creates a new object per call, so queries are equal when they describe the same collection and constraints.
Reads the results, from the cache and the backend as available.
Reads the results from source.
Reads the results, from the cache and the backend as available.
Reads the results from source.
Reads the results, from the cache and the backend as available.
Reads the results from source.
Reads the results, from the cache and the backend as available.
Reads the results from source.
Reads the results, from the cache and the backend as available.
Reads the results from source.
The query limited to the last limit results; requires an orderBy.
The query limited to the last limit results; requires an orderBy.
The query limited to the last limit results; requires an orderBy.
The query limited to the last limit results; requires an orderBy.
The query limited to the last limit results; requires an orderBy.
The query results and every change to them as a Flow, which fails if the listener fails.
The query with filter added, which may combine conditions with Filter.and and Filter.or.
The query with filter added, which may combine conditions with Filter.and and Filter.or.
The query with filter added, which may combine conditions with Filter.and and Filter.or.
The query with filter added, which may combine conditions with Filter.and and Filter.or.