Aggregate returns a EventSelect configured with the given aggregations.
(fns ...AggregateFunc)
| 337 | |
| 338 | // Aggregate returns a EventSelect configured with the given aggregations. |
| 339 | func (_q *EventQuery) Aggregate(fns ...AggregateFunc) *EventSelect { |
| 340 | return _q.Select().Aggregate(fns...) |
| 341 | } |
| 342 | |
| 343 | func (_q *EventQuery) prepareQuery(ctx context.Context) error { |
| 344 | for _, inter := range _q.inters { |