MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / Aggregate

Method Aggregate

ent/gitcommit_query.go:619–622  ·  view source on GitHub ↗

Aggregate adds the given aggregation functions to the selector query.

(fns ...AggregateFunc)

Source from the content-addressed store, hash-verified

617
618// Aggregate adds the given aggregation functions to the selector query.
619func (gcs *GitCommitSelect) Aggregate(fns ...AggregateFunc) *GitCommitSelect {
620 gcs.fns = append(gcs.fns, fns...)
621 return gcs
622}
623
624// Scan applies the selector query and scans the result into the given value.
625func (gcs *GitCommitSelect) Scan(ctx context.Context, v any) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected