framework/Dbal/Query.php
public function column($column = '*')
    {
        if ('*' == $column) {
            $this->columns = ['*'];
        } else {
            $columns = $this->prepareNames(func_get_args());
            $this->columns = array_merge(
                empty($this->columns) || ['*'] == $this->columns ? [] : $this->columns,
                array_values(array_diff($columns, ['*']))
            );
        }
        return $this;
    }
public function column($column = '*')
    {
        if ('*' == $column) {
            $this->columns = ['*'];
        } else {
            $columns = $this->prepareNames(func_get_args());
            $this->columns = array_merge(
                empty($this->columns) || ['*'] == $this->columns ? [] : $this->columns,
                array_values(array_diff($columns, ['*']))
            );
        }
        return $this;
    }
public function column ( $ column = '*' ) { if ( '*' == $ column ) { $ this -> columns = [ '*' ] ; } else { $ columns = $ this -> prepareNames ( func_get_args ( ) ) ; $ this -> columns = array_merge ( empty ( $ this -> columns ) || [ '*' ] == $ this -> columns ? [ ] : $ this -> columns , array_values ( array_diff ( $ columns , [ '*' ] ) ) ) ; } return $ this ; }
Add one column name to query
@param mixed $column
@return $this
Add one column name to query