ID filters vertices based on their ID field.
(id uuid.UUID)
| 13 | |
| 14 | // ID filters vertices based on their ID field. |
| 15 | func ID(id uuid.UUID) predicate.CASMapping { |
| 16 | return predicate.CASMapping(sql.FieldEQ(FieldID, id)) |
| 17 | } |
| 18 | |
| 19 | // IDEQ applies the EQ predicate on the ID field. |
| 20 | func IDEQ(id uuid.UUID) predicate.CASMapping { |
no test coverage detected