Ditto Write Transaction Pending IDSpecific 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 ID.
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.