com.noenv.wiremongo.command.find.FindOneAndUpdateBaseCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-wiremongo Show documentation
Show all versions of vertx-wiremongo Show documentation
Lightweight mongo mocking for Vert.x
package com.noenv.wiremongo.command.find;
import com.noenv.wiremongo.command.update.WithUpdateCommand;
import io.vertx.core.json.JsonObject;
public class FindOneAndUpdateBaseCommand extends WithUpdateCommand {
public FindOneAndUpdateBaseCommand(String collection, JsonObject query, JsonObject update) {
this("findOneAndUpdate", collection, query, update);
}
public FindOneAndUpdateBaseCommand(String method, String collection, JsonObject query, JsonObject update) {
super(method, collection, query, update);
}
}