protected function hasTablesOrViews()
    {
        $tables = $this->db->query('SHOW TABLES', DbAdapter::QUERY_MODE_EXECUTE);

        return (bool) count($tables);
    }
protected function hasTablesOrViews()
    {
        $tables = $this->db->query('SHOW TABLES', DbAdapter::QUERY_MODE_EXECUTE);

        return (bool) count($tables);
    }
protected function hasTablesOrViews ( ) { $ tables = $ this -> db -> query ( 'SHOW TABLES' , DbAdapter :: QUERY_MODE_EXECUTE ) ; return ( bool ) count ( $ tables ) ; }
Checks for existing tables in the database

@return boolean Whether or not there are existing tables
Checks for existing tables in the database