OrderExpr appends the `ORDER BY` clause to the `SELECT` statement with custom list of expressions.
(exprs ...Querier)
| 2459 | // OrderExpr appends the `ORDER BY` clause to the `SELECT` |
| 2460 | // statement with custom list of expressions. |
| 2461 | func (s *Selector) OrderExpr(exprs ...Querier) *Selector { |
| 2462 | for i := range exprs { |
| 2463 | s.order = append(s.order, exprs[i]) |
| 2464 | } |
| 2465 | return s |
| 2466 | } |
| 2467 | |
| 2468 | // OrderExprFunc appends the `ORDER BY` expression that evaluates |
| 2469 | // the given function. |
no outgoing calls