The DocumentReference instance.
The GeoFirestore for the Firestore database (useful for performing transactions, etc.).
The identifier of the document within its collection.
The native DocumentReference instance.
Attaches a listener for GeoDocumentSnapshot events. You may either pass individual onNext and onError callbacks.
An unsubscribe function that can be called to cancel the snapshot listener.
Attaches a listener for GeoDocumentSnapshot events. You may either pass individual onNext and onError callbacks.
A callback to be called every time a new GeoDocumentSnapshot is available.
A callback to be called if the listen fails or is cancelled. No further callbacks will occur.
An unsubscribe function that can be called to cancel the snapshot listener.
A reference to the GeoCollection to which this GeoDocumentReference belongs.
A string representing the path of the referenced document (relative to the root of the database).
Gets a GeoCollectionReference instance that refers to the collection at the specified path.
A slash-separated path to a collection.
The GeoCollectionReference instance.
Deletes the document referred to by this GeoDocumentReference.
A Promise resolved once the document has been successfully deleted from the backend (Note that it won't resolve while you're offline).
Reads the document referred to by this GeoDocumentReference.
Note: By default, get() attempts to provide up-to-date data when possible by waiting for data from the server, but it may return
cached data or fail if you are offline and the server cannot be reached. This behavior can be altered via the GetOptions parameter.
An object to configure the get behavior.
A Promise resolved with a GeoDocumentSnapshot containing the current document contents.
Returns true if this GeoDocumentReference is equal to the provided one.
The DocumentReference or GeoDocumentReference to compare against.
true if this DocumentReference or GeoDocumentReference is equal to the provided one.
Writes to the document referred to by this GeoDocumentReference. If the document does not yet exist, it will be created. If you pass
SetOptions, the provided data can be merged into an existing document.
A map of the fields and values for the document.
An object to configure the set behavior. Includes custom key for location in document.
A Promise resolved once the data has been successfully written to the backend (Note it won't resolve while you're offline).
Updates fields in the document referred to by this GeoDocumentReference. The update will fail if applied to a document that does not
exist.
An object containing the fields and values with which to update the document. Fields can contain dots to reference nested fields within the document.
The key of the document to use as the location. Otherwise we default to coordinates.
A Promise resolved once the data has been successfully written to the backend (Note it won't resolve while you're offline).
Generated using TypeDoc
A
GeoDocumentReferencerefers 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. AGeoDocumentReferencecan also be used to create aCollectionReferenceto a subcollection.