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

com.noenv.wiremongo.command.index.DropIndexCommand Maven / Gradle / Ivy

There is a newer version: 4.5.10
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy