| |
|
|
| package idempotencyrecord |
|
|
| import ( |
| "time" |
|
|
| "entgo.io/ent/dialect/sql" |
| "github.com/Wei-Shaw/sub2api/ent/predicate" |
| ) |
|
|
| |
| func ID(id int64) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldID, id)) |
| } |
|
|
| |
| func IDEQ(id int64) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldID, id)) |
| } |
|
|
| |
| func IDNEQ(id int64) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldID, id)) |
| } |
|
|
| |
| func IDIn(ids ...int64) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldID, ids...)) |
| } |
|
|
| |
| func IDNotIn(ids ...int64) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldID, ids...)) |
| } |
|
|
| |
| func IDGT(id int64) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldID, id)) |
| } |
|
|
| |
| func IDGTE(id int64) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldID, id)) |
| } |
|
|
| |
| func IDLT(id int64) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldID, id)) |
| } |
|
|
| |
| func IDLTE(id int64) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldID, id)) |
| } |
|
|
| |
| func CreatedAt(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldCreatedAt, v)) |
| } |
|
|
| |
| func UpdatedAt(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func Scope(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldScope, v)) |
| } |
|
|
| |
| func IdempotencyKeyHash(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func RequestFingerprint(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func Status(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldStatus, v)) |
| } |
|
|
| |
| func ResponseStatus(v int) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldResponseStatus, v)) |
| } |
|
|
| |
| func ResponseBody(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldResponseBody, v)) |
| } |
|
|
| |
| func ErrorReason(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldErrorReason, v)) |
| } |
|
|
| |
| func LockedUntil(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldLockedUntil, v)) |
| } |
|
|
| |
| func ExpiresAt(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldExpiresAt, v)) |
| } |
|
|
| |
| func CreatedAtEQ(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtNEQ(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtIn(vs ...time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldCreatedAt, vs...)) |
| } |
|
|
| |
| func CreatedAtNotIn(vs ...time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldCreatedAt, vs...)) |
| } |
|
|
| |
| func CreatedAtGT(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtGTE(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtLT(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtLTE(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldCreatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtEQ(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtNEQ(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtIn(vs ...time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldUpdatedAt, vs...)) |
| } |
|
|
| |
| func UpdatedAtNotIn(vs ...time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldUpdatedAt, vs...)) |
| } |
|
|
| |
| func UpdatedAtGT(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtGTE(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtLT(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtLTE(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func ScopeEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldScope, v)) |
| } |
|
|
| |
| func ScopeNEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldScope, v)) |
| } |
|
|
| |
| func ScopeIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldScope, vs...)) |
| } |
|
|
| |
| func ScopeNotIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldScope, vs...)) |
| } |
|
|
| |
| func ScopeGT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldScope, v)) |
| } |
|
|
| |
| func ScopeGTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldScope, v)) |
| } |
|
|
| |
| func ScopeLT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldScope, v)) |
| } |
|
|
| |
| func ScopeLTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldScope, v)) |
| } |
|
|
| |
| func ScopeContains(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContains(FieldScope, v)) |
| } |
|
|
| |
| func ScopeHasPrefix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldScope, v)) |
| } |
|
|
| |
| func ScopeHasSuffix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldScope, v)) |
| } |
|
|
| |
| func ScopeEqualFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldScope, v)) |
| } |
|
|
| |
| func ScopeContainsFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldScope, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashNEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldIdempotencyKeyHash, vs...)) |
| } |
|
|
| |
| func IdempotencyKeyHashNotIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldIdempotencyKeyHash, vs...)) |
| } |
|
|
| |
| func IdempotencyKeyHashGT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashGTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashLT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashLTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashContains(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContains(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashHasPrefix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashHasSuffix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashEqualFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func IdempotencyKeyHashContainsFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldIdempotencyKeyHash, v)) |
| } |
|
|
| |
| func RequestFingerprintEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintNEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldRequestFingerprint, vs...)) |
| } |
|
|
| |
| func RequestFingerprintNotIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldRequestFingerprint, vs...)) |
| } |
|
|
| |
| func RequestFingerprintGT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintGTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintLT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintLTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintContains(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContains(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintHasPrefix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintHasSuffix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintEqualFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func RequestFingerprintContainsFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldRequestFingerprint, v)) |
| } |
|
|
| |
| func StatusEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldStatus, v)) |
| } |
|
|
| |
| func StatusNEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldStatus, v)) |
| } |
|
|
| |
| func StatusIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldStatus, vs...)) |
| } |
|
|
| |
| func StatusNotIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldStatus, vs...)) |
| } |
|
|
| |
| func StatusGT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldStatus, v)) |
| } |
|
|
| |
| func StatusGTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldStatus, v)) |
| } |
|
|
| |
| func StatusLT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldStatus, v)) |
| } |
|
|
| |
| func StatusLTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldStatus, v)) |
| } |
|
|
| |
| func StatusContains(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContains(FieldStatus, v)) |
| } |
|
|
| |
| func StatusHasPrefix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldStatus, v)) |
| } |
|
|
| |
| func StatusHasSuffix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldStatus, v)) |
| } |
|
|
| |
| func StatusEqualFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldStatus, v)) |
| } |
|
|
| |
| func StatusContainsFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldStatus, v)) |
| } |
|
|
| |
| func ResponseStatusEQ(v int) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldResponseStatus, v)) |
| } |
|
|
| |
| func ResponseStatusNEQ(v int) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldResponseStatus, v)) |
| } |
|
|
| |
| func ResponseStatusIn(vs ...int) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldResponseStatus, vs...)) |
| } |
|
|
| |
| func ResponseStatusNotIn(vs ...int) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldResponseStatus, vs...)) |
| } |
|
|
| |
| func ResponseStatusGT(v int) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldResponseStatus, v)) |
| } |
|
|
| |
| func ResponseStatusGTE(v int) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldResponseStatus, v)) |
| } |
|
|
| |
| func ResponseStatusLT(v int) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldResponseStatus, v)) |
| } |
|
|
| |
| func ResponseStatusLTE(v int) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldResponseStatus, v)) |
| } |
|
|
| |
| func ResponseStatusIsNil() predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIsNull(FieldResponseStatus)) |
| } |
|
|
| |
| func ResponseStatusNotNil() predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotNull(FieldResponseStatus)) |
| } |
|
|
| |
| func ResponseBodyEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyNEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldResponseBody, vs...)) |
| } |
|
|
| |
| func ResponseBodyNotIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldResponseBody, vs...)) |
| } |
|
|
| |
| func ResponseBodyGT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyGTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyLT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyLTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyContains(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContains(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyHasPrefix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyHasSuffix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyIsNil() predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIsNull(FieldResponseBody)) |
| } |
|
|
| |
| func ResponseBodyNotNil() predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotNull(FieldResponseBody)) |
| } |
|
|
| |
| func ResponseBodyEqualFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldResponseBody, v)) |
| } |
|
|
| |
| func ResponseBodyContainsFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldResponseBody, v)) |
| } |
|
|
| |
| func ErrorReasonEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonNEQ(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldErrorReason, vs...)) |
| } |
|
|
| |
| func ErrorReasonNotIn(vs ...string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldErrorReason, vs...)) |
| } |
|
|
| |
| func ErrorReasonGT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonGTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonLT(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonLTE(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonContains(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContains(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonHasPrefix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasPrefix(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonHasSuffix(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldHasSuffix(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonIsNil() predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIsNull(FieldErrorReason)) |
| } |
|
|
| |
| func ErrorReasonNotNil() predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotNull(FieldErrorReason)) |
| } |
|
|
| |
| func ErrorReasonEqualFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEqualFold(FieldErrorReason, v)) |
| } |
|
|
| |
| func ErrorReasonContainsFold(v string) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldContainsFold(FieldErrorReason, v)) |
| } |
|
|
| |
| func LockedUntilEQ(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldLockedUntil, v)) |
| } |
|
|
| |
| func LockedUntilNEQ(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldLockedUntil, v)) |
| } |
|
|
| |
| func LockedUntilIn(vs ...time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldLockedUntil, vs...)) |
| } |
|
|
| |
| func LockedUntilNotIn(vs ...time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldLockedUntil, vs...)) |
| } |
|
|
| |
| func LockedUntilGT(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldLockedUntil, v)) |
| } |
|
|
| |
| func LockedUntilGTE(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldLockedUntil, v)) |
| } |
|
|
| |
| func LockedUntilLT(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldLockedUntil, v)) |
| } |
|
|
| |
| func LockedUntilLTE(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldLockedUntil, v)) |
| } |
|
|
| |
| func LockedUntilIsNil() predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIsNull(FieldLockedUntil)) |
| } |
|
|
| |
| func LockedUntilNotNil() predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotNull(FieldLockedUntil)) |
| } |
|
|
| |
| func ExpiresAtEQ(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldEQ(FieldExpiresAt, v)) |
| } |
|
|
| |
| func ExpiresAtNEQ(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNEQ(FieldExpiresAt, v)) |
| } |
|
|
| |
| func ExpiresAtIn(vs ...time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldIn(FieldExpiresAt, vs...)) |
| } |
|
|
| |
| func ExpiresAtNotIn(vs ...time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldNotIn(FieldExpiresAt, vs...)) |
| } |
|
|
| |
| func ExpiresAtGT(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGT(FieldExpiresAt, v)) |
| } |
|
|
| |
| func ExpiresAtGTE(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldGTE(FieldExpiresAt, v)) |
| } |
|
|
| |
| func ExpiresAtLT(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLT(FieldExpiresAt, v)) |
| } |
|
|
| |
| func ExpiresAtLTE(v time.Time) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.FieldLTE(FieldExpiresAt, v)) |
| } |
|
|
| |
| func And(predicates ...predicate.IdempotencyRecord) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.AndPredicates(predicates...)) |
| } |
|
|
| |
| func Or(predicates ...predicate.IdempotencyRecord) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.OrPredicates(predicates...)) |
| } |
|
|
| |
| func Not(p predicate.IdempotencyRecord) predicate.IdempotencyRecord { |
| return predicate.IdempotencyRecord(sql.NotPredicates(p)) |
| } |
|
|