Granada\ORM::select PHP Method

select() public method

Add a column to the list of columns returned by the SELECT query. This defaults to '*'. The second optional argument is the alias to return the column as.
public select ( $column, string $alias = null )
$alias string
    public function select($column, $alias = null)
    {
        $columns = array_map('trim', explode(',', $column));
        foreach ($columns as $column) {
            $column = $this->_quote_identifier($column);
            $this->_add_result_column($column, $alias);
        }
        return $this;
    }
ORM