Aggregate adds the given aggregation functions to the selector query.
(fns ...AggregateFunc)
| 570 | |
| 571 | // Aggregate adds the given aggregation functions to the selector query. |
| 572 | func (ts *TaskSelect) Aggregate(fns ...AggregateFunc) *TaskSelect { |
| 573 | ts.fns = append(ts.fns, fns...) |
| 574 | return ts |
| 575 | } |
| 576 | |
| 577 | // Scan applies the selector query and scans the result into the given value. |
| 578 | func (ts *TaskSelect) Scan(ctx context.Context, v any) error { |
nothing calls this directly
no outgoing calls
no test coverage detected