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