updateData

fun DocumentReference.updateData(data: Map<String, Any?>): <Error class: unknown class><Nothing?>(source)

Updates the fields in data, each a field value or a @Serializable class mapped by the format (see DocumentReference.update).


Updates the fields in data (see DocumentReference.updateData) of documentRef in the transaction.


Updates the fields in data (see DocumentReference.updateData) of documentRef in the batch.