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)
@JvmName(name = "updateFields")
inline fun update(documentRef: DocumentReference, vararg fieldsAndValues: Pair<String, Any?>, buildSettings: EncodeSettings.Builder.() -> Unit = {}): Transaction(source)
@JvmName(name = "updateFieldPaths")
inline fun update(documentRef: DocumentReference, vararg fieldsAndValues: Pair<FieldPath, Any?>, buildSettings: EncodeSettings.Builder.() -> Unit = {}): Transaction(source)


fun update(documentRef: DocumentReference, data: Any, encodeDefaults: Boolean): Transaction(source)

Deprecated

Deprecated. Use builder instead

Replace with

update(documentRef, data) { this.encodeDefaults = encodeDefaults }

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 }