AppendSelect appends additional columns to the SELECT statement.
(columns ...string)
| 1764 | |
| 1765 | // AppendSelect appends additional columns to the SELECT statement. |
| 1766 | func (s *Selector) AppendSelect(columns ...string) *Selector { |
| 1767 | for i := range columns { |
| 1768 | s.selection = append(s.selection, selection{c: columns[i]}) |
| 1769 | } |
| 1770 | return s |
| 1771 | } |
| 1772 | |
| 1773 | // AppendSelectAs appends additional column to the SELECT statement with the given alias. |
| 1774 | func (s *Selector) AppendSelectAs(column, as string) *Selector { |
no outgoing calls