Ditto Write Transaction Pending IDSpecific Operation
class DittoWriteTransactionPendingIDSpecificOperation
Content copied to clipboard
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.
Functions
exec
Link copied to clipboard
Execute the find operation to return the document with the matching ID.
update
Link copied to clipboard
fun update(closure: (DittoMutableDocument?) -> Unit): List<DittoUpdateResult>
Content copied to clipboard
fun update(updater: DittoSingleMutableDocumentUpdater): List<DittoUpdateResult>
Content copied to clipboard
Update the document with the matching ID.
Properties
collectionName
Link copied to clipboard
dittoHandle
Link copied to clipboard
docID
Link copied to clipboard
objectMapper
Link copied to clipboard
objectReader
Link copied to clipboard