class DittoWriteTransaction
DittoWriteTransaction() |
fun evictByID(collectionName: String, id: String): Unit
Evicts a document using its ID. |
|
fun insert(collectionName: String, vararg documents: Map<String, Any>): Unit
Inserts one or more documents. |
|
fun removeByID(collectionName: String, id: String): Unit
Removes a document using its ID. |
|
fun updateByID(collectionName: String, id: String, newDocument: Map<String, Any?>): Unit
Updates a document, referenced by its ID, with the data in the new document provided. |