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

Method Aggregate

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

Aggregate returns a UserSelect configured with the given aggregations.

(fns ...AggregateFunc)

Source from the content-addressed store, hash-verified

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

Callers 3

RunsByStatusTotalMethod · 0.45
RunsByRunnerTypeTotalMethod · 0.45

Calls 1

SelectMethod · 0.95

Tested by

no test coverage detected