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

com.noenv.wiremongo.command.find.FindOneAndDeleteWithOptionsCommand Maven / Gradle / Ivy

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

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

public class FindOneAndDeleteWithOptionsCommand extends FindOneAndDeleteBaseCommand {

  private FindOptions options;

  public FindOneAndDeleteWithOptionsCommand(String collection, JsonObject query, FindOptions options) {
    super("findOneAndDeleteWithOptions", collection, query);
    this.options = options;
  }

  public FindOptions getOptions() {
    return options;
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy