update

inline fun <T : Any> update(documentRef: DocumentReference, data: T, buildSettings: EncodeSettings.Builder.() -> Unit = {}): WriteBatch(source)
inline fun <T : Any> update(documentRef: DocumentReference, strategy: SerializationStrategy<T>, data: T, buildSettings: EncodeSettings.Builder.() -> Unit = {}): WriteBatch(source)
@JvmName(name = "updateField")
inline fun update(documentRef: DocumentReference, vararg fieldsAndValues: Pair<String, Any?>, buildSettings: EncodeSettings.Builder.() -> Unit = {}): WriteBatch(source)
@JvmName(name = "updateFieldPath")
inline fun update(documentRef: DocumentReference, vararg fieldsAndValues: Pair<FieldPath, Any?>, buildSettings: EncodeSettings.Builder.() -> Unit = {}): WriteBatch(source)


inline fun <T : Any> update(documentRef: DocumentReference, data: T, encodeDefaults: Boolean): WriteBatch(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): WriteBatch(source)

Deprecated

Deprecated. Use builder instead

Replace with

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