class DittoWriteTransactionPendingIDSpecificOperation
These objects are returned when using findByID functionality on DittoScopedWriteTransactions. You can use them to perform updates on a document and remove or evict a document.
collectionName |
the name of the collection that the operation will be performed on. val collectionName: String |
dittoHandle |
val dittoHandle: <ERROR CLASS> |
docID |
the ID of the document that the operation will be performed on. val docID: String |
objectMapper |
val objectMapper: ObjectMapper |
objectReader |
val objectReader: ObjectReader |
writeTxn |
val writeTxn: <ERROR CLASS> |
evict |
Evict the document with the matching ID. fun evict(): Boolean |
exec |
Execute the find operation to return the document with the matching ID. fun exec(): DittoDocument? |
remove |
Remove the document with the matching ID. fun remove(): Boolean |
update |
Update the document with the matching ID. fun update(closure: (DittoMutableDocument?) -> Unit): List<DittoUpdateResult> fun update(updater: DittoSingleMutableDocumentUpdater): List<DittoUpdateResult> |