src/ORM/Connect/Database.php
public function dropSelectedDatabase()
    {
        $databaseName = $this->connector->getSelectedDatabase();
        if ($databaseName) {
            $this->connector->unloadDatabase();
            $this->schemaManager->dropDatabase($databaseName);
        }
    }
public function dropSelectedDatabase()
    {
        $databaseName = $this->connector->getSelectedDatabase();
        if ($databaseName) {
            $this->connector->unloadDatabase();
            $this->schemaManager->dropDatabase($databaseName);
        }
    }
public function dropSelectedDatabase ( ) { $ databaseName = $ this -> connector -> getSelectedDatabase ( ) ; if ( $ databaseName ) { $ this -> connector -> unloadDatabase ( ) ; $ this -> schemaManager -> dropDatabase ( $ databaseName ) ; } }
Drop the database that this object is currently connected to.
Use with caution.
Drop the database that this object is currently connected to . Use with caution .