Uses of Class
dev.morphia.UpdateOptions
-
Packages that use UpdateOptions Package Description dev.morphia dev.morphia.query -
-
Uses of UpdateOptions in dev.morphia
Methods in dev.morphia that return UpdateOptions Modifier and Type Method Description UpdateOptions
UpdateOptions. arrayFilter(Filter filter)
Adds a new array filterUpdateOptions
UpdateOptions. arrayFilters(List<? extends Bson> arrayFilters)
UpdateOptions
UpdateOptions. bypassDocumentValidation(Boolean bypassDocumentValidation)
UpdateOptions
UpdateOptions. collation(Collation collation)
UpdateOptions
UpdateOptions. collection(String collection)
UpdateOptions
UpdateOptions. comment(String comment)
UpdateOptions
UpdateOptions. comment(BsonValue comment)
UpdateOptions
UpdateOptions. hint(Bson hint)
UpdateOptions
UpdateOptions. hint(Document hint)
UpdateOptions
UpdateOptions. hintString(String hint)
UpdateOptions
UpdateOptions. let(Bson variables)
UpdateOptions
UpdateOptions. multi(boolean multi)
If true, sets this update to affect all matched documents.UpdateOptions
UpdateOptions. upsert(boolean upsert)
UpdateOptions
UpdateOptions. writeConcern(WriteConcern writeConcern)
Sets the write concernMethods in dev.morphia with parameters of type UpdateOptions Modifier and Type Method Description default <T> UpdateResult
Datastore. update(Query<T> query, UpdateOperations<T> operations, UpdateOptions options)
Deprecated, for removal: This API element is subject to removal in a future version.useQuery.update(UpdateOperator, UpdateOperator...)
insteadabstract <T> UpdateResult
DatastoreImpl.DatastoreOperations. updateMany(MongoCollection<T> collection, Document queryObject, List<Document> updateOperations, UpdateOptions options)
abstract <T> UpdateResult
DatastoreImpl.DatastoreOperations. updateMany(MongoCollection<T> collection, Document queryObject, Document updateOperations, UpdateOptions options)
abstract <T> UpdateResult
DatastoreImpl.DatastoreOperations. updateOne(MongoCollection<T> collection, Document queryObject, List<Document> updateOperations, UpdateOptions options)
abstract <T> UpdateResult
DatastoreImpl.DatastoreOperations. updateOne(MongoCollection<T> collection, Document queryObject, Document updateOperations, UpdateOptions options)
-
Uses of UpdateOptions in dev.morphia.query
Methods in dev.morphia.query with parameters of type UpdateOptions Modifier and Type Method Description UpdateResult
Update. execute(UpdateOptions options)
Deprecated.Executes the updateUpdateResult
LegacyQuery. update(UpdateOptions options, Stage... updates)
Deprecated.UpdateResult
LegacyQuery. update(UpdateOptions options, UpdateOperator... updates)
Deprecated.default UpdateResult
Query. update(UpdateOptions options, Stage... updates)
Creates an update operation based on this querydefault UpdateResult
Query. update(UpdateOptions options, UpdateOperator... updates)
Creates an update operation based on this query
-