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