MCPcopy
hub / github.com/ent/ent / Max

Function Max

dialect/sql/builder.go:1467–1471  ·  view source on GitHub ↗

Max wraps the ident with the MAX aggregation function.

(ident string)

Source from the content-addressed store, hash-verified

1465
1466// Max wraps the ident with the MAX aggregation function.
1467func Max(ident string) string {
1468 f := &Func{}
1469 f.Max(ident)
1470 return f.String()
1471}
1472
1473// Max wraps the ident with the MAX aggregation function.
1474func (f *Func) Max(ident string) {

Callers 15

MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92
MaxFunction · 0.92

Calls 2

MaxMethod · 0.95
StringMethod · 0.95

Tested by 1

TestBuilderFunction · 0.56