You are here

public function Drush::drop_or_create in MongoDB 8

File

drivers/lib/Drupal/Driver/Database/mongodb/Drush.php, line 35

Class

Drush

Namespace

Drupal\Driver\Database\mongodb

Code

public function drop_or_create() {
  $this
    ->query("db.dropDatabase()");
}