Class CountCollectionByNameStatement

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

public class CountCollectionByNameStatement extends ListCollectionNamesStatement implements NoSqlQueryForLongStatement<MongoLiquibaseDatabase>
Queries the database for the number of collections that match the supplied collectionName i.e returns 1 if the collection is present; else 0