setData
inline fun <T : Any> DocumentReference.setData(data: T): <Error class: unknown class><Nothing?>(source)
Writes data, a map of field values or a @Serializable class, replacing the document (see DocumentReference.set). The data is mapped by the format with its static type, so a generic class maps too; an Any maps by its runtime type.
inline fun <T : Any> DocumentReference.setData(data: T, options: SetOptions): <Error class: unknown class><Nothing?>(source)
Writes data (see setData) according to options.
inline fun <T : Any> Transaction.setData(documentRef: DocumentReference, data: T): Transaction(source)
Writes data (see DocumentReference.setData) to documentRef in the transaction.
inline fun <T : Any> Transaction.setData(documentRef: DocumentReference, data: T, options: SetOptions): Transaction(source)
Writes data (see DocumentReference.setData) to documentRef in the transaction according to options.
inline fun <T : Any> WriteBatch.setData(documentRef: DocumentReference, data: T): WriteBatch(source)
Writes data (see DocumentReference.setData) to documentRef in the batch.
inline fun <T : Any> WriteBatch.setData(documentRef: DocumentReference, data: T, options: SetOptions): WriteBatch(source)
Writes data (see DocumentReference.setData) to documentRef in the batch according to options.