AggregateField | Represents an aggregation that can be performed by Firestore. |
AggregateQuerySnapshot | The results of executing an aggregation query. |
Bytes | An immutable object representing an array of bytes. |
CollectionReference | A |
DocumentReference | A |
DocumentSnapshot | A |
FieldPath | A |
FieldValue abstract | Sentinel values that can be used when writing document fields with |
Firestore | The Cloud Firestore service interface. |
FirestoreError | An error returned by a Firestore operation. |
GeoPoint | An immutable object representing a geographic location in Firestore. The location is represented as latitude/longitude pair. |
LoadBundleTask | Represents the task of loading a Firestore bundle. It provides progress of bundle loading, as well as task completion and error events. |
PersistentCacheIndexManager | A |
Query | A |
QueryCompositeFilterConstraint | A |
QueryConstraint abstract | A |
QueryDocumentSnapshot | A |
QueryEndAtConstraint | A |
QueryFieldFilterConstraint | A |
QueryLimitConstraint | A |
QueryOrderByConstraint | A |
QuerySnapshot | A |
QueryStartAtConstraint | A |
SnapshotMetadata | Metadata about a snapshot, describing the state of the snapshot. |
Timestamp | A |
Transaction | A reference to a transaction. |
VectorValue | Represents a vector type in Firestore documents. Create an instance with FieldValue.vector. |
WriteBatch | A write batch, used to perform multiple writes as a single atomic unit. |
CACHE_SIZE_UNLIMITED | Constant used to indicate the LRU garbage collection should be disabled.
Set this value as the |
addDoc | Add a new document to specified |
aggregateFieldEqual | Compares two 'AggregateField` instances for equality. |
aggregateQuerySnapshotEqual | Compares two |
and | Creates a new QueryCompositeFilterConstraint that is a conjunction of the given filter constraints. A conjunction filter includes a document if it satisfies all of the given filters. |
arrayRemove | Returns a special value that can be used with {@link (setDoc:1)} or updateDoc:1 that tells the server to remove the given elements from any array value that already exists on the server. All instances of each element specified will be removed from the array. If the field being modified is not already an array it will be overwritten with an empty array. |
arrayUnion | Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link |
average | Create an AggregateField object that can be used to compute the average of a specified field over a range of documents in the result set of a query. |
clearIndexedDbPersistence | Clears the persistent storage. This includes pending writes and cached documents. |
collection | Gets a |
collectionGroup | Creates and returns a new |
connectFirestoreEmulator | Modify this instance to communicate with the Cloud Firestore emulator. |
count | Create an AggregateField object that can be used to compute the count of documents in the result set of a query. |
deleteAllPersistentCacheIndexes | Removes all persistent cache indexes. |
deleteDoc | Deletes the document referred to by the specified |
deleteField | Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
{@link @firebase/firestore/lite#(setDoc:1)} with |
disableNetwork | Disables network usage for this instance. It can be re-enabled via enableNetwork. While the network is disabled, any snapshot listeners,
|
disablePersistentCacheIndexAutoCreation | Stops creating persistent cache indexes automatically for local query
execution. The indexes which have been created by calling
|
doc | Gets a |
documentId | Returns a special sentinel |
enableIndexedDbPersistence deprecated | Attempts to enable persistent storage, if possible. |
enableMultiTabIndexedDbPersistence deprecated | Attempts to enable multi-tab persistent storage, if possible. If enabled across all tabs, all operations share access to local persistence, including shared execution of queries and latency-compensated local document updates across all connected instances. |
enableNetwork | Re-enables use of the network for this Firestore instance after a prior call to disableNetwork. |
enablePersistentCacheIndexAutoCreation | Enables the SDK to create persistent cache indexes automatically for local query execution when the SDK believes cache indexes can help improve performance. |
endAt | Creates a QueryEndAtConstraint that modifies the result set to end at the provided document (inclusive). The end position is relative to the order of the query. The document must contain all of the fields provided in the orderBy of the query. |
endBefore | Creates a QueryEndAtConstraint that modifies the result set to end before the provided document (exclusive). The end position is relative to the order of the query. The document must contain all of the fields provided in the orderBy of the query. |
getAggregateFromServer | Calculates the specified aggregations over the documents in the result set of the given query without actually downloading the documents. |
getCountFromServer | Calculates the number of documents in the result set of the given query without actually downloading the documents. |
getDoc | Reads the document referred to by this |
getDocFromCache | Reads the document referred to by this |
getDocFromServer | Reads the document referred to by this |
getDocs | Executes the query and returns the results as a |
getDocsFromCache | Executes the query and returns the results as a |
getDocsFromServer | Executes the query and returns the results as a |
getFirestore | Returns the existing default Firestore instance that is associated with the default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new instance with default settings. |
getPersistentCacheIndexManager | Returns the PersistentCache Index Manager used by the given |
increment | Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link |
initializeFirestore | Initializes a new instance of Firestore with the provided settings. Can only be called before any other function, including {@link (getFirestore:1)}. If the custom settings are empty, this function is equivalent to calling {@link (getFirestore:1)}. |
limit | Creates a QueryLimitConstraint that only returns the first matching documents. |
limitToLast | Creates a QueryLimitConstraint that only returns the last matching documents. |
loadBundle | Loads a Firestore bundle into the local cache. |
memoryEagerGarbageCollector | Creates an instance of |
memoryLocalCache | Creates an instance of |
memoryLruGarbageCollector | Creates an instance of |
namedQuery | Reads a Firestore Query from local cache, identified by the given name. |
onSnapshot | Attaches a listener for |
onSnapshotsInSync | Attaches a listener for a snapshots-in-sync event. The snapshots-in-sync event indicates that all listeners affected by a given change have fired, even if a single server-generated change affects multiple listeners. |
or | Creates a new QueryCompositeFilterConstraint that is a disjunction of the given filter constraints. A disjunction filter includes a document if it satisfies any of the given filters. |
orderBy | Creates a QueryOrderByConstraint that sorts the query result by the specified field, optionally in descending order instead of ascending. |
persistentLocalCache | Creates an instance of |
persistentMultipleTabManager | Creates an instance of |
persistentSingleTabManager | Creates an instance of |
query | Creates a new immutable instance of Query that is extended to also include additional query constraints. |
queryEqual | Returns true if the provided queries point to the same collection and apply the same constraints. |
refEqual | Returns true if the provided references are equal. |
runTransaction | Executes the given |
serverTimestamp | Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to include a server-generated timestamp in the written data. |
setDoc | Writes to the document referred to by this |
setIndexConfiguration deprecated | Configures indexing for local query execution. Any previous index
configuration is overridden. The |
setLogLevel | Sets the verbosity of Cloud Firestore logs (debug, error, or silent). |
snapshotEqual | Returns true if the provided snapshots are equal. |
startAfter | Creates a QueryStartAtConstraint that modifies the result set to start after the provided document (exclusive). The starting position is relative to the order of the query. The document must contain all of the fields provided in the orderBy of the query. |
startAt | Creates a QueryStartAtConstraint that modifies the result set to
start at the provided document (inclusive). The starting position is relative
to the order of the query. The document must contain all of the fields
provided in the |
sum | Create an AggregateField object that can be used to compute the sum of a specified field over a range of documents in the result set of a query. |
terminate | Terminates the provided Firestore instance. |
updateDoc | Updates fields in the document referred to by the specified
|
vector | Creates a new |
waitForPendingWrites | Waits until all currently pending writes for the active user have been acknowledged by the backend. |
where | Creates a QueryFieldFilterConstraint that enforces that documents must contain the specified field and that the value should satisfy the relation constraint provided. |
writeBatch | Creates a write batch, used for performing multiple writes as a single atomic operation. The maximum number of writes allowed in a single WriteBatch is 500. |
AggregateSpec | Specifies a set of aggregations and their aliases. |
DocumentChange | A |
DocumentData | Document data (for use with {@link @firebase/firestore/lite#(setDoc:1)}) consists of fields mapped to values. |
ExperimentalLongPollingOptions | Options that configure the SDK’s underlying network transport (WebChannel) when long-polling is used. |
FirestoreDataConverter | Converter used by |
FirestoreSettings | Specifies custom configurations for your Cloud Firestore instance. You must set these before invoking any other methods. |
Index deprecated | The SDK definition of a Firestore index. |
IndexConfiguration deprecated | A list of Firestore indexes to speed up local query execution. |
IndexField deprecated | A single field element in an index configuration. |
LoadBundleTaskProgress | Represents a progress update or a final state from loading bundles. |
MemoryCacheSettings | An settings object to configure an |
MemoryEagerGarbageCollector | A garbage collector deletes documents whenever they are not part of any active queries, and have no local mutations attached to them. |
MemoryLocalCache | Provides an in-memory cache to the SDK. This is the default cache unless explicitly configured otherwise. |
MemoryLruGarbageCollector | A garbage collector deletes Least-Recently-Used documents in multiple batches. |
PersistenceSettings | Settings that can be passed to |
PersistentCacheSettings | An settings object to configure an |
PersistentLocalCache | Provides a persistent cache backed by IndexedDb to the SDK. |
PersistentMultipleTabManager | A tab manager supporting multiple tabs. SDK will synchronize queries and mutations done across all tabs using the SDK. |
PersistentSingleTabManager | A tab manager supporting only one tab, no synchronization will be performed across tabs. |
PersistentSingleTabManagerSettings | Type to configure an |
SnapshotListenOptions | An options object that can be passed to {@link (onSnapshot:1)} and QuerySnapshot.docChanges to control which types of changes to include in the result set. |
SnapshotOptions | Options that configure how data is retrieved from a |
TransactionOptions | Options to customize transaction behavior. |
Unsubscribe | A function returned by |
AddPrefixToKeys | Returns a new map where every key is prefixed with the outer key appended to a dot. |
AggregateFieldType | The union of all |
AggregateSpecData | A type whose keys are taken from an |
AggregateType | Union type representing the aggregate type to be performed. |
ChildUpdateFields | Helper for calculating the nested fields for a given type T1. This is needed
to distribute union types such as |
DocumentChangeType | The type of a |
EmulatorMockTokenOptions | |
FirestoreErrorCode | The set of Firestore status codes. The codes are the same at the ones exposed by gRPC here: https://github.com/grpc/grpc/blob/master/doc/statuscodes.md |
FirestoreLocalCache | Union type from all supported SDK cache layer. |
ListenSource | Describe the source a query listens to. |
LogLevel | |
MemoryGarbageCollector | Union type from all support garbage collectors for memory local cache. |
NestedUpdateFields | For each field (e.g. 'bar'), find all nested keys (e.g. {'bar.baz': T1, 'bar.qux': T2}). Intersect them together to make a single map containing all possible keys that are all marked as optional |
OrderByDirection | The direction of a orderBy clause is specified as 'desc' or 'asc' (descending or ascending). |
PartialWithFieldValue | Similar to TypeScript's |
PersistentTabManager | A union of all available tab managers. |
Primitive | Primitive types. |
QueryConstraintType | Describes the different query constraints available in this SDK. |
QueryFilterConstraint |
|
QueryNonFilterConstraint |
|
SetOptions | An options object that configures the behavior of {@link @firebase/firestore/lite#(setDoc:1)}, {@link |
TaskState | Represents the state of bundle loading tasks. |
UnionToIntersection | Given a union type |
UpdateData | Update data (for use with {@link (updateDoc:1)}) that consists of field paths (e.g. 'foo' or 'foo.baz') mapped to values. Fields that contain dots reference nested fields within the document. FieldValues can be passed in as property values. |
WhereFilterOp | Filter conditions in a where clause are specified using the strings '<', '<=', '==', '!=', '>=', '>', 'array-contains', 'in', 'array-contains-any', and 'not-in'. |
WithFieldValue | Allows FieldValues to be passed in as a property value while maintaining type safety. |