private function getDbName() {
        if (!isset($this->dbname)) {
            $this->dbname = $this->getPDO()->query('select database()')->fetchColumn();
        }
        return $this->dbname;
    }
private function getDbName() {
        if (!isset($this->dbname)) {
            $this->dbname = $this->getPDO()->query('select database()')->fetchColumn();
        }
        return $this->dbname;
    }
private function getDbName ( ) { if ( ! isset ( $ this -> dbname ) ) { $ this -> dbname = $ this -> getPDO ( ) -> query ( 'select database()' ) -> fetchColumn ( ) ; } return $ this -> dbname ; }
Get the current database name.

@return mixed
Get the current database name .