123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565 |
- // Code generated by ent, DO NOT EDIT.
- package wpchatroom
- import (
- "time"
- "wechat-api/ent/predicate"
- "entgo.io/ent/dialect/sql"
- )
- // ID filters vertices based on their ID field.
- func ID(id uint64) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id uint64) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id uint64) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...uint64) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...uint64) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id uint64) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id uint64) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id uint64) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id uint64) predicate.WpChatroom {
- return predicate.WpChatroom(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.WpChatroom {
- return predicate.WpChatroom(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.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
- func Status(v uint8) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldStatus, v))
- }
- // WxWxid applies equality check predicate on the "wx_wxid" field. It's identical to WxWxidEQ.
- func WxWxid(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldWxWxid, v))
- }
- // ChatroomID applies equality check predicate on the "chatroom_id" field. It's identical to ChatroomIDEQ.
- func ChatroomID(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldChatroomID, v))
- }
- // Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
- func Nickname(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldNickname, v))
- }
- // Owner applies equality check predicate on the "owner" field. It's identical to OwnerEQ.
- func Owner(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldOwner, v))
- }
- // Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
- func Avatar(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldAvatar, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // StatusEQ applies the EQ predicate on the "status" field.
- func StatusEQ(v uint8) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldStatus, v))
- }
- // StatusNEQ applies the NEQ predicate on the "status" field.
- func StatusNEQ(v uint8) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNEQ(FieldStatus, v))
- }
- // StatusIn applies the In predicate on the "status" field.
- func StatusIn(vs ...uint8) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIn(FieldStatus, vs...))
- }
- // StatusNotIn applies the NotIn predicate on the "status" field.
- func StatusNotIn(vs ...uint8) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotIn(FieldStatus, vs...))
- }
- // StatusGT applies the GT predicate on the "status" field.
- func StatusGT(v uint8) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGT(FieldStatus, v))
- }
- // StatusGTE applies the GTE predicate on the "status" field.
- func StatusGTE(v uint8) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGTE(FieldStatus, v))
- }
- // StatusLT applies the LT predicate on the "status" field.
- func StatusLT(v uint8) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLT(FieldStatus, v))
- }
- // StatusLTE applies the LTE predicate on the "status" field.
- func StatusLTE(v uint8) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLTE(FieldStatus, v))
- }
- // StatusIsNil applies the IsNil predicate on the "status" field.
- func StatusIsNil() predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIsNull(FieldStatus))
- }
- // StatusNotNil applies the NotNil predicate on the "status" field.
- func StatusNotNil() predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotNull(FieldStatus))
- }
- // WxWxidEQ applies the EQ predicate on the "wx_wxid" field.
- func WxWxidEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldWxWxid, v))
- }
- // WxWxidNEQ applies the NEQ predicate on the "wx_wxid" field.
- func WxWxidNEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNEQ(FieldWxWxid, v))
- }
- // WxWxidIn applies the In predicate on the "wx_wxid" field.
- func WxWxidIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIn(FieldWxWxid, vs...))
- }
- // WxWxidNotIn applies the NotIn predicate on the "wx_wxid" field.
- func WxWxidNotIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotIn(FieldWxWxid, vs...))
- }
- // WxWxidGT applies the GT predicate on the "wx_wxid" field.
- func WxWxidGT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGT(FieldWxWxid, v))
- }
- // WxWxidGTE applies the GTE predicate on the "wx_wxid" field.
- func WxWxidGTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGTE(FieldWxWxid, v))
- }
- // WxWxidLT applies the LT predicate on the "wx_wxid" field.
- func WxWxidLT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLT(FieldWxWxid, v))
- }
- // WxWxidLTE applies the LTE predicate on the "wx_wxid" field.
- func WxWxidLTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLTE(FieldWxWxid, v))
- }
- // WxWxidContains applies the Contains predicate on the "wx_wxid" field.
- func WxWxidContains(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContains(FieldWxWxid, v))
- }
- // WxWxidHasPrefix applies the HasPrefix predicate on the "wx_wxid" field.
- func WxWxidHasPrefix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasPrefix(FieldWxWxid, v))
- }
- // WxWxidHasSuffix applies the HasSuffix predicate on the "wx_wxid" field.
- func WxWxidHasSuffix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasSuffix(FieldWxWxid, v))
- }
- // WxWxidEqualFold applies the EqualFold predicate on the "wx_wxid" field.
- func WxWxidEqualFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEqualFold(FieldWxWxid, v))
- }
- // WxWxidContainsFold applies the ContainsFold predicate on the "wx_wxid" field.
- func WxWxidContainsFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContainsFold(FieldWxWxid, v))
- }
- // ChatroomIDEQ applies the EQ predicate on the "chatroom_id" field.
- func ChatroomIDEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldChatroomID, v))
- }
- // ChatroomIDNEQ applies the NEQ predicate on the "chatroom_id" field.
- func ChatroomIDNEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNEQ(FieldChatroomID, v))
- }
- // ChatroomIDIn applies the In predicate on the "chatroom_id" field.
- func ChatroomIDIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIn(FieldChatroomID, vs...))
- }
- // ChatroomIDNotIn applies the NotIn predicate on the "chatroom_id" field.
- func ChatroomIDNotIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotIn(FieldChatroomID, vs...))
- }
- // ChatroomIDGT applies the GT predicate on the "chatroom_id" field.
- func ChatroomIDGT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGT(FieldChatroomID, v))
- }
- // ChatroomIDGTE applies the GTE predicate on the "chatroom_id" field.
- func ChatroomIDGTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGTE(FieldChatroomID, v))
- }
- // ChatroomIDLT applies the LT predicate on the "chatroom_id" field.
- func ChatroomIDLT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLT(FieldChatroomID, v))
- }
- // ChatroomIDLTE applies the LTE predicate on the "chatroom_id" field.
- func ChatroomIDLTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLTE(FieldChatroomID, v))
- }
- // ChatroomIDContains applies the Contains predicate on the "chatroom_id" field.
- func ChatroomIDContains(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContains(FieldChatroomID, v))
- }
- // ChatroomIDHasPrefix applies the HasPrefix predicate on the "chatroom_id" field.
- func ChatroomIDHasPrefix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasPrefix(FieldChatroomID, v))
- }
- // ChatroomIDHasSuffix applies the HasSuffix predicate on the "chatroom_id" field.
- func ChatroomIDHasSuffix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasSuffix(FieldChatroomID, v))
- }
- // ChatroomIDEqualFold applies the EqualFold predicate on the "chatroom_id" field.
- func ChatroomIDEqualFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEqualFold(FieldChatroomID, v))
- }
- // ChatroomIDContainsFold applies the ContainsFold predicate on the "chatroom_id" field.
- func ChatroomIDContainsFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContainsFold(FieldChatroomID, v))
- }
- // NicknameEQ applies the EQ predicate on the "nickname" field.
- func NicknameEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldNickname, v))
- }
- // NicknameNEQ applies the NEQ predicate on the "nickname" field.
- func NicknameNEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNEQ(FieldNickname, v))
- }
- // NicknameIn applies the In predicate on the "nickname" field.
- func NicknameIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIn(FieldNickname, vs...))
- }
- // NicknameNotIn applies the NotIn predicate on the "nickname" field.
- func NicknameNotIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotIn(FieldNickname, vs...))
- }
- // NicknameGT applies the GT predicate on the "nickname" field.
- func NicknameGT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGT(FieldNickname, v))
- }
- // NicknameGTE applies the GTE predicate on the "nickname" field.
- func NicknameGTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGTE(FieldNickname, v))
- }
- // NicknameLT applies the LT predicate on the "nickname" field.
- func NicknameLT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLT(FieldNickname, v))
- }
- // NicknameLTE applies the LTE predicate on the "nickname" field.
- func NicknameLTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLTE(FieldNickname, v))
- }
- // NicknameContains applies the Contains predicate on the "nickname" field.
- func NicknameContains(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContains(FieldNickname, v))
- }
- // NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
- func NicknameHasPrefix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasPrefix(FieldNickname, v))
- }
- // NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
- func NicknameHasSuffix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasSuffix(FieldNickname, v))
- }
- // NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
- func NicknameEqualFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEqualFold(FieldNickname, v))
- }
- // NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
- func NicknameContainsFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContainsFold(FieldNickname, v))
- }
- // OwnerEQ applies the EQ predicate on the "owner" field.
- func OwnerEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldOwner, v))
- }
- // OwnerNEQ applies the NEQ predicate on the "owner" field.
- func OwnerNEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNEQ(FieldOwner, v))
- }
- // OwnerIn applies the In predicate on the "owner" field.
- func OwnerIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIn(FieldOwner, vs...))
- }
- // OwnerNotIn applies the NotIn predicate on the "owner" field.
- func OwnerNotIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotIn(FieldOwner, vs...))
- }
- // OwnerGT applies the GT predicate on the "owner" field.
- func OwnerGT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGT(FieldOwner, v))
- }
- // OwnerGTE applies the GTE predicate on the "owner" field.
- func OwnerGTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGTE(FieldOwner, v))
- }
- // OwnerLT applies the LT predicate on the "owner" field.
- func OwnerLT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLT(FieldOwner, v))
- }
- // OwnerLTE applies the LTE predicate on the "owner" field.
- func OwnerLTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLTE(FieldOwner, v))
- }
- // OwnerContains applies the Contains predicate on the "owner" field.
- func OwnerContains(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContains(FieldOwner, v))
- }
- // OwnerHasPrefix applies the HasPrefix predicate on the "owner" field.
- func OwnerHasPrefix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasPrefix(FieldOwner, v))
- }
- // OwnerHasSuffix applies the HasSuffix predicate on the "owner" field.
- func OwnerHasSuffix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasSuffix(FieldOwner, v))
- }
- // OwnerEqualFold applies the EqualFold predicate on the "owner" field.
- func OwnerEqualFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEqualFold(FieldOwner, v))
- }
- // OwnerContainsFold applies the ContainsFold predicate on the "owner" field.
- func OwnerContainsFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContainsFold(FieldOwner, v))
- }
- // AvatarEQ applies the EQ predicate on the "avatar" field.
- func AvatarEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEQ(FieldAvatar, v))
- }
- // AvatarNEQ applies the NEQ predicate on the "avatar" field.
- func AvatarNEQ(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNEQ(FieldAvatar, v))
- }
- // AvatarIn applies the In predicate on the "avatar" field.
- func AvatarIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldIn(FieldAvatar, vs...))
- }
- // AvatarNotIn applies the NotIn predicate on the "avatar" field.
- func AvatarNotIn(vs ...string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldNotIn(FieldAvatar, vs...))
- }
- // AvatarGT applies the GT predicate on the "avatar" field.
- func AvatarGT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGT(FieldAvatar, v))
- }
- // AvatarGTE applies the GTE predicate on the "avatar" field.
- func AvatarGTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldGTE(FieldAvatar, v))
- }
- // AvatarLT applies the LT predicate on the "avatar" field.
- func AvatarLT(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLT(FieldAvatar, v))
- }
- // AvatarLTE applies the LTE predicate on the "avatar" field.
- func AvatarLTE(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldLTE(FieldAvatar, v))
- }
- // AvatarContains applies the Contains predicate on the "avatar" field.
- func AvatarContains(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContains(FieldAvatar, v))
- }
- // AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
- func AvatarHasPrefix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasPrefix(FieldAvatar, v))
- }
- // AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
- func AvatarHasSuffix(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldHasSuffix(FieldAvatar, v))
- }
- // AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
- func AvatarEqualFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldEqualFold(FieldAvatar, v))
- }
- // AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
- func AvatarContainsFold(v string) predicate.WpChatroom {
- return predicate.WpChatroom(sql.FieldContainsFold(FieldAvatar, v))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.WpChatroom) predicate.WpChatroom {
- return predicate.WpChatroom(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.WpChatroom) predicate.WpChatroom {
- return predicate.WpChatroom(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.WpChatroom) predicate.WpChatroom {
- return predicate.WpChatroom(sql.NotPredicates(p))
- }
|