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

Method InValues

dialect/sql/builder.go:1093–1099  ·  view source on GitHub ↗

InValues adds the `IN` predicate for slice of driver.Value.

(col string, args ...driver.Value)

Source from the content-addressed store, hash-verified

1091
1092// InValues adds the `IN` predicate for slice of driver.Value.
1093func (p *Predicate) InValues(col string, args ...driver.Value) *Predicate {
1094 iface := make([]any, len(args))
1095 for i := range args {
1096 iface[i] = args[i]
1097 }
1098 return p.In(col, iface...)
1099}
1100
1101// NotIn returns the `Not IN` predicate.
1102func NotIn(col string, args ...any) *Predicate {

Callers 1

InValuesFunction · 0.80

Calls 1

InMethod · 0.95

Tested by

no test coverage detected