| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345 |
- // Code generated by ent, DO NOT EDIT.
- package batchimageevent
- import (
- "time"
- "entgo.io/ent/dialect/sql"
- "github.com/Wei-Shaw/sub2api/ent/predicate"
- )
- // ID filters vertices based on their ID field.
- func ID(id int64) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id int64) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id int64) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...int64) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...int64) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id int64) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id int64) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id int64) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id int64) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLTE(FieldID, id))
- }
- // JobID applies equality check predicate on the "job_id" field. It's identical to JobIDEQ.
- func JobID(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldJobID, v))
- }
- // EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.
- func EventType(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldEventType, v))
- }
- // EventHash applies equality check predicate on the "event_hash" field. It's identical to EventHashEQ.
- func EventHash(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldEventHash, v))
- }
- // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
- func CreatedAt(v time.Time) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldCreatedAt, v))
- }
- // JobIDEQ applies the EQ predicate on the "job_id" field.
- func JobIDEQ(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldJobID, v))
- }
- // JobIDNEQ applies the NEQ predicate on the "job_id" field.
- func JobIDNEQ(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNEQ(FieldJobID, v))
- }
- // JobIDIn applies the In predicate on the "job_id" field.
- func JobIDIn(vs ...string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldIn(FieldJobID, vs...))
- }
- // JobIDNotIn applies the NotIn predicate on the "job_id" field.
- func JobIDNotIn(vs ...string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNotIn(FieldJobID, vs...))
- }
- // JobIDGT applies the GT predicate on the "job_id" field.
- func JobIDGT(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGT(FieldJobID, v))
- }
- // JobIDGTE applies the GTE predicate on the "job_id" field.
- func JobIDGTE(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGTE(FieldJobID, v))
- }
- // JobIDLT applies the LT predicate on the "job_id" field.
- func JobIDLT(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLT(FieldJobID, v))
- }
- // JobIDLTE applies the LTE predicate on the "job_id" field.
- func JobIDLTE(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLTE(FieldJobID, v))
- }
- // JobIDContains applies the Contains predicate on the "job_id" field.
- func JobIDContains(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldContains(FieldJobID, v))
- }
- // JobIDHasPrefix applies the HasPrefix predicate on the "job_id" field.
- func JobIDHasPrefix(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldHasPrefix(FieldJobID, v))
- }
- // JobIDHasSuffix applies the HasSuffix predicate on the "job_id" field.
- func JobIDHasSuffix(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldHasSuffix(FieldJobID, v))
- }
- // JobIDEqualFold applies the EqualFold predicate on the "job_id" field.
- func JobIDEqualFold(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEqualFold(FieldJobID, v))
- }
- // JobIDContainsFold applies the ContainsFold predicate on the "job_id" field.
- func JobIDContainsFold(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldContainsFold(FieldJobID, v))
- }
- // EventTypeEQ applies the EQ predicate on the "event_type" field.
- func EventTypeEQ(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldEventType, v))
- }
- // EventTypeNEQ applies the NEQ predicate on the "event_type" field.
- func EventTypeNEQ(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNEQ(FieldEventType, v))
- }
- // EventTypeIn applies the In predicate on the "event_type" field.
- func EventTypeIn(vs ...string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldIn(FieldEventType, vs...))
- }
- // EventTypeNotIn applies the NotIn predicate on the "event_type" field.
- func EventTypeNotIn(vs ...string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNotIn(FieldEventType, vs...))
- }
- // EventTypeGT applies the GT predicate on the "event_type" field.
- func EventTypeGT(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGT(FieldEventType, v))
- }
- // EventTypeGTE applies the GTE predicate on the "event_type" field.
- func EventTypeGTE(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGTE(FieldEventType, v))
- }
- // EventTypeLT applies the LT predicate on the "event_type" field.
- func EventTypeLT(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLT(FieldEventType, v))
- }
- // EventTypeLTE applies the LTE predicate on the "event_type" field.
- func EventTypeLTE(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLTE(FieldEventType, v))
- }
- // EventTypeContains applies the Contains predicate on the "event_type" field.
- func EventTypeContains(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldContains(FieldEventType, v))
- }
- // EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
- func EventTypeHasPrefix(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldHasPrefix(FieldEventType, v))
- }
- // EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
- func EventTypeHasSuffix(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldHasSuffix(FieldEventType, v))
- }
- // EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
- func EventTypeEqualFold(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEqualFold(FieldEventType, v))
- }
- // EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
- func EventTypeContainsFold(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldContainsFold(FieldEventType, v))
- }
- // PayloadIsNil applies the IsNil predicate on the "payload" field.
- func PayloadIsNil() predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldIsNull(FieldPayload))
- }
- // PayloadNotNil applies the NotNil predicate on the "payload" field.
- func PayloadNotNil() predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNotNull(FieldPayload))
- }
- // EventHashEQ applies the EQ predicate on the "event_hash" field.
- func EventHashEQ(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldEventHash, v))
- }
- // EventHashNEQ applies the NEQ predicate on the "event_hash" field.
- func EventHashNEQ(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNEQ(FieldEventHash, v))
- }
- // EventHashIn applies the In predicate on the "event_hash" field.
- func EventHashIn(vs ...string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldIn(FieldEventHash, vs...))
- }
- // EventHashNotIn applies the NotIn predicate on the "event_hash" field.
- func EventHashNotIn(vs ...string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNotIn(FieldEventHash, vs...))
- }
- // EventHashGT applies the GT predicate on the "event_hash" field.
- func EventHashGT(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGT(FieldEventHash, v))
- }
- // EventHashGTE applies the GTE predicate on the "event_hash" field.
- func EventHashGTE(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGTE(FieldEventHash, v))
- }
- // EventHashLT applies the LT predicate on the "event_hash" field.
- func EventHashLT(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLT(FieldEventHash, v))
- }
- // EventHashLTE applies the LTE predicate on the "event_hash" field.
- func EventHashLTE(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLTE(FieldEventHash, v))
- }
- // EventHashContains applies the Contains predicate on the "event_hash" field.
- func EventHashContains(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldContains(FieldEventHash, v))
- }
- // EventHashHasPrefix applies the HasPrefix predicate on the "event_hash" field.
- func EventHashHasPrefix(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldHasPrefix(FieldEventHash, v))
- }
- // EventHashHasSuffix applies the HasSuffix predicate on the "event_hash" field.
- func EventHashHasSuffix(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldHasSuffix(FieldEventHash, v))
- }
- // EventHashIsNil applies the IsNil predicate on the "event_hash" field.
- func EventHashIsNil() predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldIsNull(FieldEventHash))
- }
- // EventHashNotNil applies the NotNil predicate on the "event_hash" field.
- func EventHashNotNil() predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNotNull(FieldEventHash))
- }
- // EventHashEqualFold applies the EqualFold predicate on the "event_hash" field.
- func EventHashEqualFold(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEqualFold(FieldEventHash, v))
- }
- // EventHashContainsFold applies the ContainsFold predicate on the "event_hash" field.
- func EventHashContainsFold(v string) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldContainsFold(FieldEventHash, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.FieldLTE(FieldCreatedAt, v))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.BatchImageEvent) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.BatchImageEvent) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.BatchImageEvent) predicate.BatchImageEvent {
- return predicate.BatchImageEvent(sql.NotPredicates(p))
- }
|