MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / Aggregate

Method Aggregate

ent/fsevent_query.go:338–340  ·  view source on GitHub ↗

Aggregate returns a FsEventSelect configured with the given aggregations.

(fns ...AggregateFunc)

Source from the content-addressed store, hash-verified

336
337// Aggregate returns a FsEventSelect configured with the given aggregations.
338func (feq *FsEventQuery) Aggregate(fns ...AggregateFunc) *FsEventSelect {
339 return feq.Select().Aggregate(fns...)
340}
341
342func (feq *FsEventQuery) prepareQuery(ctx context.Context) error {
343 for _, inter := range feq.inters {

Callers

nothing calls this directly

Calls 1

SelectMethod · 0.95

Tested by

no test coverage detected