Class MongoDelete
java.lang.Object
io.micronaut.data.mongodb.operations.MongoDelete
The MongoDB's delete many command.
- Since:
- 3.3.0
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorDescriptionMongoDelete
(@NonNull org.bson.conversions.Bson filter, @NonNull com.mongodb.client.model.DeleteOptions options) The default constructor. -
Method Summary
Modifier and TypeMethodDescription@NonNull org.bson.conversions.Bson
@NonNull com.mongodb.client.model.DeleteOptions
-
Constructor Details
-
MongoDelete
public MongoDelete(@NonNull @NonNull org.bson.conversions.Bson filter, @NonNull @NonNull com.mongodb.client.model.DeleteOptions options) The default constructor.- Parameters:
filter
- The delete filteroptions
- The options
-
-
Method Details
-
getFilter
@NonNull public @NonNull org.bson.conversions.Bson getFilter() -
getOptions
@NonNull public @NonNull com.mongodb.client.model.DeleteOptions getOptions()
-