protected function checkTable()
    {
        $data = Query::from('information_schema.tables', false)
            ->select('*')
            ->where('TABLE_SCHEMA', '=', Config::get('database.database'))
            ->andwhere('TABLE_NAME', '=', $this->_prifixTable)
            ->get(Query::GET_ARRAY);
        //
        return (Table::count($data) > 0) ? true : false;
    }
protected function checkTable()
    {
        $data = Query::from('information_schema.tables', false)
            ->select('*')
            ->where('TABLE_SCHEMA', '=', Config::get('database.database'))
            ->andwhere('TABLE_NAME', '=', $this->_prifixTable)
            ->get(Query::GET_ARRAY);
        //
        return (Table::count($data) > 0) ? true : false;
    }
protected function checkTable ( ) { $ data = Query :: from ( 'information_schema.tables' , false ) -> select ( '*' ) -> where ( 'TABLE_SCHEMA' , '=' , Config :: get ( 'database.database' ) ) -> andwhere ( 'TABLE_NAME' , '=' , $ this -> _prifixTable ) -> get ( Query :: GET_ARRAY ) ; // return ( Table :: count ( $ data ) > 0 ) ? true : false ; }
Check if table exists in database.

@param $table string

@return bool
Check if table exists in database .