update
inline fun update(documentRef: DocumentReference, data: Any, buildSettings: EncodeSettings.Builder.() -> Unit = {}): Transaction(source)
inline fun <T : Any> update(documentRef: DocumentReference, strategy: SerializationStrategy<T>, data: T, buildSettings: EncodeSettings.Builder.() -> Unit = {}): Transaction(source)
inline fun update(documentRef: DocumentReference, vararg fieldsAndValues: Pair<String, Any?>, buildSettings: EncodeSettings.Builder.() -> Unit = {}): Transaction(source)
inline fun update(documentRef: DocumentReference, vararg fieldsAndValues: Pair<FieldPath, Any?>, buildSettings: EncodeSettings.Builder.() -> Unit = {}): Transaction(source)
Deprecated
Deprecated. Use builder instead
Replace with
update(documentRef, data) { this.encodeDefaults = encodeDefaults }
Content copied to clipboard
fun <T : Any> update(documentRef: DocumentReference, strategy: SerializationStrategy<T>, data: T, encodeDefaults: Boolean): Transaction(source)
Deprecated
Deprecated. Use builder instead
Replace with
update(documentRef, strategy, data) { this.encodeDefaults = encodeDefaults }
Content copied to clipboard