All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.noenv.wiremongo.command.remove.RemoveDocumentWithOptionsCommand Maven / Gradle / Ivy

There is a newer version: 4.5.10
Show newest version
package com.noenv.wiremongo.command.remove;

import io.vertx.core.json.JsonObject;
import io.vertx.ext.mongo.WriteOption;

public class RemoveDocumentWithOptionsCommand extends RemoveDocumentBaseCommand {

  private final WriteOption options;

  public RemoveDocumentWithOptionsCommand(String collection, JsonObject query, WriteOption options) {
    super("removeDocumentWithOptions", collection, query);
    this.options = options;
  }

  public WriteOption getOptions() {
    return options;
  }

  @Override
  public String toString() {
    return super.toString() + ", options: " + (options != null ? options.name() : "null");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy