Uses of Class
dev.morphia.DeleteOptions
-
Packages that use DeleteOptions Package Description dev.morphia dev.morphia.query -
-
Uses of DeleteOptions in dev.morphia
Methods in dev.morphia that return DeleteOptions Modifier and Type Method Description DeleteOptionsDeleteOptions. collation(Collation collation)DeleteOptionsDeleteOptions. collection(String collection)Sets the alternate collection to use for the operation.DeleteOptionsDeleteOptions. comment(String comment)DeleteOptionsDeleteOptions. comment(BsonValue comment)DeleteOptionsDeleteOptions. hint(Bson hint)DeleteOptionsDeleteOptions. hint(Document hint)DeleteOptionsDeleteOptions. hintString(String hint)DeleteOptionsDeleteOptions. let(Bson variables)DeleteOptionsDeleteOptions. multi(boolean multi)DeleteOptionsDeleteOptions. writeConcern(WriteConcern writeConcern)Sets the write concernMethods in dev.morphia with parameters of type DeleteOptions Modifier and Type Method Description default <T> DeleteResultDatastore. delete(Query<T> query, DeleteOptions options)Deprecated, for removal: This API element is subject to removal in a future version.useQuery.delete(DeleteOptions)instead<T> DeleteResultDatastore. delete(T entity, DeleteOptions options)Deletes the given entity (by @Id), with the WriteConcern<T> DeleteResultDatastoreImpl. delete(T entity, DeleteOptions options)Deletes the given entity (by @Id), with the WriteConcernabstract <T> DeleteResultDatastoreImpl.DatastoreOperations. deleteMany(MongoCollection<T> collection, Document queryDocument, DeleteOptions options)abstract <T> DeleteResultDatastoreImpl.DatastoreOperations. deleteOne(MongoCollection<T> collection, Document queryDocument, DeleteOptions options)Constructors in dev.morphia with parameters of type DeleteOptions Constructor Description DeleteOptions(DeleteOptions that) -
Uses of DeleteOptions in dev.morphia.query
Methods in dev.morphia.query with parameters of type DeleteOptions Modifier and Type Method Description DeleteResultLegacyQuery. delete(DeleteOptions options)Deprecated.DeleteResultMorphiaQuery. delete(DeleteOptions options)DeleteResultQuery. delete(DeleteOptions options)Deletes documents matching this query.
-