Aggregate returns a SettingSelect configured with the given aggregations.
(fns ...AggregateFunc)
| 300 | |
| 301 | // Aggregate returns a SettingSelect configured with the given aggregations. |
| 302 | func (sq *SettingQuery) Aggregate(fns ...AggregateFunc) *SettingSelect { |
| 303 | return sq.Select().Aggregate(fns...) |
| 304 | } |
| 305 | |
| 306 | func (sq *SettingQuery) prepareQuery(ctx context.Context) error { |
| 307 | for _, inter := range sq.inters { |