MCPcopy Create free account
hub / github.com/an0nfunc/ALHP / Aggregate

Method Aggregate

ent/dbpackage_query.go:305–307  ·  view source on GitHub ↗

Aggregate returns a DBPackageSelect configured with the given aggregations.

(fns ...AggregateFunc)

Source from the content-addressed store, hash-verified

303
304// Aggregate returns a DBPackageSelect configured with the given aggregations.
305func (_q *DBPackageQuery) Aggregate(fns ...AggregateFunc) *DBPackageSelect {
306 return _q.Select().Aggregate(fns...)
307}
308
309func (_q *DBPackageQuery) prepareQuery(ctx context.Context) error {
310 for _, inter := range _q.inters {

Callers

nothing calls this directly

Calls 1

SelectMethod · 0.95

Tested by

no test coverage detected