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.
val collectionName: String
the name of the collection that the operation will be performed on. |
|
val dittoHandle: SWIGTYPE_p_Ditto |
|
val docID: String
the ID of the document that the operation will be performed on. |
|
val objectMapper: ObjectMapper |
|
val objectReader: ObjectReader |
|
val writeTxn: SWIGTYPE_p_Ditto_WriteTransaction |
fun evict(): Boolean
Evict the document with the matching ID. |
|
fun remove(): Boolean
Remove the document with the matching ID. |
|
fun update(closure: (DittoMutableDocument?) -> Unit): List<DittoUpdateResult> fun update(updater: DittoSingleMutableDocumentUpdater): List<DittoUpdateResult>
Update the document with the matching ID. |