MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / Aggregate

Method Aggregate

app/controlplane/pkg/data/ent/group_query.go:380–382  ·  view source on GitHub ↗

Aggregate returns a GroupSelect configured with the given aggregations.

(fns ...AggregateFunc)

Source from the content-addressed store, hash-verified

378
379// Aggregate returns a GroupSelect configured with the given aggregations.
380func (_q *GroupQuery) Aggregate(fns ...AggregateFunc) *GroupSelect {
381 return _q.Select().Aggregate(fns...)
382}
383
384func (_q *GroupQuery) prepareQuery(ctx context.Context) error {
385 for _, inter := range _q.inters {

Callers

nothing calls this directly

Calls 1

SelectMethod · 0.95

Tested by

no test coverage detected