Transaction
A transaction, mirroring com.google.firebase.firestore.Transaction from the Firebase Android SDK: the writes are applied atomically when the Function returns. Reads inside a transaction (get) are synchronous on Android, the JVM and Apple platforms and are declared in the nonJs source set, as the JS SDK only reads asynchronously.
A transaction, mirroring com.google.firebase.firestore.Transaction from the Firebase Android SDK: the writes are applied atomically when the Function returns. Reads inside a transaction (get) are synchronous on Android, the JVM and Apple platforms and are declared in the nonJs source set, as the JS SDK only reads asynchronously.
Types
The body of a transaction; may throw FirebaseFirestoreException to fail it.
The body of a transaction; may throw FirebaseFirestoreException to fail it.
The body of a transaction; may throw FirebaseFirestoreException to fail it.
The body of a transaction; may throw FirebaseFirestoreException to fail it.
The body of a transaction; may throw FirebaseFirestoreException to fail it.
Properties
Functions
Deletes documentRef.
Deletes documentRef.
Deletes documentRef.
Deletes documentRef.
Deletes documentRef.
Reads documentRef inside the transaction. The JS SDK reads inside a transaction asynchronously, so on JS this throws UnsupportedOperationException: code that also targets JS uses the suspending io.github.corneloaie.firebase.firestore.Transaction.get instead.
Reads documentRef inside the transaction; the nonJsMain Transaction.get extension.
Reads documentRef inside the transaction. The JS SDK reads inside a transaction asynchronously, so on JS this throws UnsupportedOperationException: code that also targets JS uses the suspending io.github.corneloaie.firebase.firestore.Transaction.get instead.
Throws: the JS SDK reads inside a transaction asynchronously; use the suspending io.github.corneloaie.firebase.firestore.Transaction.get.
Throws: the JS SDK reads inside a transaction asynchronously; use the suspending io.github.corneloaie.firebase.firestore.Transaction.get.
Writes data (a map of field values) to documentRef, replacing the document.
Writes data (a map of field values) to documentRef according to options.
Writes data (a map of field values) to documentRef, replacing the document.
Writes data (a map of field values) to documentRef according to options.
Writes data (a map of field values) to documentRef, replacing the document.
Writes data (a map of field values) to documentRef according to options.
Writes data (a map of field values) to documentRef, replacing the document.
Writes data (a map of field values) to documentRef according to options.
Writes data (a map of field values) to documentRef, replacing the document.
Writes data (a map of field values) to documentRef according to options.
Updates the fields in data of documentRef; fails if the document does not exist.
Updates fieldPath of documentRef to value and the further field path/value pairs in moreFieldsAndValues.
Updates field of documentRef to value and the further field/value pairs in moreFieldsAndValues.
Updates the fields in data of documentRef; fails if the document does not exist.
Updates fieldPath of documentRef to value and the further field path/value pairs in moreFieldsAndValues.
Updates field of documentRef to value and the further field/value pairs in moreFieldsAndValues.
Updates the fields in data of documentRef; fails if the document does not exist.
Updates fieldPath of documentRef to value and the further field path/value pairs in moreFieldsAndValues.
Updates field of documentRef to value and the further field/value pairs in moreFieldsAndValues.
Updates the fields in data of documentRef; fails if the document does not exist.
Updates fieldPath of documentRef to value and the further field path/value pairs in moreFieldsAndValues.
Updates field of documentRef to value and the further field/value pairs in moreFieldsAndValues.
Updates the fields in data of documentRef; fails if the document does not exist.
Updates fieldPath of documentRef to value and the further field path/value pairs in moreFieldsAndValues.
Updates field of documentRef to value and the further field/value pairs in moreFieldsAndValues.