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.

Properties

Link copied to clipboard

the name of the collection that the operation will be performed on.

Link copied to clipboard

the document identifier that the operation will be performed on.

Link copied to clipboard
val objectMapper: ObjectMapper
Link copied to clipboard
val objectReader: ObjectReader
Link copied to clipboard
val writeTxn: SWIGTYPE_p_CWriteTransaction

Functions

Link copied to clipboard
fun evict(): Boolean

Evict the document with the matching identifier.

Link copied to clipboard

Execute the find operation to return the document with the matching identifier.

Link copied to clipboard

Remove the document with the matching identifier.

Link copied to clipboard

Update the document with the matching identifier.