com.noenv.wiremongo.command.index.DropIndexCommand 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.index;
import com.noenv.wiremongo.command.collection.WithCollectionCommand;
public class DropIndexCommand extends WithCollectionCommand {
private final String name;
public DropIndexCommand(String collection, String name) {
super("dropIndex", collection);
this.name = name;
}
public String getName() {
return name;
}
@Override
public String toString() {
return super.toString() + ", name: " + name;
}
}