Concrete implementation of the Aggregate type.
Represents an aggregation that can be performed by Firestore.
A Firestore BulkWriter that can be used to perform a large number of writes in parallel.
CollectionGroup refers to all documents that are contained in a collection or subcollection with a specific collection ID.
A CollectionReference object can be used for adding documents, getting document references, and querying for documents (using the methods inherited from [Query]Query).
A DocumentChange represents a change to the documents matching a query. It contains the document affected and the type of change that occurred.
A DocumentReference refers to a document location in a Firestore database and can be used to write, read, or listen to the location. The document at the referenced location may or may not exist. A DocumentReference can also be used to create a [CollectionReference]CollectionReference to a subcollection.
A DocumentSnapshot is an immutable representation for a document in a Firestore database. The data can be extracted with [data()] or [get(fieldPath)] to get a specific field.
For a DocumentSnapshot that points to a non-existing document, any data access will return 'undefined'. You can use the [exists] property to explicitly verify a document's existence.
A dot-separated path for navigating sub-objects (e.g. nested maps) within a document.
Sentinel values that can be used when writing documents with set(), create() or update().
Filter represents a restriction on one or more field values and can be used to refine the results of a Query.
Filterss are created by invoking , , or and can then be passed to to create a new Query instance that also contains this
The Firestore client represents a Firestore Database and is the entry point for all Firestore operations.
An immutable object representing a geographic location in Firestore. The location is represented as a latitude/longitude pair.
A Query refers to a query which you can read or stream from. You can also construct refined Query objects by adding filters and ordering.
A 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 [data()] or [get()] to get a specific field.
A 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 'undefined'.
A split point that can be used in a query as a starting and/or end point for the query results. The cursors returned by and can only be used in a query that matches the constraint of query that produced this partition.
A QuerySnapshot contains zero or more [QueryDocumentSnapshot]QueryDocumentSnapshot objects representing the results of a query. The documents can be accessed as an array via the [documents] property or enumerated using the [forEach] method. The number of documents can be determined via the [empty] and [size] properties.
A Timestamp represents a point in time independent of any time zone or calendar, represented as seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
A reference to a transaction.
The Transaction object passed to a transaction's updateFunction provides the methods to read and write data within the transaction context. See [runTransaction()].
A Firestore WriteBatch that can be used to atomically commit multiple write operations at once.
A WriteResult wraps the write time set by the Firestore servers on sets(), updates(), and creates().
DEFAULT_MAX_TRANSACTION_ATTEMPTS = 5
The maximum number of times to attempt a transaction before failing.
MAX_REQUEST_RETRIES = 5
The maximum number of times to retry idempotent requests.
export declare function setLogFunction(logger: ((msg: string) => void) | null): void;
Sets or disables the log function for all active Firestore instances.
A log function that takes a message (such as