Uses of Class
com.datastax.astra.client.collections.commands.options.CollectionFindOneAndUpdateOptions
Package
Description
Top package to interact with Collections
Options and Inputs for Collections commands.
-
Uses of CollectionFindOneAndUpdateOptions in com.datastax.astra.client.collections
Modifier and TypeMethodDescriptionCollection.findOneAndUpdate
(Filter filter, Update update, CollectionFindOneAndUpdateOptions options) Atomically find a document and update it. -
Uses of CollectionFindOneAndUpdateOptions in com.datastax.astra.client.collections.commands.options
Modifier and TypeMethodDescriptionCollectionFindOneAndUpdateOptions.projection
(Projection... p) Adding this on top of projection(Projection[] p) to allow for a more fluent API.CollectionFindOneAndUpdateOptions.returnDocument
(ReturnDocument doc) Adding this on top of projection(Projection[] p) to allow for a more fluent API.Adding this on top of sort(Sort[] s) to allow for a more fluent API.