DittoWriteTransactionPendingCursorOperation

These objects are returned when using find-like 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
var limit: Int
Link copied to clipboard
val objectMapper: ObjectMapper
Link copied to clipboard
val objectReader: ObjectReader
Link copied to clipboard
var offset: Int
Link copied to clipboard
var orderByDefinitions: MutableList<COrderByParam_t>
Link copied to clipboard

the query to be used to find matching documents.

Link copied to clipboard
Link copied to clipboard
val writeTxn: SWIGTYPE_p_CWriteTransaction

Functions

Link copied to clipboard

Evict all documents that match the query generated by the preceding function chaining.

Link copied to clipboard

Execute the query generated by the preceding function chaining and return the list of matching documents.

Link copied to clipboard

Limit the number of documents that get returned when querying a collection for matching documents.

Link copied to clipboard

Offset the resulting set of matching documents. This is useful if you aren't interested in the first N matching documents for one reason or another. For example, you might already have queried the collection and obtained the first 20 matching documents and so you might want to run the same query as you did previously but ignore the first 20 matching documents, and that is where you would use offset.

Link copied to clipboard

Remove all documents that match the query generated by the preceding function chaining.

Link copied to clipboard

Sort the documents that match the query provided in the preceding find-like function call.

Link copied to clipboard

Update documents that match the query generated by the preceding function chaining.