Uses of Class
com.datastax.astra.client.collections.commands.results.CollectionUpdateResult
Packages that use CollectionUpdateResult
-
Uses of CollectionUpdateResult in com.datastax.astra.client.collections
Methods in com.datastax.astra.client.collections that return CollectionUpdateResultModifier and TypeMethodDescriptionCollection.replaceOne
(Filter filter, T replacement) Replace a single document on the collection with a new one, optionally inserting a new document if no match is found.Collection.replaceOne
(Filter filter, T replacement, CollectionReplaceOneOptions collectionReplaceOneOptions) Replace a document in the collection according to the specified arguments.Collection.updateMany
(Filter filter, Update update) Update all documents in the collection according to the specified arguments.Collection.updateMany
(Filter filter, Update update, CollectionUpdateManyOptions options) Update all documents in the collection according to the specified arguments.Update a single document in the collection according to the specified arguments.Collection.updateOne
(Filter filter, Update update, UpdateOneOptions updateOptions) Update a single document in the collection according to the specified arguments.