MCPcopy
hub / github.com/ent/ent / LT

Function LT

dialect/sql/builder.go:930–932  ·  view source on GitHub ↗

LT returns a "<" predicate.

(col string, value any)

Source from the content-addressed store, hash-verified

928
929// LT returns a "<" predicate.
930func LT(col string, value any) *Predicate {
931 return P().LT(col, value)
932}
933
934// LT appends a "<" predicate.
935func (p *Predicate) LT(col string, arg any) *Predicate {

Callers 6

TestQueryNodesFunction · 0.92
TestQueryNodesSchemaFunction · 0.92
FieldLTFunction · 0.70
TestSelector_UnionFunction · 0.70
TestSelector_ExceptFunction · 0.70
TestSelector_IntersectFunction · 0.70

Calls 2

LTMethod · 0.80
PFunction · 0.70

Tested by 5

TestQueryNodesFunction · 0.74
TestQueryNodesSchemaFunction · 0.74
TestSelector_UnionFunction · 0.56
TestSelector_ExceptFunction · 0.56
TestSelector_IntersectFunction · 0.56