MCPcopy Index your code
hub / github.com/ent/ent / Lower

Function Lower

dialect/sql/builder.go:1443–1447  ·  view source on GitHub ↗

Lower wraps the given column with the LOWER function. P().EQ(sql.Lower("name"), "a8m")

(ident string)

Source from the content-addressed store, hash-verified

1441//
1442// P().EQ(sql.Lower("name"), "a8m")
1443func Lower(ident string) string {
1444 f := &Func{}
1445 f.Lower(ident)
1446 return f.String()
1447}
1448
1449// Lower wraps the given ident with the LOWER function.
1450func (f *Func) Lower(ident string) {

Callers 1

TestUpdateNodeFunction · 0.92

Calls 2

LowerMethod · 0.95
StringMethod · 0.95

Tested by 1

TestUpdateNodeFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…