framework/Dbal/Query.php
public function columns($columns = '*')
    {
        if ('*' == $columns) {
            $this->columns = ['*'];
        } else {
            $columns = $this->prepareNames(func_get_args());
            $this->columns = array_values(array_diff($columns, ['*']));
        }
        return $this;
    }
public function columns($columns = '*')
    {
        if ('*' == $columns) {
            $this->columns = ['*'];
        } else {
            $columns = $this->prepareNames(func_get_args());
            $this->columns = array_values(array_diff($columns, ['*']));
        }
        return $this;
    }
public function columns ( $ columns = '*' ) { if ( '*' == $ columns ) { $ this -> columns = [ '*' ] ; } else { $ columns = $ this -> prepareNames ( func_get_args ( ) ) ; $ this -> columns = array_values ( array_diff ( $ columns , [ '*' ] ) ) ; } return $ this ; }
Set all query's columns
@param mixed $columns
@return $this
Set all query s columns