OrderBy adds ORDER BY expressions to the query.
(orderBys ...string)
| 365 | |
| 366 | // OrderBy adds ORDER BY expressions to the query. |
| 367 | func (b SelectBuilder) OrderBy(orderBys ...string) SelectBuilder { |
| 368 | for _, orderBy := range orderBys { |
| 369 | b = b.OrderByClause(orderBy) |
| 370 | } |
| 371 | |
| 372 | return b |
| 373 | } |
| 374 | |
| 375 | // Limit sets a LIMIT clause on the query. |
| 376 | func (b SelectBuilder) Limit(limit uint64) SelectBuilder { |
nothing calls this directly
no test coverage detected