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