Uses of Class
dev.morphia.UpdateOptions
-
Packages that use UpdateOptions Package Description dev.morphia -
-
Uses of UpdateOptions in dev.morphia
Methods in dev.morphia that return UpdateOptions Modifier and Type Method Description UpdateOptions
UpdateOptions. bypassDocumentValidation(java.lang.Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.UpdateOptions
UpdateOptions. collation(com.mongodb.client.model.Collation collation)
Sets the collationUpdateOptions
UpdateOptions. copy()
Create a copy of the options instance.UpdateOptions
UpdateOptions. multi(boolean multi)
Sets whether all documents matching the query filter will be removed.UpdateOptions
UpdateOptions. upsert(boolean isUpsert)
Set to true if a new document should be inserted if there are no matches to the query filter.UpdateOptions
UpdateOptions. writeConcern(com.mongodb.WriteConcern writeConcern)
Sets the write concernMethods in dev.morphia with parameters of type UpdateOptions Modifier and Type Method Description <T> UpdateResults
Datastore. update(Query<T> query, UpdateOperations<T> operations, UpdateOptions options)
Updates all entities found with the operations; this is an atomic operation per entity<T> UpdateResults
DatastoreImpl. update(Query<T> query, UpdateOperations<T> operations, UpdateOptions options)
Deprecated.
-