public function select($fields = '*')
    {
        $query = new Query\SelectQuery();

        if ($this->pdo) {
            $query->setPDO($this->pdo);
        }

        return $query->select($fields);
    }
public function select($fields = '*')
    {
        $query = new Query\SelectQuery();

        if ($this->pdo) {
            $query->setPDO($this->pdo);
        }

        return $query->select($fields);
    }
public function select ( $ fields = '*' ) { $ query = new Query \ SelectQuery ( ) ; if ( $ this -> pdo ) { $ query -> setPDO ( $ this -> pdo ) ; } return $ query -> select ( $ fields ) ; }
Creates a SELECT query.

@param string|array $fields select fields

@return \JAQB\Query\SelectQuery
Creates a SELECT query .