OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
(v uuid.UUID)
| 83 | |
| 84 | // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ. |
| 85 | func OrganizationID(v uuid.UUID) predicate.Project { |
| 86 | return predicate.Project(sql.FieldEQ(FieldOrganizationID, v)) |
| 87 | } |
| 88 | |
| 89 | // NameEQ applies the EQ predicate on the "name" field. |
| 90 | func NameEQ(v string) predicate.Project { |
no test coverage detected