123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870 |
- // Code generated by ent, DO NOT EDIT.
- package xunji
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.Xunji {
- return predicate.Xunji(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.Xunji {
- return predicate.Xunji(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.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
- func Status(v uint8) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldStatus, v))
- }
- // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
- func DeletedAt(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldDeletedAt, v))
- }
- // AppKey applies equality check predicate on the "app_key" field. It's identical to AppKeyEQ.
- func AppKey(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAppKey, v))
- }
- // AppSecret applies equality check predicate on the "app_secret" field. It's identical to AppSecretEQ.
- func AppSecret(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAppSecret, v))
- }
- // Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
- func Token(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldToken, v))
- }
- // EncodingKey applies equality check predicate on the "encoding_key" field. It's identical to EncodingKeyEQ.
- func EncodingKey(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldEncodingKey, v))
- }
- // AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.
- func AgentID(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAgentID, v))
- }
- // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
- func OrganizationID(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldOrganizationID, v))
- }
- // Wxid applies equality check predicate on the "wxid" field. It's identical to WxidEQ.
- func Wxid(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldWxid, v))
- }
- // APIBase applies equality check predicate on the "api_base" field. It's identical to APIBaseEQ.
- func APIBase(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAPIBase, v))
- }
- // APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
- func APIKey(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAPIKey, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // StatusEQ applies the EQ predicate on the "status" field.
- func StatusEQ(v uint8) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldStatus, v))
- }
- // StatusNEQ applies the NEQ predicate on the "status" field.
- func StatusNEQ(v uint8) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldStatus, v))
- }
- // StatusIn applies the In predicate on the "status" field.
- func StatusIn(vs ...uint8) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldStatus, vs...))
- }
- // StatusNotIn applies the NotIn predicate on the "status" field.
- func StatusNotIn(vs ...uint8) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldStatus, vs...))
- }
- // StatusGT applies the GT predicate on the "status" field.
- func StatusGT(v uint8) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldStatus, v))
- }
- // StatusGTE applies the GTE predicate on the "status" field.
- func StatusGTE(v uint8) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldStatus, v))
- }
- // StatusLT applies the LT predicate on the "status" field.
- func StatusLT(v uint8) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldStatus, v))
- }
- // StatusLTE applies the LTE predicate on the "status" field.
- func StatusLTE(v uint8) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldStatus, v))
- }
- // StatusIsNil applies the IsNil predicate on the "status" field.
- func StatusIsNil() predicate.Xunji {
- return predicate.Xunji(sql.FieldIsNull(FieldStatus))
- }
- // StatusNotNil applies the NotNil predicate on the "status" field.
- func StatusNotNil() predicate.Xunji {
- return predicate.Xunji(sql.FieldNotNull(FieldStatus))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.Xunji {
- return predicate.Xunji(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.Xunji {
- return predicate.Xunji(sql.FieldNotNull(FieldDeletedAt))
- }
- // AppKeyEQ applies the EQ predicate on the "app_key" field.
- func AppKeyEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAppKey, v))
- }
- // AppKeyNEQ applies the NEQ predicate on the "app_key" field.
- func AppKeyNEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldAppKey, v))
- }
- // AppKeyIn applies the In predicate on the "app_key" field.
- func AppKeyIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldAppKey, vs...))
- }
- // AppKeyNotIn applies the NotIn predicate on the "app_key" field.
- func AppKeyNotIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldAppKey, vs...))
- }
- // AppKeyGT applies the GT predicate on the "app_key" field.
- func AppKeyGT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldAppKey, v))
- }
- // AppKeyGTE applies the GTE predicate on the "app_key" field.
- func AppKeyGTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldAppKey, v))
- }
- // AppKeyLT applies the LT predicate on the "app_key" field.
- func AppKeyLT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldAppKey, v))
- }
- // AppKeyLTE applies the LTE predicate on the "app_key" field.
- func AppKeyLTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldAppKey, v))
- }
- // AppKeyContains applies the Contains predicate on the "app_key" field.
- func AppKeyContains(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContains(FieldAppKey, v))
- }
- // AppKeyHasPrefix applies the HasPrefix predicate on the "app_key" field.
- func AppKeyHasPrefix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasPrefix(FieldAppKey, v))
- }
- // AppKeyHasSuffix applies the HasSuffix predicate on the "app_key" field.
- func AppKeyHasSuffix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasSuffix(FieldAppKey, v))
- }
- // AppKeyEqualFold applies the EqualFold predicate on the "app_key" field.
- func AppKeyEqualFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEqualFold(FieldAppKey, v))
- }
- // AppKeyContainsFold applies the ContainsFold predicate on the "app_key" field.
- func AppKeyContainsFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContainsFold(FieldAppKey, v))
- }
- // AppSecretEQ applies the EQ predicate on the "app_secret" field.
- func AppSecretEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAppSecret, v))
- }
- // AppSecretNEQ applies the NEQ predicate on the "app_secret" field.
- func AppSecretNEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldAppSecret, v))
- }
- // AppSecretIn applies the In predicate on the "app_secret" field.
- func AppSecretIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldAppSecret, vs...))
- }
- // AppSecretNotIn applies the NotIn predicate on the "app_secret" field.
- func AppSecretNotIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldAppSecret, vs...))
- }
- // AppSecretGT applies the GT predicate on the "app_secret" field.
- func AppSecretGT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldAppSecret, v))
- }
- // AppSecretGTE applies the GTE predicate on the "app_secret" field.
- func AppSecretGTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldAppSecret, v))
- }
- // AppSecretLT applies the LT predicate on the "app_secret" field.
- func AppSecretLT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldAppSecret, v))
- }
- // AppSecretLTE applies the LTE predicate on the "app_secret" field.
- func AppSecretLTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldAppSecret, v))
- }
- // AppSecretContains applies the Contains predicate on the "app_secret" field.
- func AppSecretContains(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContains(FieldAppSecret, v))
- }
- // AppSecretHasPrefix applies the HasPrefix predicate on the "app_secret" field.
- func AppSecretHasPrefix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasPrefix(FieldAppSecret, v))
- }
- // AppSecretHasSuffix applies the HasSuffix predicate on the "app_secret" field.
- func AppSecretHasSuffix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasSuffix(FieldAppSecret, v))
- }
- // AppSecretEqualFold applies the EqualFold predicate on the "app_secret" field.
- func AppSecretEqualFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEqualFold(FieldAppSecret, v))
- }
- // AppSecretContainsFold applies the ContainsFold predicate on the "app_secret" field.
- func AppSecretContainsFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContainsFold(FieldAppSecret, v))
- }
- // TokenEQ applies the EQ predicate on the "token" field.
- func TokenEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldToken, v))
- }
- // TokenNEQ applies the NEQ predicate on the "token" field.
- func TokenNEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldToken, v))
- }
- // TokenIn applies the In predicate on the "token" field.
- func TokenIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldToken, vs...))
- }
- // TokenNotIn applies the NotIn predicate on the "token" field.
- func TokenNotIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldToken, vs...))
- }
- // TokenGT applies the GT predicate on the "token" field.
- func TokenGT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldToken, v))
- }
- // TokenGTE applies the GTE predicate on the "token" field.
- func TokenGTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldToken, v))
- }
- // TokenLT applies the LT predicate on the "token" field.
- func TokenLT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldToken, v))
- }
- // TokenLTE applies the LTE predicate on the "token" field.
- func TokenLTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldToken, v))
- }
- // TokenContains applies the Contains predicate on the "token" field.
- func TokenContains(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContains(FieldToken, v))
- }
- // TokenHasPrefix applies the HasPrefix predicate on the "token" field.
- func TokenHasPrefix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasPrefix(FieldToken, v))
- }
- // TokenHasSuffix applies the HasSuffix predicate on the "token" field.
- func TokenHasSuffix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasSuffix(FieldToken, v))
- }
- // TokenEqualFold applies the EqualFold predicate on the "token" field.
- func TokenEqualFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEqualFold(FieldToken, v))
- }
- // TokenContainsFold applies the ContainsFold predicate on the "token" field.
- func TokenContainsFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContainsFold(FieldToken, v))
- }
- // EncodingKeyEQ applies the EQ predicate on the "encoding_key" field.
- func EncodingKeyEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldEncodingKey, v))
- }
- // EncodingKeyNEQ applies the NEQ predicate on the "encoding_key" field.
- func EncodingKeyNEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldEncodingKey, v))
- }
- // EncodingKeyIn applies the In predicate on the "encoding_key" field.
- func EncodingKeyIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldEncodingKey, vs...))
- }
- // EncodingKeyNotIn applies the NotIn predicate on the "encoding_key" field.
- func EncodingKeyNotIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldEncodingKey, vs...))
- }
- // EncodingKeyGT applies the GT predicate on the "encoding_key" field.
- func EncodingKeyGT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldEncodingKey, v))
- }
- // EncodingKeyGTE applies the GTE predicate on the "encoding_key" field.
- func EncodingKeyGTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldEncodingKey, v))
- }
- // EncodingKeyLT applies the LT predicate on the "encoding_key" field.
- func EncodingKeyLT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldEncodingKey, v))
- }
- // EncodingKeyLTE applies the LTE predicate on the "encoding_key" field.
- func EncodingKeyLTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldEncodingKey, v))
- }
- // EncodingKeyContains applies the Contains predicate on the "encoding_key" field.
- func EncodingKeyContains(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContains(FieldEncodingKey, v))
- }
- // EncodingKeyHasPrefix applies the HasPrefix predicate on the "encoding_key" field.
- func EncodingKeyHasPrefix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasPrefix(FieldEncodingKey, v))
- }
- // EncodingKeyHasSuffix applies the HasSuffix predicate on the "encoding_key" field.
- func EncodingKeyHasSuffix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasSuffix(FieldEncodingKey, v))
- }
- // EncodingKeyEqualFold applies the EqualFold predicate on the "encoding_key" field.
- func EncodingKeyEqualFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEqualFold(FieldEncodingKey, v))
- }
- // EncodingKeyContainsFold applies the ContainsFold predicate on the "encoding_key" field.
- func EncodingKeyContainsFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContainsFold(FieldEncodingKey, v))
- }
- // AgentIDEQ applies the EQ predicate on the "agent_id" field.
- func AgentIDEQ(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAgentID, v))
- }
- // AgentIDNEQ applies the NEQ predicate on the "agent_id" field.
- func AgentIDNEQ(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldAgentID, v))
- }
- // AgentIDIn applies the In predicate on the "agent_id" field.
- func AgentIDIn(vs ...uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldAgentID, vs...))
- }
- // AgentIDNotIn applies the NotIn predicate on the "agent_id" field.
- func AgentIDNotIn(vs ...uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldAgentID, vs...))
- }
- // AgentIDGT applies the GT predicate on the "agent_id" field.
- func AgentIDGT(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldAgentID, v))
- }
- // AgentIDGTE applies the GTE predicate on the "agent_id" field.
- func AgentIDGTE(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldAgentID, v))
- }
- // AgentIDLT applies the LT predicate on the "agent_id" field.
- func AgentIDLT(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldAgentID, v))
- }
- // AgentIDLTE applies the LTE predicate on the "agent_id" field.
- func AgentIDLTE(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldAgentID, v))
- }
- // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
- func OrganizationIDEQ(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
- func OrganizationIDNEQ(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldOrganizationID, v))
- }
- // OrganizationIDIn applies the In predicate on the "organization_id" field.
- func OrganizationIDIn(vs ...uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
- func OrganizationIDNotIn(vs ...uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDGT applies the GT predicate on the "organization_id" field.
- func OrganizationIDGT(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldOrganizationID, v))
- }
- // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
- func OrganizationIDGTE(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldOrganizationID, v))
- }
- // OrganizationIDLT applies the LT predicate on the "organization_id" field.
- func OrganizationIDLT(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldOrganizationID, v))
- }
- // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
- func OrganizationIDLTE(v uint64) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldOrganizationID, v))
- }
- // WxidEQ applies the EQ predicate on the "wxid" field.
- func WxidEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldWxid, v))
- }
- // WxidNEQ applies the NEQ predicate on the "wxid" field.
- func WxidNEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldWxid, v))
- }
- // WxidIn applies the In predicate on the "wxid" field.
- func WxidIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldWxid, vs...))
- }
- // WxidNotIn applies the NotIn predicate on the "wxid" field.
- func WxidNotIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldWxid, vs...))
- }
- // WxidGT applies the GT predicate on the "wxid" field.
- func WxidGT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldWxid, v))
- }
- // WxidGTE applies the GTE predicate on the "wxid" field.
- func WxidGTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldWxid, v))
- }
- // WxidLT applies the LT predicate on the "wxid" field.
- func WxidLT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldWxid, v))
- }
- // WxidLTE applies the LTE predicate on the "wxid" field.
- func WxidLTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldWxid, v))
- }
- // WxidContains applies the Contains predicate on the "wxid" field.
- func WxidContains(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContains(FieldWxid, v))
- }
- // WxidHasPrefix applies the HasPrefix predicate on the "wxid" field.
- func WxidHasPrefix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasPrefix(FieldWxid, v))
- }
- // WxidHasSuffix applies the HasSuffix predicate on the "wxid" field.
- func WxidHasSuffix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasSuffix(FieldWxid, v))
- }
- // WxidEqualFold applies the EqualFold predicate on the "wxid" field.
- func WxidEqualFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEqualFold(FieldWxid, v))
- }
- // WxidContainsFold applies the ContainsFold predicate on the "wxid" field.
- func WxidContainsFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContainsFold(FieldWxid, v))
- }
- // APIBaseEQ applies the EQ predicate on the "api_base" field.
- func APIBaseEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAPIBase, v))
- }
- // APIBaseNEQ applies the NEQ predicate on the "api_base" field.
- func APIBaseNEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldAPIBase, v))
- }
- // APIBaseIn applies the In predicate on the "api_base" field.
- func APIBaseIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldAPIBase, vs...))
- }
- // APIBaseNotIn applies the NotIn predicate on the "api_base" field.
- func APIBaseNotIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldAPIBase, vs...))
- }
- // APIBaseGT applies the GT predicate on the "api_base" field.
- func APIBaseGT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldAPIBase, v))
- }
- // APIBaseGTE applies the GTE predicate on the "api_base" field.
- func APIBaseGTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldAPIBase, v))
- }
- // APIBaseLT applies the LT predicate on the "api_base" field.
- func APIBaseLT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldAPIBase, v))
- }
- // APIBaseLTE applies the LTE predicate on the "api_base" field.
- func APIBaseLTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldAPIBase, v))
- }
- // APIBaseContains applies the Contains predicate on the "api_base" field.
- func APIBaseContains(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContains(FieldAPIBase, v))
- }
- // APIBaseHasPrefix applies the HasPrefix predicate on the "api_base" field.
- func APIBaseHasPrefix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasPrefix(FieldAPIBase, v))
- }
- // APIBaseHasSuffix applies the HasSuffix predicate on the "api_base" field.
- func APIBaseHasSuffix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasSuffix(FieldAPIBase, v))
- }
- // APIBaseIsNil applies the IsNil predicate on the "api_base" field.
- func APIBaseIsNil() predicate.Xunji {
- return predicate.Xunji(sql.FieldIsNull(FieldAPIBase))
- }
- // APIBaseNotNil applies the NotNil predicate on the "api_base" field.
- func APIBaseNotNil() predicate.Xunji {
- return predicate.Xunji(sql.FieldNotNull(FieldAPIBase))
- }
- // APIBaseEqualFold applies the EqualFold predicate on the "api_base" field.
- func APIBaseEqualFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEqualFold(FieldAPIBase, v))
- }
- // APIBaseContainsFold applies the ContainsFold predicate on the "api_base" field.
- func APIBaseContainsFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContainsFold(FieldAPIBase, v))
- }
- // APIKeyEQ applies the EQ predicate on the "api_key" field.
- func APIKeyEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEQ(FieldAPIKey, v))
- }
- // APIKeyNEQ applies the NEQ predicate on the "api_key" field.
- func APIKeyNEQ(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNEQ(FieldAPIKey, v))
- }
- // APIKeyIn applies the In predicate on the "api_key" field.
- func APIKeyIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldIn(FieldAPIKey, vs...))
- }
- // APIKeyNotIn applies the NotIn predicate on the "api_key" field.
- func APIKeyNotIn(vs ...string) predicate.Xunji {
- return predicate.Xunji(sql.FieldNotIn(FieldAPIKey, vs...))
- }
- // APIKeyGT applies the GT predicate on the "api_key" field.
- func APIKeyGT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGT(FieldAPIKey, v))
- }
- // APIKeyGTE applies the GTE predicate on the "api_key" field.
- func APIKeyGTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldGTE(FieldAPIKey, v))
- }
- // APIKeyLT applies the LT predicate on the "api_key" field.
- func APIKeyLT(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLT(FieldAPIKey, v))
- }
- // APIKeyLTE applies the LTE predicate on the "api_key" field.
- func APIKeyLTE(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldLTE(FieldAPIKey, v))
- }
- // APIKeyContains applies the Contains predicate on the "api_key" field.
- func APIKeyContains(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContains(FieldAPIKey, v))
- }
- // APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
- func APIKeyHasPrefix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasPrefix(FieldAPIKey, v))
- }
- // APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
- func APIKeyHasSuffix(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldHasSuffix(FieldAPIKey, v))
- }
- // APIKeyIsNil applies the IsNil predicate on the "api_key" field.
- func APIKeyIsNil() predicate.Xunji {
- return predicate.Xunji(sql.FieldIsNull(FieldAPIKey))
- }
- // APIKeyNotNil applies the NotNil predicate on the "api_key" field.
- func APIKeyNotNil() predicate.Xunji {
- return predicate.Xunji(sql.FieldNotNull(FieldAPIKey))
- }
- // APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
- func APIKeyEqualFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldEqualFold(FieldAPIKey, v))
- }
- // APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
- func APIKeyContainsFold(v string) predicate.Xunji {
- return predicate.Xunji(sql.FieldContainsFold(FieldAPIKey, v))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.Xunji) predicate.Xunji {
- return predicate.Xunji(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.Xunji) predicate.Xunji {
- return predicate.Xunji(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.Xunji) predicate.Xunji {
- return predicate.Xunji(sql.NotPredicates(p))
- }
|