IDLTE applies the LTE predicate on the ID field.
(id uuid.UUID)
| 53 | |
| 54 | // IDLTE applies the LTE predicate on the ID field. |
| 55 | func IDLTE(id uuid.UUID) predicate.User { |
| 56 | return predicate.User(sql.FieldLTE(FieldID, id)) |
| 57 | } |
| 58 | |
| 59 | // Email applies equality check predicate on the "email" field. It's identical to EmailEQ. |
| 60 | func Email(v string) predicate.User { |