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 UpdateOptionsUpdateOptions. arrayFilter(Filter filter)Adds a new array filterUpdateOptionsUpdateOptions. arrayFilters(List<? extends Bson> arrayFilters)UpdateOptionsUpdateOptions. bypassDocumentValidation(Boolean bypassDocumentValidation)UpdateOptionsUpdateOptions. collation(Collation collation)UpdateOptionsUpdateOptions. collection(String collection)UpdateOptionsUpdateOptions. comment(String comment)UpdateOptionsUpdateOptions. comment(BsonValue comment)UpdateOptionsUpdateOptions. hint(Bson hint)UpdateOptionsUpdateOptions. hint(Document hint)UpdateOptionsUpdateOptions. hintString(String hint)UpdateOptionsUpdateOptions. let(Bson variables)UpdateOptionsUpdateOptions. multi(boolean multi)If true, sets this update to affect all matched documents.UpdateOptionsUpdateOptions. upsert(boolean upsert)UpdateOptionsUpdateOptions. writeConcern(WriteConcern writeConcern)Sets the write concernMethods in dev.morphia with parameters of type UpdateOptions Modifier and Type Method Description default <T> UpdateResultDatastore. 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> UpdateResultDatastoreImpl.DatastoreOperations. updateMany(MongoCollection<T> collection, Document queryObject, List<Document> updateOperations, UpdateOptions options)abstract <T> UpdateResultDatastoreImpl.DatastoreOperations. updateMany(MongoCollection<T> collection, Document queryObject, Document updateOperations, UpdateOptions options)abstract <T> UpdateResultDatastoreImpl.DatastoreOperations. updateOne(MongoCollection<T> collection, Document queryObject, List<Document> updateOperations, UpdateOptions options)abstract <T> UpdateResultDatastoreImpl.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 UpdateResultUpdate. execute(UpdateOptions options)Deprecated.Executes the updateUpdateResultLegacyQuery. update(UpdateOptions options, Stage... updates)Deprecated.UpdateResultLegacyQuery. update(UpdateOptions options, UpdateOperator... updates)Deprecated.UpdateResultMorphiaQuery. update(UpdateOptions options, Stage... updates)UpdateResultMorphiaQuery. update(UpdateOptions options, UpdateOperator... updates)default UpdateResultQuery. update(UpdateOptions options, Stage... updates)Creates an update operation based on this querydefault UpdateResultQuery. update(UpdateOptions options, UpdateOperator... updates)Creates an update operation based on this query
-