CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
(v time.Time)
| 63 | |
| 64 | // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. |
| 65 | func CreatedAt(v time.Time) predicate.User { |
| 66 | return predicate.User(sql.FieldEQ(FieldCreatedAt, v)) |
| 67 | } |
| 68 | |
| 69 | // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ. |
| 70 | func UpdatedAt(v time.Time) predicate.User { |