MCPcopy
hub / github.com/ent/ent / Count

Method Count

dialect/sql/builder.go:1462–1464  ·  view source on GitHub ↗

Count wraps the ident with the COUNT aggregation function.

(ident string)

Source from the content-addressed store, hash-verified

1460
1461// Count wraps the ident with the COUNT aggregation function.
1462func (f *Func) Count(ident string) {
1463 f.byName("COUNT", ident)
1464}
1465
1466// Max wraps the ident with the MAX aggregation function.
1467func Max(ident string) string {

Callers 4

CountFunction · 0.95
TestBuilderFunction · 0.45
tableExistMethod · 0.45
countMethod · 0.45

Calls 1

byNameMethod · 0.95

Tested by 1

TestBuilderFunction · 0.36