IDEQ applies the EQ predicate on the ID field.
(id uuid.UUID)
| 18 | |
| 19 | // IDEQ applies the EQ predicate on the ID field. |
| 20 | func IDEQ(id uuid.UUID) predicate.CASMapping { |
| 21 | return predicate.CASMapping(sql.FieldEQ(FieldID, id)) |
| 22 | } |
| 23 | |
| 24 | // IDNEQ applies the NEQ predicate on the ID field. |
| 25 | func IDNEQ(id uuid.UUID) predicate.CASMapping { |
nothing calls this directly
no test coverage detected