Aggregate adds the given aggregation functions to the selector query.
(fns ...AggregateFunc)
| 570 | |
| 571 | // Aggregate adds the given aggregation functions to the selector query. |
| 572 | func (ns *NodeSelect) Aggregate(fns ...AggregateFunc) *NodeSelect { |
| 573 | ns.fns = append(ns.fns, fns...) |
| 574 | return ns |
| 575 | } |
| 576 | |
| 577 | // Scan applies the selector query and scans the result into the given value. |
| 578 | func (ns *NodeSelect) Scan(ctx context.Context, v any) error { |
nothing calls this directly
no outgoing calls
no test coverage detected