Aggregate returns a GitCommitSelect configured with the given aggregations.
(fns ...AggregateFunc)
| 342 | |
| 343 | // Aggregate returns a GitCommitSelect configured with the given aggregations. |
| 344 | func (gcq *GitCommitQuery) Aggregate(fns ...AggregateFunc) *GitCommitSelect { |
| 345 | return gcq.Select().Aggregate(fns...) |
| 346 | } |
| 347 | |
| 348 | func (gcq *GitCommitQuery) prepareQuery(ctx context.Context) error { |
| 349 | for _, inter := range gcq.inters { |