Class DeleteManyModel<T>


  • public class DeleteManyModel<T>
    extends WriteModel<T>
    • Constructor Detail

      • DeleteManyModel

        public DeleteManyModel​(JsonObject filter)
        Construct a new instance.
        Parameters:
        filter - a document describing the query filter, which may not be null.
      • DeleteManyModel

        public DeleteManyModel​(JsonObject filter,
                               DeleteOptions options)
        Construct a new instance.
        Parameters:
        filter - a document describing the query filter, which may not be null.
        options - the options to apply
        Since:
        3.4
        Since server release
        3.4
    • Method Detail

      • getFilter

        public JsonObject getFilter()
        Gets the query filter.
        Returns:
        the query filter
      • getOptions

        public DeleteOptions getOptions()
        Gets the options to apply.
        Returns:
        the options
        Since:
        3.4