InValues adds the `IN` predicate for slice of driver.Value.
(col string, args ...driver.Value)
| 1091 | |
| 1092 | // InValues adds the `IN` predicate for slice of driver.Value. |
| 1093 | func (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. |
| 1102 | func NotIn(col string, args ...any) *Predicate { |