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

Method Aggregate

ent/gitcommit_query.go:344–346  ·  view source on GitHub ↗

Aggregate returns a GitCommitSelect configured with the given aggregations.

(fns ...AggregateFunc)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

SelectMethod · 0.95

Tested by

no test coverage detected