code: public void dropDatabase() {
          try {
              getExecutor().execute(new DropDatabaseOperation(getName(), getWriteConcern()), getReadConcern());
          } catch (MongoWriteConcernException e) {
              throw createWriteConcernException(e);
          }
      }
docs: Drops this database. Removes all data on disk. Use with caution.
  
  @throws MongoException if the operation failed
  @mongodb.driver.manual reference/command/dropDatabase/ Drop Database