MCPcopy
hub / github.com/ent/ent / GT

Function GT

dialect/sql/builder.go:978–980  ·  view source on GitHub ↗

GT returns a ">" predicate.

(col string, value any)

Source from the content-addressed store, hash-verified

976
977// GT returns a ">" predicate.
978func GT(col string, value any) *Predicate {
979 return P().GT(col, value)
980}
981
982// GT appends a ">" predicate.
983func (p *Predicate) GT(col string, arg any) *Predicate {

Callers 8

TestWritePathFunction · 0.92
FieldGTFunction · 0.70
TestBuilderFunction · 0.70
TestSelector_OrderByExprFunction · 0.70
TestSelector_UnionFunction · 0.70
TestSelector_ExceptFunction · 0.70
TestSelector_IntersectFunction · 0.70
TestReusePredicatesFunction · 0.70

Calls 2

GTMethod · 0.80
PFunction · 0.70

Tested by 7

TestWritePathFunction · 0.74
TestBuilderFunction · 0.56
TestSelector_OrderByExprFunction · 0.56
TestSelector_UnionFunction · 0.56
TestSelector_ExceptFunction · 0.56
TestSelector_IntersectFunction · 0.56
TestReusePredicatesFunction · 0.56