public function deleteDatabase($name)
    {
        try {
            Database::delete($this->getConnection(), $name);

            return true;
        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new DatabaseManagerException($normalised['message'], $normalised['code']);
        }
    }
public function deleteDatabase($name)
    {
        try {
            Database::delete($this->getConnection(), $name);

            return true;
        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new DatabaseManagerException($normalised['message'], $normalised['code']);
        }
    }
public function deleteDatabase ( $ name ) { try { Database :: delete ( $ this -> getConnection ( ) , $ name ) ; return true ; } catch ( \ Exception $ e ) { $ normalised = $ this -> _toolbox -> normaliseDriverExceptions ( $ e ) ; throw new DatabaseManagerException ( $ normalised [ 'message' ] , $ normalised [ 'code' ] ) ; } }
Delete a database.
@param  string                   $name The name of the database.
@throws DatabaseManagerException
Delete a database .