Class DropCollectionStatement

All Implemented Interfaces:
NoSqlExecuteStatement<MongoLiquibaseDatabase>, liquibase.statement.SqlStatement

public class DropCollectionStatement extends AbstractRunCommandStatement implements NoSqlExecuteStatement<MongoLiquibaseDatabase>
Drops a collection via the database runCommand method For a list of supported options see the reference page:
See Also:
  • Field Details

  • Constructor Details

    • DropCollectionStatement

      public DropCollectionStatement(String collectionName)
    • DropCollectionStatement

      public DropCollectionStatement(String collectionName, org.bson.Document options)
  • Method Details