Aggregate returns a AlertSelect configured with the given aggregations.
(fns ...AggregateFunc)
| 447 | |
| 448 | // Aggregate returns a AlertSelect configured with the given aggregations. |
| 449 | func (_q *AlertQuery) Aggregate(fns ...AggregateFunc) *AlertSelect { |
| 450 | return _q.Select().Aggregate(fns...) |
| 451 | } |
| 452 | |
| 453 | func (_q *AlertQuery) prepareQuery(ctx context.Context) error { |
| 454 | for _, inter := range _q.inters { |