Transaction

external interface Transaction

Functions

Link copied to clipboard
abstract fun delete(documentReference: DocumentReference): Transaction
Link copied to clipboard
abstract fun get(documentReference: DocumentReference): Promise<DocumentSnapshot>
Link copied to clipboard
abstract fun set(documentReference: DocumentReference, data: Any, options: Any? = definedExternally): Transaction
Link copied to clipboard
abstract fun update(documentReference: DocumentReference, data: Any): Transaction
abstract fun update(documentReference: DocumentReference, field: FieldPath, value: Any?, vararg moreFieldsAndValues: Any?): Transaction
abstract fun update(documentReference: DocumentReference, field: String, value: Any?, vararg moreFieldsAndValues: Any?): Transaction