MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / Aggregate

Method Aggregate

ent/node_query.go:415–417  ·  view source on GitHub ↗

Aggregate returns a NodeSelect configured with the given aggregations.

(fns ...AggregateFunc)

Source from the content-addressed store, hash-verified

413
414// Aggregate returns a NodeSelect configured with the given aggregations.
415func (nq *NodeQuery) Aggregate(fns ...AggregateFunc) *NodeSelect {
416 return nq.Select().Aggregate(fns...)
417}
418
419func (nq *NodeQuery) prepareQuery(ctx context.Context) error {
420 for _, inter := range nq.inters {

Callers

nothing calls this directly

Calls 1

SelectMethod · 0.95

Tested by

no test coverage detected