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