The Transaction
instance.
Key to use for GeoPoints in a transaction.
The native Transaction
instance.
Deletes the document referred to by the provided GeoDocumentReference
or DocumentReference
.
A reference to the document to be deleted.
This GeoTransaction
instance. Used for chaining method calls.
Reads the document referenced by the provided GeoDocumentReference
or DocumentReference
.
A reference to the document to be read.
A GeoDocumentSnapshot for the read data.
Writes to the document referred to by the provided GeoDocumentReference
or DocumentReference
.
If the document does not exist yet, it will be created. If you pass SetOptions
,
the provided data can be merged into the existing document.
A reference to the document to be set.
An object of the fields and values for the document.
An object to configure the set behavior. Includes custom key for location in document.
This GeoTransaction
instance. Used for chaining method calls.
Updates fields in the document referred to by the provided GeoDocumentReference
or DocumentReference
.
The update will fail if applied to a document that does not exist.
A reference to the document to be updated.
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
.
This GeoTransaction
instance. Used for chaining method calls.
Generated using TypeDoc
A reference to a transaction. The
GeoTransaction
object passed to a transaction's updateFunction provides the methods to read and write data within the transaction context. SeeGeoFirestore.runTransaction()
.