IDIn applies the In predicate on the ID field.
(ids ...int)
| 27 | |
| 28 | // IDIn applies the In predicate on the ID field. |
| 29 | func IDIn(ids ...int) predicate.Machine { |
| 30 | return predicate.Machine(sql.FieldIn(FieldID, ids...)) |
| 31 | } |
| 32 | |
| 33 | // IDNotIn applies the NotIn predicate on the ID field. |
| 34 | func IDNotIn(ids ...int) predicate.Machine { |
no test coverage detected
searching dependent graphs…