updateFields

fun updateFields(documentRef: DocumentReference, fieldsAndValuesUpdateDSL: FieldsAndValuesUpdateDSL.() -> Unit): Transaction(source)

Updates Fields/FieldPath of a DocumentReference using a FieldsAndValuesUpdateDSL.

Parameters

documentRef

the DocumentReference to update

fieldsAndValuesUpdateDSL

closure for configuring the FieldsAndValuesUpdateDSL