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.CASMapping { |
| 56 | return predicate.CASMapping(sql.FieldLTE(FieldID, id)) |
| 57 | } |
| 58 | |
| 59 | // Digest applies equality check predicate on the "digest" field. It's identical to DigestEQ. |
| 60 | func Digest(v string) predicate.CASMapping { |
nothing calls this directly
no test coverage detected