public function select($columns)
    {
        settype($columns, 'array');
        $this->columns = array_unique(array_merge($this->columns, $columns));
        $this->operation = array('type' => self::QUERY_SELECT_DEFAULT, 'value' => '');

        return $this;
    }
public function select($columns)
    {
        settype($columns, 'array');
        $this->columns = array_unique(array_merge($this->columns, $columns));
        $this->operation = array('type' => self::QUERY_SELECT_DEFAULT, 'value' => '');

        return $this;
    }
public function select ( $ columns ) { settype ( $ columns , 'array' ) ; $ this -> columns = array_unique ( array_merge ( $ this -> columns , $ columns ) ) ; $ this -> operation = array ( 'type' => self :: QUERY_SELECT_DEFAULT , 'value' => '' ) ; return $ this ; }
Built a select query.

@param array|string $columns A string or an array of column names

@return AnDomainQuery
Built a select query .