src/ORM/Queries/SQLSelect.php
public function addSelect($fields)
    {
        if (func_num_args() > 1) {
            $fields = func_get_args();
        } elseif (!is_array($fields)) {
            $fields = array($fields);
        }
        foreach ($fields as $idx => $field) {
            $this->selectField($field, is_numeric($idx) ? null : $idx);
        }

        return $this;
    }
public function addSelect($fields)
    {
        if (func_num_args() > 1) {
            $fields = func_get_args();
        } elseif (!is_array($fields)) {
            $fields = array($fields);
        }
        foreach ($fields as $idx => $field) {
            $this->selectField($field, is_numeric($idx) ? null : $idx);
        }

        return $this;
    }
public function addSelect ( $ fields ) { if ( func_num_args ( ) > 1 ) { $ fields = func_get_args ( ) ; } elseif ( ! is_array ( $ fields ) ) { $ fields = array ( $ fields ) ; } foreach ( $ fields as $ idx => $ field ) { $ this -> selectField ( $ field , is_numeric ( $ idx ) ? null : $ idx ) ; } return $ this ; }
Add to the list of columns to be selected by the query.

@see setSelect for example usage

@param string|array $fields Field names should be ANSI SQL quoted. Array keys should be unquoted.
@return $this Self reference
Add to the list of columns to be selected by the query .