123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725 |
- // Code generated by ent, DO NOT EDIT.
- package compapijob
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldID, id))
- }
- // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
- func CreatedAt(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldCreatedAt, v))
- }
- // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
- func UpdatedAt(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // DistAt applies equality check predicate on the "dist_at" field. It's identical to DistAtEQ.
- func DistAt(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldDistAt, v))
- }
- // DistStatus applies equality check predicate on the "dist_status" field. It's identical to DistStatusEQ.
- func DistStatus(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldDistStatus, v))
- }
- // CallbackStatus applies equality check predicate on the "callback_status" field. It's identical to CallbackStatusEQ.
- func CallbackStatus(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldCallbackStatus, v))
- }
- // CallbackURL applies equality check predicate on the "callback_url" field. It's identical to CallbackURLEQ.
- func CallbackURL(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldCallbackURL, v))
- }
- // AuthToken applies equality check predicate on the "auth_token" field. It's identical to AuthTokenEQ.
- func AuthToken(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldAuthToken, v))
- }
- // EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.
- func EventType(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldEventType, v))
- }
- // WorkidIdx applies equality check predicate on the "workid_idx" field. It's identical to WorkidIdxEQ.
- func WorkidIdx(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldWorkidIdx, v))
- }
- // ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.
- func ChatID(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldChatID, v))
- }
- // RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
- func RetryCount(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldRetryCount, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // DistAtEQ applies the EQ predicate on the "dist_at" field.
- func DistAtEQ(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldDistAt, v))
- }
- // DistAtNEQ applies the NEQ predicate on the "dist_at" field.
- func DistAtNEQ(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldDistAt, v))
- }
- // DistAtIn applies the In predicate on the "dist_at" field.
- func DistAtIn(vs ...time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldDistAt, vs...))
- }
- // DistAtNotIn applies the NotIn predicate on the "dist_at" field.
- func DistAtNotIn(vs ...time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldDistAt, vs...))
- }
- // DistAtGT applies the GT predicate on the "dist_at" field.
- func DistAtGT(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldDistAt, v))
- }
- // DistAtGTE applies the GTE predicate on the "dist_at" field.
- func DistAtGTE(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldDistAt, v))
- }
- // DistAtLT applies the LT predicate on the "dist_at" field.
- func DistAtLT(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldDistAt, v))
- }
- // DistAtLTE applies the LTE predicate on the "dist_at" field.
- func DistAtLTE(v time.Time) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldDistAt, v))
- }
- // DistAtIsNil applies the IsNil predicate on the "dist_at" field.
- func DistAtIsNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIsNull(FieldDistAt))
- }
- // DistAtNotNil applies the NotNil predicate on the "dist_at" field.
- func DistAtNotNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotNull(FieldDistAt))
- }
- // DistStatusEQ applies the EQ predicate on the "dist_status" field.
- func DistStatusEQ(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldDistStatus, v))
- }
- // DistStatusNEQ applies the NEQ predicate on the "dist_status" field.
- func DistStatusNEQ(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldDistStatus, v))
- }
- // DistStatusIn applies the In predicate on the "dist_status" field.
- func DistStatusIn(vs ...int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldDistStatus, vs...))
- }
- // DistStatusNotIn applies the NotIn predicate on the "dist_status" field.
- func DistStatusNotIn(vs ...int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldDistStatus, vs...))
- }
- // DistStatusGT applies the GT predicate on the "dist_status" field.
- func DistStatusGT(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldDistStatus, v))
- }
- // DistStatusGTE applies the GTE predicate on the "dist_status" field.
- func DistStatusGTE(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldDistStatus, v))
- }
- // DistStatusLT applies the LT predicate on the "dist_status" field.
- func DistStatusLT(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldDistStatus, v))
- }
- // DistStatusLTE applies the LTE predicate on the "dist_status" field.
- func DistStatusLTE(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldDistStatus, v))
- }
- // DistStatusIsNil applies the IsNil predicate on the "dist_status" field.
- func DistStatusIsNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIsNull(FieldDistStatus))
- }
- // DistStatusNotNil applies the NotNil predicate on the "dist_status" field.
- func DistStatusNotNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotNull(FieldDistStatus))
- }
- // CallbackStatusEQ applies the EQ predicate on the "callback_status" field.
- func CallbackStatusEQ(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldCallbackStatus, v))
- }
- // CallbackStatusNEQ applies the NEQ predicate on the "callback_status" field.
- func CallbackStatusNEQ(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldCallbackStatus, v))
- }
- // CallbackStatusIn applies the In predicate on the "callback_status" field.
- func CallbackStatusIn(vs ...int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldCallbackStatus, vs...))
- }
- // CallbackStatusNotIn applies the NotIn predicate on the "callback_status" field.
- func CallbackStatusNotIn(vs ...int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldCallbackStatus, vs...))
- }
- // CallbackStatusGT applies the GT predicate on the "callback_status" field.
- func CallbackStatusGT(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldCallbackStatus, v))
- }
- // CallbackStatusGTE applies the GTE predicate on the "callback_status" field.
- func CallbackStatusGTE(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldCallbackStatus, v))
- }
- // CallbackStatusLT applies the LT predicate on the "callback_status" field.
- func CallbackStatusLT(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldCallbackStatus, v))
- }
- // CallbackStatusLTE applies the LTE predicate on the "callback_status" field.
- func CallbackStatusLTE(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldCallbackStatus, v))
- }
- // CallbackStatusIsNil applies the IsNil predicate on the "callback_status" field.
- func CallbackStatusIsNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIsNull(FieldCallbackStatus))
- }
- // CallbackStatusNotNil applies the NotNil predicate on the "callback_status" field.
- func CallbackStatusNotNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotNull(FieldCallbackStatus))
- }
- // CallbackURLEQ applies the EQ predicate on the "callback_url" field.
- func CallbackURLEQ(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldCallbackURL, v))
- }
- // CallbackURLNEQ applies the NEQ predicate on the "callback_url" field.
- func CallbackURLNEQ(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldCallbackURL, v))
- }
- // CallbackURLIn applies the In predicate on the "callback_url" field.
- func CallbackURLIn(vs ...string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldCallbackURL, vs...))
- }
- // CallbackURLNotIn applies the NotIn predicate on the "callback_url" field.
- func CallbackURLNotIn(vs ...string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldCallbackURL, vs...))
- }
- // CallbackURLGT applies the GT predicate on the "callback_url" field.
- func CallbackURLGT(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldCallbackURL, v))
- }
- // CallbackURLGTE applies the GTE predicate on the "callback_url" field.
- func CallbackURLGTE(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldCallbackURL, v))
- }
- // CallbackURLLT applies the LT predicate on the "callback_url" field.
- func CallbackURLLT(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldCallbackURL, v))
- }
- // CallbackURLLTE applies the LTE predicate on the "callback_url" field.
- func CallbackURLLTE(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldCallbackURL, v))
- }
- // CallbackURLContains applies the Contains predicate on the "callback_url" field.
- func CallbackURLContains(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldContains(FieldCallbackURL, v))
- }
- // CallbackURLHasPrefix applies the HasPrefix predicate on the "callback_url" field.
- func CallbackURLHasPrefix(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldHasPrefix(FieldCallbackURL, v))
- }
- // CallbackURLHasSuffix applies the HasSuffix predicate on the "callback_url" field.
- func CallbackURLHasSuffix(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldHasSuffix(FieldCallbackURL, v))
- }
- // CallbackURLEqualFold applies the EqualFold predicate on the "callback_url" field.
- func CallbackURLEqualFold(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEqualFold(FieldCallbackURL, v))
- }
- // CallbackURLContainsFold applies the ContainsFold predicate on the "callback_url" field.
- func CallbackURLContainsFold(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldContainsFold(FieldCallbackURL, v))
- }
- // AuthTokenEQ applies the EQ predicate on the "auth_token" field.
- func AuthTokenEQ(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldAuthToken, v))
- }
- // AuthTokenNEQ applies the NEQ predicate on the "auth_token" field.
- func AuthTokenNEQ(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldAuthToken, v))
- }
- // AuthTokenIn applies the In predicate on the "auth_token" field.
- func AuthTokenIn(vs ...string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldAuthToken, vs...))
- }
- // AuthTokenNotIn applies the NotIn predicate on the "auth_token" field.
- func AuthTokenNotIn(vs ...string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldAuthToken, vs...))
- }
- // AuthTokenGT applies the GT predicate on the "auth_token" field.
- func AuthTokenGT(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldAuthToken, v))
- }
- // AuthTokenGTE applies the GTE predicate on the "auth_token" field.
- func AuthTokenGTE(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldAuthToken, v))
- }
- // AuthTokenLT applies the LT predicate on the "auth_token" field.
- func AuthTokenLT(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldAuthToken, v))
- }
- // AuthTokenLTE applies the LTE predicate on the "auth_token" field.
- func AuthTokenLTE(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldAuthToken, v))
- }
- // AuthTokenContains applies the Contains predicate on the "auth_token" field.
- func AuthTokenContains(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldContains(FieldAuthToken, v))
- }
- // AuthTokenHasPrefix applies the HasPrefix predicate on the "auth_token" field.
- func AuthTokenHasPrefix(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldHasPrefix(FieldAuthToken, v))
- }
- // AuthTokenHasSuffix applies the HasSuffix predicate on the "auth_token" field.
- func AuthTokenHasSuffix(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldHasSuffix(FieldAuthToken, v))
- }
- // AuthTokenEqualFold applies the EqualFold predicate on the "auth_token" field.
- func AuthTokenEqualFold(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEqualFold(FieldAuthToken, v))
- }
- // AuthTokenContainsFold applies the ContainsFold predicate on the "auth_token" field.
- func AuthTokenContainsFold(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldContainsFold(FieldAuthToken, v))
- }
- // EventTypeEQ applies the EQ predicate on the "event_type" field.
- func EventTypeEQ(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldEventType, v))
- }
- // EventTypeNEQ applies the NEQ predicate on the "event_type" field.
- func EventTypeNEQ(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldEventType, v))
- }
- // EventTypeIn applies the In predicate on the "event_type" field.
- func EventTypeIn(vs ...string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldEventType, vs...))
- }
- // EventTypeNotIn applies the NotIn predicate on the "event_type" field.
- func EventTypeNotIn(vs ...string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldEventType, vs...))
- }
- // EventTypeGT applies the GT predicate on the "event_type" field.
- func EventTypeGT(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldEventType, v))
- }
- // EventTypeGTE applies the GTE predicate on the "event_type" field.
- func EventTypeGTE(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldEventType, v))
- }
- // EventTypeLT applies the LT predicate on the "event_type" field.
- func EventTypeLT(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldEventType, v))
- }
- // EventTypeLTE applies the LTE predicate on the "event_type" field.
- func EventTypeLTE(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldEventType, v))
- }
- // EventTypeContains applies the Contains predicate on the "event_type" field.
- func EventTypeContains(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldContains(FieldEventType, v))
- }
- // EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
- func EventTypeHasPrefix(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldHasPrefix(FieldEventType, v))
- }
- // EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
- func EventTypeHasSuffix(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldHasSuffix(FieldEventType, v))
- }
- // EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
- func EventTypeEqualFold(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEqualFold(FieldEventType, v))
- }
- // EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
- func EventTypeContainsFold(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldContainsFold(FieldEventType, v))
- }
- // WorkidIdxEQ applies the EQ predicate on the "workid_idx" field.
- func WorkidIdxEQ(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldWorkidIdx, v))
- }
- // WorkidIdxNEQ applies the NEQ predicate on the "workid_idx" field.
- func WorkidIdxNEQ(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldWorkidIdx, v))
- }
- // WorkidIdxIn applies the In predicate on the "workid_idx" field.
- func WorkidIdxIn(vs ...int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldWorkidIdx, vs...))
- }
- // WorkidIdxNotIn applies the NotIn predicate on the "workid_idx" field.
- func WorkidIdxNotIn(vs ...int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldWorkidIdx, vs...))
- }
- // WorkidIdxGT applies the GT predicate on the "workid_idx" field.
- func WorkidIdxGT(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldWorkidIdx, v))
- }
- // WorkidIdxGTE applies the GTE predicate on the "workid_idx" field.
- func WorkidIdxGTE(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldWorkidIdx, v))
- }
- // WorkidIdxLT applies the LT predicate on the "workid_idx" field.
- func WorkidIdxLT(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldWorkidIdx, v))
- }
- // WorkidIdxLTE applies the LTE predicate on the "workid_idx" field.
- func WorkidIdxLTE(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldWorkidIdx, v))
- }
- // WorkidIdxIsNil applies the IsNil predicate on the "workid_idx" field.
- func WorkidIdxIsNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIsNull(FieldWorkidIdx))
- }
- // WorkidIdxNotNil applies the NotNil predicate on the "workid_idx" field.
- func WorkidIdxNotNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotNull(FieldWorkidIdx))
- }
- // ChatIDEQ applies the EQ predicate on the "chat_id" field.
- func ChatIDEQ(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldChatID, v))
- }
- // ChatIDNEQ applies the NEQ predicate on the "chat_id" field.
- func ChatIDNEQ(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldChatID, v))
- }
- // ChatIDIn applies the In predicate on the "chat_id" field.
- func ChatIDIn(vs ...string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldChatID, vs...))
- }
- // ChatIDNotIn applies the NotIn predicate on the "chat_id" field.
- func ChatIDNotIn(vs ...string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldChatID, vs...))
- }
- // ChatIDGT applies the GT predicate on the "chat_id" field.
- func ChatIDGT(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldChatID, v))
- }
- // ChatIDGTE applies the GTE predicate on the "chat_id" field.
- func ChatIDGTE(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldChatID, v))
- }
- // ChatIDLT applies the LT predicate on the "chat_id" field.
- func ChatIDLT(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldChatID, v))
- }
- // ChatIDLTE applies the LTE predicate on the "chat_id" field.
- func ChatIDLTE(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldChatID, v))
- }
- // ChatIDContains applies the Contains predicate on the "chat_id" field.
- func ChatIDContains(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldContains(FieldChatID, v))
- }
- // ChatIDHasPrefix applies the HasPrefix predicate on the "chat_id" field.
- func ChatIDHasPrefix(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldHasPrefix(FieldChatID, v))
- }
- // ChatIDHasSuffix applies the HasSuffix predicate on the "chat_id" field.
- func ChatIDHasSuffix(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldHasSuffix(FieldChatID, v))
- }
- // ChatIDIsNil applies the IsNil predicate on the "chat_id" field.
- func ChatIDIsNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIsNull(FieldChatID))
- }
- // ChatIDNotNil applies the NotNil predicate on the "chat_id" field.
- func ChatIDNotNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotNull(FieldChatID))
- }
- // ChatIDEqualFold applies the EqualFold predicate on the "chat_id" field.
- func ChatIDEqualFold(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEqualFold(FieldChatID, v))
- }
- // ChatIDContainsFold applies the ContainsFold predicate on the "chat_id" field.
- func ChatIDContainsFold(v string) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldContainsFold(FieldChatID, v))
- }
- // RetryCountEQ applies the EQ predicate on the "retry_count" field.
- func RetryCountEQ(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldEQ(FieldRetryCount, v))
- }
- // RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
- func RetryCountNEQ(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNEQ(FieldRetryCount, v))
- }
- // RetryCountIn applies the In predicate on the "retry_count" field.
- func RetryCountIn(vs ...int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIn(FieldRetryCount, vs...))
- }
- // RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
- func RetryCountNotIn(vs ...int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotIn(FieldRetryCount, vs...))
- }
- // RetryCountGT applies the GT predicate on the "retry_count" field.
- func RetryCountGT(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGT(FieldRetryCount, v))
- }
- // RetryCountGTE applies the GTE predicate on the "retry_count" field.
- func RetryCountGTE(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldGTE(FieldRetryCount, v))
- }
- // RetryCountLT applies the LT predicate on the "retry_count" field.
- func RetryCountLT(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLT(FieldRetryCount, v))
- }
- // RetryCountLTE applies the LTE predicate on the "retry_count" field.
- func RetryCountLTE(v int8) predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldLTE(FieldRetryCount, v))
- }
- // RetryCountIsNil applies the IsNil predicate on the "retry_count" field.
- func RetryCountIsNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldIsNull(FieldRetryCount))
- }
- // RetryCountNotNil applies the NotNil predicate on the "retry_count" field.
- func RetryCountNotNil() predicate.CompapiJob {
- return predicate.CompapiJob(sql.FieldNotNull(FieldRetryCount))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.CompapiJob) predicate.CompapiJob {
- return predicate.CompapiJob(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.CompapiJob) predicate.CompapiJob {
- return predicate.CompapiJob(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.CompapiJob) predicate.CompapiJob {
- return predicate.CompapiJob(sql.NotPredicates(p))
- }
|