Ditto Write Transaction Pending Id Specific Operation
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
Link copied to clipboard
Execute the find operation to return the document with the matching identifier.
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 identifier.