AppendSelectExpr appends additional expressions to the SELECT statement.
(exprs ...Querier)
| 1788 | |
| 1789 | // AppendSelectExpr appends additional expressions to the SELECT statement. |
| 1790 | func (s *Selector) AppendSelectExpr(exprs ...Querier) *Selector { |
| 1791 | for i := range exprs { |
| 1792 | s.selection = append(s.selection, selection{x: exprs[i]}) |
| 1793 | } |
| 1794 | return s |
| 1795 | } |
| 1796 | |
| 1797 | // AppendSelectExprAs appends additional expressions to the SELECT statement with the given name. |
| 1798 | func (s *Selector) AppendSelectExprAs(expr Querier, as string) *Selector { |
no outgoing calls