Class MongoDelete

java.lang.Object
io.micronaut.data.mongodb.operations.MongoDelete

public final class MongoDelete extends Object
The MongoDB's delete many command.
Since:
3.3.0
Author:
Denis Stepanov
  • Constructor Summary

    Constructors
    Constructor
    Description
    MongoDelete(@NonNull org.bson.conversions.Bson filter, @NonNull com.mongodb.client.model.DeleteOptions options)
    The default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull org.bson.conversions.Bson
     
    @NonNull com.mongodb.client.model.DeleteOptions
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 filter
      options - The options
  • Method Details

    • getFilter

      @NonNull public @NonNull org.bson.conversions.Bson getFilter()
    • getOptions

      @NonNull public @NonNull com.mongodb.client.model.DeleteOptions getOptions()