OrderBySum returns an ordering by the sum of the given field.
(field string, opts ...OrderTermOption)
| 361 | |
| 362 | // OrderBySum returns an ordering by the sum of the given field. |
| 363 | func OrderBySum(field string, opts ...OrderTermOption) *OrderExprTerm { |
| 364 | return orderByAgg("SUM", field, opts...) |
| 365 | } |
| 366 | |
| 367 | // OrderByCount returns an ordering by the count of the given field. |
| 368 | func OrderByCount(field string, opts ...OrderTermOption) *OrderExprTerm { |
searching dependent graphs…