ditto-lib / live.ditto / DittoCollection / updateByID

updateByID

fun updateByID(id: String, newDocument: Map<String, Any?>): Unit

Update a document with the values provided.

Parameters

id - the ID of the document to update.

newDocument - a map representation of the updates to make to the document.