123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332 |
- // Code generated by ent, DO NOT EDIT.
- package contact
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- "entgo.io/ent/dialect/sql/sqlgraph"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.Contact {
- return predicate.Contact(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.Contact {
- return predicate.Contact(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.Contact {
- return predicate.Contact(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
- func Status(v uint8) predicate.Contact {
- return predicate.Contact(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.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDeletedAt, v))
- }
- // WxWxid applies equality check predicate on the "wx_wxid" field. It's identical to WxWxidEQ.
- func WxWxid(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldWxWxid, v))
- }
- // Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
- func Type(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldType, v))
- }
- // Wxid applies equality check predicate on the "wxid" field. It's identical to WxidEQ.
- func Wxid(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldWxid, v))
- }
- // Account applies equality check predicate on the "account" field. It's identical to AccountEQ.
- func Account(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldAccount, v))
- }
- // Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
- func Nickname(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldNickname, v))
- }
- // Markname applies equality check predicate on the "markname" field. It's identical to MarknameEQ.
- func Markname(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldMarkname, v))
- }
- // Headimg applies equality check predicate on the "headimg" field. It's identical to HeadimgEQ.
- func Headimg(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldHeadimg, v))
- }
- // Sex applies equality check predicate on the "sex" field. It's identical to SexEQ.
- func Sex(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldSex, v))
- }
- // Starrole applies equality check predicate on the "starrole" field. It's identical to StarroleEQ.
- func Starrole(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldStarrole, v))
- }
- // Dontseeit applies equality check predicate on the "dontseeit" field. It's identical to DontseeitEQ.
- func Dontseeit(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDontseeit, v))
- }
- // Dontseeme applies equality check predicate on the "dontseeme" field. It's identical to DontseemeEQ.
- func Dontseeme(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDontseeme, v))
- }
- // Lag applies equality check predicate on the "lag" field. It's identical to LagEQ.
- func Lag(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldLag, v))
- }
- // Gid applies equality check predicate on the "gid" field. It's identical to GidEQ.
- func Gid(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldGid, v))
- }
- // Gname applies equality check predicate on the "gname" field. It's identical to GnameEQ.
- func Gname(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldGname, v))
- }
- // V3 applies equality check predicate on the "v3" field. It's identical to V3EQ.
- func V3(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldV3, v))
- }
- // OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
- func OrganizationID(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldOrganizationID, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // StatusEQ applies the EQ predicate on the "status" field.
- func StatusEQ(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldStatus, v))
- }
- // StatusNEQ applies the NEQ predicate on the "status" field.
- func StatusNEQ(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldStatus, v))
- }
- // StatusIn applies the In predicate on the "status" field.
- func StatusIn(vs ...uint8) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldStatus, vs...))
- }
- // StatusNotIn applies the NotIn predicate on the "status" field.
- func StatusNotIn(vs ...uint8) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldStatus, vs...))
- }
- // StatusGT applies the GT predicate on the "status" field.
- func StatusGT(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldStatus, v))
- }
- // StatusGTE applies the GTE predicate on the "status" field.
- func StatusGTE(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldStatus, v))
- }
- // StatusLT applies the LT predicate on the "status" field.
- func StatusLT(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldStatus, v))
- }
- // StatusLTE applies the LTE predicate on the "status" field.
- func StatusLTE(v uint8) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldStatus, v))
- }
- // StatusIsNil applies the IsNil predicate on the "status" field.
- func StatusIsNil() predicate.Contact {
- return predicate.Contact(sql.FieldIsNull(FieldStatus))
- }
- // StatusNotNil applies the NotNil predicate on the "status" field.
- func StatusNotNil() predicate.Contact {
- return predicate.Contact(sql.FieldNotNull(FieldStatus))
- }
- // DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
- func DeletedAtEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDeletedAt, v))
- }
- // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
- func DeletedAtNEQ(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldDeletedAt, v))
- }
- // DeletedAtIn applies the In predicate on the "deleted_at" field.
- func DeletedAtIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldDeletedAt, vs...))
- }
- // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
- func DeletedAtNotIn(vs ...time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldDeletedAt, vs...))
- }
- // DeletedAtGT applies the GT predicate on the "deleted_at" field.
- func DeletedAtGT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldDeletedAt, v))
- }
- // DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
- func DeletedAtGTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldDeletedAt, v))
- }
- // DeletedAtLT applies the LT predicate on the "deleted_at" field.
- func DeletedAtLT(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldDeletedAt, v))
- }
- // DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
- func DeletedAtLTE(v time.Time) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldDeletedAt, v))
- }
- // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
- func DeletedAtIsNil() predicate.Contact {
- return predicate.Contact(sql.FieldIsNull(FieldDeletedAt))
- }
- // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
- func DeletedAtNotNil() predicate.Contact {
- return predicate.Contact(sql.FieldNotNull(FieldDeletedAt))
- }
- // WxWxidEQ applies the EQ predicate on the "wx_wxid" field.
- func WxWxidEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldWxWxid, v))
- }
- // WxWxidNEQ applies the NEQ predicate on the "wx_wxid" field.
- func WxWxidNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldWxWxid, v))
- }
- // WxWxidIn applies the In predicate on the "wx_wxid" field.
- func WxWxidIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldWxWxid, vs...))
- }
- // WxWxidNotIn applies the NotIn predicate on the "wx_wxid" field.
- func WxWxidNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldWxWxid, vs...))
- }
- // WxWxidGT applies the GT predicate on the "wx_wxid" field.
- func WxWxidGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldWxWxid, v))
- }
- // WxWxidGTE applies the GTE predicate on the "wx_wxid" field.
- func WxWxidGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldWxWxid, v))
- }
- // WxWxidLT applies the LT predicate on the "wx_wxid" field.
- func WxWxidLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldWxWxid, v))
- }
- // WxWxidLTE applies the LTE predicate on the "wx_wxid" field.
- func WxWxidLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldWxWxid, v))
- }
- // WxWxidContains applies the Contains predicate on the "wx_wxid" field.
- func WxWxidContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldWxWxid, v))
- }
- // WxWxidHasPrefix applies the HasPrefix predicate on the "wx_wxid" field.
- func WxWxidHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldWxWxid, v))
- }
- // WxWxidHasSuffix applies the HasSuffix predicate on the "wx_wxid" field.
- func WxWxidHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldWxWxid, v))
- }
- // WxWxidEqualFold applies the EqualFold predicate on the "wx_wxid" field.
- func WxWxidEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldWxWxid, v))
- }
- // WxWxidContainsFold applies the ContainsFold predicate on the "wx_wxid" field.
- func WxWxidContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldWxWxid, v))
- }
- // TypeEQ applies the EQ predicate on the "type" field.
- func TypeEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldType, v))
- }
- // TypeNEQ applies the NEQ predicate on the "type" field.
- func TypeNEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldType, v))
- }
- // TypeIn applies the In predicate on the "type" field.
- func TypeIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldType, vs...))
- }
- // TypeNotIn applies the NotIn predicate on the "type" field.
- func TypeNotIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldType, vs...))
- }
- // TypeGT applies the GT predicate on the "type" field.
- func TypeGT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldType, v))
- }
- // TypeGTE applies the GTE predicate on the "type" field.
- func TypeGTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldType, v))
- }
- // TypeLT applies the LT predicate on the "type" field.
- func TypeLT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldType, v))
- }
- // TypeLTE applies the LTE predicate on the "type" field.
- func TypeLTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldType, v))
- }
- // TypeIsNil applies the IsNil predicate on the "type" field.
- func TypeIsNil() predicate.Contact {
- return predicate.Contact(sql.FieldIsNull(FieldType))
- }
- // TypeNotNil applies the NotNil predicate on the "type" field.
- func TypeNotNil() predicate.Contact {
- return predicate.Contact(sql.FieldNotNull(FieldType))
- }
- // WxidEQ applies the EQ predicate on the "wxid" field.
- func WxidEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldWxid, v))
- }
- // WxidNEQ applies the NEQ predicate on the "wxid" field.
- func WxidNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldWxid, v))
- }
- // WxidIn applies the In predicate on the "wxid" field.
- func WxidIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldWxid, vs...))
- }
- // WxidNotIn applies the NotIn predicate on the "wxid" field.
- func WxidNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldWxid, vs...))
- }
- // WxidGT applies the GT predicate on the "wxid" field.
- func WxidGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldWxid, v))
- }
- // WxidGTE applies the GTE predicate on the "wxid" field.
- func WxidGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldWxid, v))
- }
- // WxidLT applies the LT predicate on the "wxid" field.
- func WxidLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldWxid, v))
- }
- // WxidLTE applies the LTE predicate on the "wxid" field.
- func WxidLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldWxid, v))
- }
- // WxidContains applies the Contains predicate on the "wxid" field.
- func WxidContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldWxid, v))
- }
- // WxidHasPrefix applies the HasPrefix predicate on the "wxid" field.
- func WxidHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldWxid, v))
- }
- // WxidHasSuffix applies the HasSuffix predicate on the "wxid" field.
- func WxidHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldWxid, v))
- }
- // WxidEqualFold applies the EqualFold predicate on the "wxid" field.
- func WxidEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldWxid, v))
- }
- // WxidContainsFold applies the ContainsFold predicate on the "wxid" field.
- func WxidContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldWxid, v))
- }
- // AccountEQ applies the EQ predicate on the "account" field.
- func AccountEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldAccount, v))
- }
- // AccountNEQ applies the NEQ predicate on the "account" field.
- func AccountNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldAccount, v))
- }
- // AccountIn applies the In predicate on the "account" field.
- func AccountIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldAccount, vs...))
- }
- // AccountNotIn applies the NotIn predicate on the "account" field.
- func AccountNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldAccount, vs...))
- }
- // AccountGT applies the GT predicate on the "account" field.
- func AccountGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldAccount, v))
- }
- // AccountGTE applies the GTE predicate on the "account" field.
- func AccountGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldAccount, v))
- }
- // AccountLT applies the LT predicate on the "account" field.
- func AccountLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldAccount, v))
- }
- // AccountLTE applies the LTE predicate on the "account" field.
- func AccountLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldAccount, v))
- }
- // AccountContains applies the Contains predicate on the "account" field.
- func AccountContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldAccount, v))
- }
- // AccountHasPrefix applies the HasPrefix predicate on the "account" field.
- func AccountHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldAccount, v))
- }
- // AccountHasSuffix applies the HasSuffix predicate on the "account" field.
- func AccountHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldAccount, v))
- }
- // AccountEqualFold applies the EqualFold predicate on the "account" field.
- func AccountEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldAccount, v))
- }
- // AccountContainsFold applies the ContainsFold predicate on the "account" field.
- func AccountContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldAccount, v))
- }
- // NicknameEQ applies the EQ predicate on the "nickname" field.
- func NicknameEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldNickname, v))
- }
- // NicknameNEQ applies the NEQ predicate on the "nickname" field.
- func NicknameNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldNickname, v))
- }
- // NicknameIn applies the In predicate on the "nickname" field.
- func NicknameIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldNickname, vs...))
- }
- // NicknameNotIn applies the NotIn predicate on the "nickname" field.
- func NicknameNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldNickname, vs...))
- }
- // NicknameGT applies the GT predicate on the "nickname" field.
- func NicknameGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldNickname, v))
- }
- // NicknameGTE applies the GTE predicate on the "nickname" field.
- func NicknameGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldNickname, v))
- }
- // NicknameLT applies the LT predicate on the "nickname" field.
- func NicknameLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldNickname, v))
- }
- // NicknameLTE applies the LTE predicate on the "nickname" field.
- func NicknameLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldNickname, v))
- }
- // NicknameContains applies the Contains predicate on the "nickname" field.
- func NicknameContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldNickname, v))
- }
- // NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
- func NicknameHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldNickname, v))
- }
- // NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
- func NicknameHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldNickname, v))
- }
- // NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
- func NicknameEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldNickname, v))
- }
- // NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
- func NicknameContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldNickname, v))
- }
- // MarknameEQ applies the EQ predicate on the "markname" field.
- func MarknameEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldMarkname, v))
- }
- // MarknameNEQ applies the NEQ predicate on the "markname" field.
- func MarknameNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldMarkname, v))
- }
- // MarknameIn applies the In predicate on the "markname" field.
- func MarknameIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldMarkname, vs...))
- }
- // MarknameNotIn applies the NotIn predicate on the "markname" field.
- func MarknameNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldMarkname, vs...))
- }
- // MarknameGT applies the GT predicate on the "markname" field.
- func MarknameGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldMarkname, v))
- }
- // MarknameGTE applies the GTE predicate on the "markname" field.
- func MarknameGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldMarkname, v))
- }
- // MarknameLT applies the LT predicate on the "markname" field.
- func MarknameLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldMarkname, v))
- }
- // MarknameLTE applies the LTE predicate on the "markname" field.
- func MarknameLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldMarkname, v))
- }
- // MarknameContains applies the Contains predicate on the "markname" field.
- func MarknameContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldMarkname, v))
- }
- // MarknameHasPrefix applies the HasPrefix predicate on the "markname" field.
- func MarknameHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldMarkname, v))
- }
- // MarknameHasSuffix applies the HasSuffix predicate on the "markname" field.
- func MarknameHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldMarkname, v))
- }
- // MarknameEqualFold applies the EqualFold predicate on the "markname" field.
- func MarknameEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldMarkname, v))
- }
- // MarknameContainsFold applies the ContainsFold predicate on the "markname" field.
- func MarknameContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldMarkname, v))
- }
- // HeadimgEQ applies the EQ predicate on the "headimg" field.
- func HeadimgEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldHeadimg, v))
- }
- // HeadimgNEQ applies the NEQ predicate on the "headimg" field.
- func HeadimgNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldHeadimg, v))
- }
- // HeadimgIn applies the In predicate on the "headimg" field.
- func HeadimgIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldHeadimg, vs...))
- }
- // HeadimgNotIn applies the NotIn predicate on the "headimg" field.
- func HeadimgNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldHeadimg, vs...))
- }
- // HeadimgGT applies the GT predicate on the "headimg" field.
- func HeadimgGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldHeadimg, v))
- }
- // HeadimgGTE applies the GTE predicate on the "headimg" field.
- func HeadimgGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldHeadimg, v))
- }
- // HeadimgLT applies the LT predicate on the "headimg" field.
- func HeadimgLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldHeadimg, v))
- }
- // HeadimgLTE applies the LTE predicate on the "headimg" field.
- func HeadimgLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldHeadimg, v))
- }
- // HeadimgContains applies the Contains predicate on the "headimg" field.
- func HeadimgContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldHeadimg, v))
- }
- // HeadimgHasPrefix applies the HasPrefix predicate on the "headimg" field.
- func HeadimgHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldHeadimg, v))
- }
- // HeadimgHasSuffix applies the HasSuffix predicate on the "headimg" field.
- func HeadimgHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldHeadimg, v))
- }
- // HeadimgEqualFold applies the EqualFold predicate on the "headimg" field.
- func HeadimgEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldHeadimg, v))
- }
- // HeadimgContainsFold applies the ContainsFold predicate on the "headimg" field.
- func HeadimgContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldHeadimg, v))
- }
- // SexEQ applies the EQ predicate on the "sex" field.
- func SexEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldSex, v))
- }
- // SexNEQ applies the NEQ predicate on the "sex" field.
- func SexNEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldSex, v))
- }
- // SexIn applies the In predicate on the "sex" field.
- func SexIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldSex, vs...))
- }
- // SexNotIn applies the NotIn predicate on the "sex" field.
- func SexNotIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldSex, vs...))
- }
- // SexGT applies the GT predicate on the "sex" field.
- func SexGT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldSex, v))
- }
- // SexGTE applies the GTE predicate on the "sex" field.
- func SexGTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldSex, v))
- }
- // SexLT applies the LT predicate on the "sex" field.
- func SexLT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldSex, v))
- }
- // SexLTE applies the LTE predicate on the "sex" field.
- func SexLTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldSex, v))
- }
- // StarroleEQ applies the EQ predicate on the "starrole" field.
- func StarroleEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldStarrole, v))
- }
- // StarroleNEQ applies the NEQ predicate on the "starrole" field.
- func StarroleNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldStarrole, v))
- }
- // StarroleIn applies the In predicate on the "starrole" field.
- func StarroleIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldStarrole, vs...))
- }
- // StarroleNotIn applies the NotIn predicate on the "starrole" field.
- func StarroleNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldStarrole, vs...))
- }
- // StarroleGT applies the GT predicate on the "starrole" field.
- func StarroleGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldStarrole, v))
- }
- // StarroleGTE applies the GTE predicate on the "starrole" field.
- func StarroleGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldStarrole, v))
- }
- // StarroleLT applies the LT predicate on the "starrole" field.
- func StarroleLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldStarrole, v))
- }
- // StarroleLTE applies the LTE predicate on the "starrole" field.
- func StarroleLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldStarrole, v))
- }
- // StarroleContains applies the Contains predicate on the "starrole" field.
- func StarroleContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldStarrole, v))
- }
- // StarroleHasPrefix applies the HasPrefix predicate on the "starrole" field.
- func StarroleHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldStarrole, v))
- }
- // StarroleHasSuffix applies the HasSuffix predicate on the "starrole" field.
- func StarroleHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldStarrole, v))
- }
- // StarroleEqualFold applies the EqualFold predicate on the "starrole" field.
- func StarroleEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldStarrole, v))
- }
- // StarroleContainsFold applies the ContainsFold predicate on the "starrole" field.
- func StarroleContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldStarrole, v))
- }
- // DontseeitEQ applies the EQ predicate on the "dontseeit" field.
- func DontseeitEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDontseeit, v))
- }
- // DontseeitNEQ applies the NEQ predicate on the "dontseeit" field.
- func DontseeitNEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldDontseeit, v))
- }
- // DontseeitIn applies the In predicate on the "dontseeit" field.
- func DontseeitIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldDontseeit, vs...))
- }
- // DontseeitNotIn applies the NotIn predicate on the "dontseeit" field.
- func DontseeitNotIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldDontseeit, vs...))
- }
- // DontseeitGT applies the GT predicate on the "dontseeit" field.
- func DontseeitGT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldDontseeit, v))
- }
- // DontseeitGTE applies the GTE predicate on the "dontseeit" field.
- func DontseeitGTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldDontseeit, v))
- }
- // DontseeitLT applies the LT predicate on the "dontseeit" field.
- func DontseeitLT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldDontseeit, v))
- }
- // DontseeitLTE applies the LTE predicate on the "dontseeit" field.
- func DontseeitLTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldDontseeit, v))
- }
- // DontseemeEQ applies the EQ predicate on the "dontseeme" field.
- func DontseemeEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldDontseeme, v))
- }
- // DontseemeNEQ applies the NEQ predicate on the "dontseeme" field.
- func DontseemeNEQ(v int) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldDontseeme, v))
- }
- // DontseemeIn applies the In predicate on the "dontseeme" field.
- func DontseemeIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldDontseeme, vs...))
- }
- // DontseemeNotIn applies the NotIn predicate on the "dontseeme" field.
- func DontseemeNotIn(vs ...int) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldDontseeme, vs...))
- }
- // DontseemeGT applies the GT predicate on the "dontseeme" field.
- func DontseemeGT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldDontseeme, v))
- }
- // DontseemeGTE applies the GTE predicate on the "dontseeme" field.
- func DontseemeGTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldDontseeme, v))
- }
- // DontseemeLT applies the LT predicate on the "dontseeme" field.
- func DontseemeLT(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldDontseeme, v))
- }
- // DontseemeLTE applies the LTE predicate on the "dontseeme" field.
- func DontseemeLTE(v int) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldDontseeme, v))
- }
- // LagEQ applies the EQ predicate on the "lag" field.
- func LagEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldLag, v))
- }
- // LagNEQ applies the NEQ predicate on the "lag" field.
- func LagNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldLag, v))
- }
- // LagIn applies the In predicate on the "lag" field.
- func LagIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldLag, vs...))
- }
- // LagNotIn applies the NotIn predicate on the "lag" field.
- func LagNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldLag, vs...))
- }
- // LagGT applies the GT predicate on the "lag" field.
- func LagGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldLag, v))
- }
- // LagGTE applies the GTE predicate on the "lag" field.
- func LagGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldLag, v))
- }
- // LagLT applies the LT predicate on the "lag" field.
- func LagLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldLag, v))
- }
- // LagLTE applies the LTE predicate on the "lag" field.
- func LagLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldLag, v))
- }
- // LagContains applies the Contains predicate on the "lag" field.
- func LagContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldLag, v))
- }
- // LagHasPrefix applies the HasPrefix predicate on the "lag" field.
- func LagHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldLag, v))
- }
- // LagHasSuffix applies the HasSuffix predicate on the "lag" field.
- func LagHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldLag, v))
- }
- // LagEqualFold applies the EqualFold predicate on the "lag" field.
- func LagEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldLag, v))
- }
- // LagContainsFold applies the ContainsFold predicate on the "lag" field.
- func LagContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldLag, v))
- }
- // GidEQ applies the EQ predicate on the "gid" field.
- func GidEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldGid, v))
- }
- // GidNEQ applies the NEQ predicate on the "gid" field.
- func GidNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldGid, v))
- }
- // GidIn applies the In predicate on the "gid" field.
- func GidIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldGid, vs...))
- }
- // GidNotIn applies the NotIn predicate on the "gid" field.
- func GidNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldGid, vs...))
- }
- // GidGT applies the GT predicate on the "gid" field.
- func GidGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldGid, v))
- }
- // GidGTE applies the GTE predicate on the "gid" field.
- func GidGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldGid, v))
- }
- // GidLT applies the LT predicate on the "gid" field.
- func GidLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldGid, v))
- }
- // GidLTE applies the LTE predicate on the "gid" field.
- func GidLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldGid, v))
- }
- // GidContains applies the Contains predicate on the "gid" field.
- func GidContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldGid, v))
- }
- // GidHasPrefix applies the HasPrefix predicate on the "gid" field.
- func GidHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldGid, v))
- }
- // GidHasSuffix applies the HasSuffix predicate on the "gid" field.
- func GidHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldGid, v))
- }
- // GidEqualFold applies the EqualFold predicate on the "gid" field.
- func GidEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldGid, v))
- }
- // GidContainsFold applies the ContainsFold predicate on the "gid" field.
- func GidContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldGid, v))
- }
- // GnameEQ applies the EQ predicate on the "gname" field.
- func GnameEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldGname, v))
- }
- // GnameNEQ applies the NEQ predicate on the "gname" field.
- func GnameNEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldGname, v))
- }
- // GnameIn applies the In predicate on the "gname" field.
- func GnameIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldGname, vs...))
- }
- // GnameNotIn applies the NotIn predicate on the "gname" field.
- func GnameNotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldGname, vs...))
- }
- // GnameGT applies the GT predicate on the "gname" field.
- func GnameGT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldGname, v))
- }
- // GnameGTE applies the GTE predicate on the "gname" field.
- func GnameGTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldGname, v))
- }
- // GnameLT applies the LT predicate on the "gname" field.
- func GnameLT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldGname, v))
- }
- // GnameLTE applies the LTE predicate on the "gname" field.
- func GnameLTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldGname, v))
- }
- // GnameContains applies the Contains predicate on the "gname" field.
- func GnameContains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldGname, v))
- }
- // GnameHasPrefix applies the HasPrefix predicate on the "gname" field.
- func GnameHasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldGname, v))
- }
- // GnameHasSuffix applies the HasSuffix predicate on the "gname" field.
- func GnameHasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldGname, v))
- }
- // GnameEqualFold applies the EqualFold predicate on the "gname" field.
- func GnameEqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldGname, v))
- }
- // GnameContainsFold applies the ContainsFold predicate on the "gname" field.
- func GnameContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldGname, v))
- }
- // V3EQ applies the EQ predicate on the "v3" field.
- func V3EQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldV3, v))
- }
- // V3NEQ applies the NEQ predicate on the "v3" field.
- func V3NEQ(v string) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldV3, v))
- }
- // V3In applies the In predicate on the "v3" field.
- func V3In(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldV3, vs...))
- }
- // V3NotIn applies the NotIn predicate on the "v3" field.
- func V3NotIn(vs ...string) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldV3, vs...))
- }
- // V3GT applies the GT predicate on the "v3" field.
- func V3GT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldV3, v))
- }
- // V3GTE applies the GTE predicate on the "v3" field.
- func V3GTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldV3, v))
- }
- // V3LT applies the LT predicate on the "v3" field.
- func V3LT(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldV3, v))
- }
- // V3LTE applies the LTE predicate on the "v3" field.
- func V3LTE(v string) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldV3, v))
- }
- // V3Contains applies the Contains predicate on the "v3" field.
- func V3Contains(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContains(FieldV3, v))
- }
- // V3HasPrefix applies the HasPrefix predicate on the "v3" field.
- func V3HasPrefix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasPrefix(FieldV3, v))
- }
- // V3HasSuffix applies the HasSuffix predicate on the "v3" field.
- func V3HasSuffix(v string) predicate.Contact {
- return predicate.Contact(sql.FieldHasSuffix(FieldV3, v))
- }
- // V3EqualFold applies the EqualFold predicate on the "v3" field.
- func V3EqualFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldEqualFold(FieldV3, v))
- }
- // V3ContainsFold applies the ContainsFold predicate on the "v3" field.
- func V3ContainsFold(v string) predicate.Contact {
- return predicate.Contact(sql.FieldContainsFold(FieldV3, v))
- }
- // OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
- func OrganizationIDEQ(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldEQ(FieldOrganizationID, v))
- }
- // OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
- func OrganizationIDNEQ(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNEQ(FieldOrganizationID, v))
- }
- // OrganizationIDIn applies the In predicate on the "organization_id" field.
- func OrganizationIDIn(vs ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
- func OrganizationIDNotIn(vs ...uint64) predicate.Contact {
- return predicate.Contact(sql.FieldNotIn(FieldOrganizationID, vs...))
- }
- // OrganizationIDGT applies the GT predicate on the "organization_id" field.
- func OrganizationIDGT(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGT(FieldOrganizationID, v))
- }
- // OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
- func OrganizationIDGTE(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldGTE(FieldOrganizationID, v))
- }
- // OrganizationIDLT applies the LT predicate on the "organization_id" field.
- func OrganizationIDLT(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldLT(FieldOrganizationID, v))
- }
- // OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
- func OrganizationIDLTE(v uint64) predicate.Contact {
- return predicate.Contact(sql.FieldLTE(FieldOrganizationID, v))
- }
- // OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
- func OrganizationIDIsNil() predicate.Contact {
- return predicate.Contact(sql.FieldIsNull(FieldOrganizationID))
- }
- // OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
- func OrganizationIDNotNil() predicate.Contact {
- return predicate.Contact(sql.FieldNotNull(FieldOrganizationID))
- }
- // HasContactRelationships applies the HasEdge predicate on the "contact_relationships" edge.
- func HasContactRelationships() predicate.Contact {
- return predicate.Contact(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.O2M, false, ContactRelationshipsTable, ContactRelationshipsColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasContactRelationshipsWith applies the HasEdge predicate on the "contact_relationships" edge with a given conditions (other predicates).
- func HasContactRelationshipsWith(preds ...predicate.LabelRelationship) predicate.Contact {
- return predicate.Contact(func(s *sql.Selector) {
- step := newContactRelationshipsStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // HasContactMessages applies the HasEdge predicate on the "contact_messages" edge.
- func HasContactMessages() predicate.Contact {
- return predicate.Contact(func(s *sql.Selector) {
- step := sqlgraph.NewStep(
- sqlgraph.From(Table, FieldID),
- sqlgraph.Edge(sqlgraph.O2M, false, ContactMessagesTable, ContactMessagesColumn),
- )
- sqlgraph.HasNeighbors(s, step)
- })
- }
- // HasContactMessagesWith applies the HasEdge predicate on the "contact_messages" edge with a given conditions (other predicates).
- func HasContactMessagesWith(preds ...predicate.MessageRecords) predicate.Contact {
- return predicate.Contact(func(s *sql.Selector) {
- step := newContactMessagesStep()
- sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
- for _, p := range preds {
- p(s)
- }
- })
- })
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.Contact) predicate.Contact {
- return predicate.Contact(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.Contact) predicate.Contact {
- return predicate.Contact(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.Contact) predicate.Contact {
- return predicate.Contact(sql.NotPredicates(p))
- }
|