MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / Aggregate

Method Aggregate

ent/setting_query.go:302–304  ·  view source on GitHub ↗

Aggregate returns a SettingSelect configured with the given aggregations.

(fns ...AggregateFunc)

Source from the content-addressed store, hash-verified

300
301// Aggregate returns a SettingSelect configured with the given aggregations.
302func (sq *SettingQuery) Aggregate(fns ...AggregateFunc) *SettingSelect {
303 return sq.Select().Aggregate(fns...)
304}
305
306func (sq *SettingQuery) prepareQuery(ctx context.Context) error {
307 for _, inter := range sq.inters {

Callers

nothing calls this directly

Calls 1

SelectMethod · 0.95

Tested by

no test coverage detected