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

Function In

dialect/sql/builder.go:1050–1052  ·  view source on GitHub ↗

In returns the `IN` predicate.

(col string, args ...any)

Source from the content-addressed store, hash-verified

1048
1049// In returns the `IN` predicate.
1050func In(col string, args ...any) *Predicate {
1051 return P().In(col, args...)
1052}
1053
1054// In appends the `IN` predicate.
1055func (p *Predicate) In(col string, args ...any) *Predicate {

Callers 5

HasNeighborsFunction · 0.92
HasNeighborsWithFunction · 0.92
FieldInFunction · 0.70
TestBuilderFunction · 0.70
TestReusePredicatesFunction · 0.70

Calls 2

PFunction · 0.70
InMethod · 0.45

Tested by 2

TestBuilderFunction · 0.56
TestReusePredicatesFunction · 0.56