|
@@ -0,0 +1,1285 @@
|
|
|
+// Code generated by ent, DO NOT EDIT.
|
|
|
+
|
|
|
+package wxcard
|
|
|
+
|
|
|
+import (
|
|
|
+ "time"
|
|
|
+ "wechat-api/ent/predicate"
|
|
|
+
|
|
|
+ "entgo.io/ent/dialect/sql"
|
|
|
+)
|
|
|
+
|
|
|
+// ID filters vertices based on their ID field.
|
|
|
+func ID(id uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldID, id))
|
|
|
+}
|
|
|
+
|
|
|
+// IDEQ applies the EQ predicate on the ID field.
|
|
|
+func IDEQ(id uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldID, id))
|
|
|
+}
|
|
|
+
|
|
|
+// IDNEQ applies the NEQ predicate on the ID field.
|
|
|
+func IDNEQ(id uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldID, id))
|
|
|
+}
|
|
|
+
|
|
|
+// IDIn applies the In predicate on the ID field.
|
|
|
+func IDIn(ids ...uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldID, ids...))
|
|
|
+}
|
|
|
+
|
|
|
+// IDNotIn applies the NotIn predicate on the ID field.
|
|
|
+func IDNotIn(ids ...uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldID, ids...))
|
|
|
+}
|
|
|
+
|
|
|
+// IDGT applies the GT predicate on the ID field.
|
|
|
+func IDGT(id uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldID, id))
|
|
|
+}
|
|
|
+
|
|
|
+// IDGTE applies the GTE predicate on the ID field.
|
|
|
+func IDGTE(id uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldID, id))
|
|
|
+}
|
|
|
+
|
|
|
+// IDLT applies the LT predicate on the ID field.
|
|
|
+func IDLT(id uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldID, id))
|
|
|
+}
|
|
|
+
|
|
|
+// IDLTE applies the LTE predicate on the ID field.
|
|
|
+func IDLTE(id uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(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.WxCard {
|
|
|
+ return predicate.WxCard(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.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldUpdatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
|
|
|
+func DeletedAt(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldDeletedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
|
|
|
+func UserID(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserID applies equality check predicate on the "wx_user_id" field. It's identical to WxUserIDEQ.
|
|
|
+func WxUserID(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldWxUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
|
|
|
+func Avatar(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// Logo applies equality check predicate on the "logo" field. It's identical to LogoEQ.
|
|
|
+func Logo(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// Name applies equality check predicate on the "name" field. It's identical to NameEQ.
|
|
|
+func Name(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// Company applies equality check predicate on the "company" field. It's identical to CompanyEQ.
|
|
|
+func Company(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
|
|
|
+func Address(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
|
|
|
+func Phone(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccount applies equality check predicate on the "official_account" field. It's identical to OfficialAccountEQ.
|
|
|
+func OfficialAccount(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccount applies equality check predicate on the "wechat_account" field. It's identical to WechatAccountEQ.
|
|
|
+func WechatAccount(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
|
|
|
+func Email(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBase applies equality check predicate on the "api_base" field. It's identical to APIBaseEQ.
|
|
|
+func APIBase(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
|
|
|
+func APIKey(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfo applies equality check predicate on the "ai_info" field. It's identical to AiInfoEQ.
|
|
|
+func AiInfo(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// Intro applies equality check predicate on the "intro" field. It's identical to IntroEQ.
|
|
|
+func Intro(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
|
|
+func CreatedAtEQ(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldCreatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
|
|
+func CreatedAtNEQ(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldCreatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CreatedAtIn applies the In predicate on the "created_at" field.
|
|
|
+func CreatedAtIn(vs ...time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldCreatedAt, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
|
|
+func CreatedAtNotIn(vs ...time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldCreatedAt, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// CreatedAtGT applies the GT predicate on the "created_at" field.
|
|
|
+func CreatedAtGT(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldCreatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
|
|
+func CreatedAtGTE(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldCreatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CreatedAtLT applies the LT predicate on the "created_at" field.
|
|
|
+func CreatedAtLT(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldCreatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
|
|
+func CreatedAtLTE(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldCreatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
|
|
+func UpdatedAtEQ(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldUpdatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
|
|
+func UpdatedAtNEQ(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldUpdatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
|
|
+func UpdatedAtIn(vs ...time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldUpdatedAt, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
|
|
+func UpdatedAtNotIn(vs ...time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
|
|
+func UpdatedAtGT(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldUpdatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
|
|
+func UpdatedAtGTE(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldUpdatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
|
|
+func UpdatedAtLT(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldUpdatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
|
|
+func UpdatedAtLTE(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldUpdatedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
|
|
|
+func DeletedAtEQ(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldDeletedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
|
|
|
+func DeletedAtNEQ(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldDeletedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtIn applies the In predicate on the "deleted_at" field.
|
|
|
+func DeletedAtIn(vs ...time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldDeletedAt, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
|
|
|
+func DeletedAtNotIn(vs ...time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldDeletedAt, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtGT applies the GT predicate on the "deleted_at" field.
|
|
|
+func DeletedAtGT(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldDeletedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
|
|
|
+func DeletedAtGTE(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldDeletedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtLT applies the LT predicate on the "deleted_at" field.
|
|
|
+func DeletedAtLT(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldDeletedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
|
|
|
+func DeletedAtLTE(v time.Time) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldDeletedAt, v))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
|
|
|
+func DeletedAtIsNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIsNull(FieldDeletedAt))
|
|
|
+}
|
|
|
+
|
|
|
+// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
|
|
|
+func DeletedAtNotNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotNull(FieldDeletedAt))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDEQ applies the EQ predicate on the "user_id" field.
|
|
|
+func UserIDEQ(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDNEQ applies the NEQ predicate on the "user_id" field.
|
|
|
+func UserIDNEQ(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDIn applies the In predicate on the "user_id" field.
|
|
|
+func UserIDIn(vs ...uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldUserID, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDNotIn applies the NotIn predicate on the "user_id" field.
|
|
|
+func UserIDNotIn(vs ...uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldUserID, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDGT applies the GT predicate on the "user_id" field.
|
|
|
+func UserIDGT(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDGTE applies the GTE predicate on the "user_id" field.
|
|
|
+func UserIDGTE(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDLT applies the LT predicate on the "user_id" field.
|
|
|
+func UserIDLT(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDLTE applies the LTE predicate on the "user_id" field.
|
|
|
+func UserIDLTE(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDIsNil applies the IsNil predicate on the "user_id" field.
|
|
|
+func UserIDIsNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIsNull(FieldUserID))
|
|
|
+}
|
|
|
+
|
|
|
+// UserIDNotNil applies the NotNil predicate on the "user_id" field.
|
|
|
+func UserIDNotNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotNull(FieldUserID))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDEQ applies the EQ predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDEQ(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldWxUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDNEQ applies the NEQ predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDNEQ(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldWxUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDIn applies the In predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDIn(vs ...uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldWxUserID, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDNotIn applies the NotIn predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDNotIn(vs ...uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldWxUserID, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDGT applies the GT predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDGT(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldWxUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDGTE applies the GTE predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDGTE(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldWxUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDLT applies the LT predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDLT(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldWxUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDLTE applies the LTE predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDLTE(v uint64) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldWxUserID, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDIsNil applies the IsNil predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDIsNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIsNull(FieldWxUserID))
|
|
|
+}
|
|
|
+
|
|
|
+// WxUserIDNotNil applies the NotNil predicate on the "wx_user_id" field.
|
|
|
+func WxUserIDNotNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotNull(FieldWxUserID))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarEQ applies the EQ predicate on the "avatar" field.
|
|
|
+func AvatarEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarNEQ applies the NEQ predicate on the "avatar" field.
|
|
|
+func AvatarNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarIn applies the In predicate on the "avatar" field.
|
|
|
+func AvatarIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldAvatar, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarNotIn applies the NotIn predicate on the "avatar" field.
|
|
|
+func AvatarNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldAvatar, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarGT applies the GT predicate on the "avatar" field.
|
|
|
+func AvatarGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarGTE applies the GTE predicate on the "avatar" field.
|
|
|
+func AvatarGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarLT applies the LT predicate on the "avatar" field.
|
|
|
+func AvatarLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarLTE applies the LTE predicate on the "avatar" field.
|
|
|
+func AvatarLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarContains applies the Contains predicate on the "avatar" field.
|
|
|
+func AvatarContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
|
|
|
+func AvatarHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
|
|
|
+func AvatarHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
|
|
|
+func AvatarEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
|
|
|
+func AvatarContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldAvatar, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoEQ applies the EQ predicate on the "logo" field.
|
|
|
+func LogoEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoNEQ applies the NEQ predicate on the "logo" field.
|
|
|
+func LogoNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoIn applies the In predicate on the "logo" field.
|
|
|
+func LogoIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldLogo, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoNotIn applies the NotIn predicate on the "logo" field.
|
|
|
+func LogoNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldLogo, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoGT applies the GT predicate on the "logo" field.
|
|
|
+func LogoGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoGTE applies the GTE predicate on the "logo" field.
|
|
|
+func LogoGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoLT applies the LT predicate on the "logo" field.
|
|
|
+func LogoLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoLTE applies the LTE predicate on the "logo" field.
|
|
|
+func LogoLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoContains applies the Contains predicate on the "logo" field.
|
|
|
+func LogoContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoHasPrefix applies the HasPrefix predicate on the "logo" field.
|
|
|
+func LogoHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoHasSuffix applies the HasSuffix predicate on the "logo" field.
|
|
|
+func LogoHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoEqualFold applies the EqualFold predicate on the "logo" field.
|
|
|
+func LogoEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// LogoContainsFold applies the ContainsFold predicate on the "logo" field.
|
|
|
+func LogoContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldLogo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameEQ applies the EQ predicate on the "name" field.
|
|
|
+func NameEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameNEQ applies the NEQ predicate on the "name" field.
|
|
|
+func NameNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameIn applies the In predicate on the "name" field.
|
|
|
+func NameIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldName, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// NameNotIn applies the NotIn predicate on the "name" field.
|
|
|
+func NameNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldName, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// NameGT applies the GT predicate on the "name" field.
|
|
|
+func NameGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameGTE applies the GTE predicate on the "name" field.
|
|
|
+func NameGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameLT applies the LT predicate on the "name" field.
|
|
|
+func NameLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameLTE applies the LTE predicate on the "name" field.
|
|
|
+func NameLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameContains applies the Contains predicate on the "name" field.
|
|
|
+func NameContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameHasPrefix applies the HasPrefix predicate on the "name" field.
|
|
|
+func NameHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameHasSuffix applies the HasSuffix predicate on the "name" field.
|
|
|
+func NameHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameEqualFold applies the EqualFold predicate on the "name" field.
|
|
|
+func NameEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// NameContainsFold applies the ContainsFold predicate on the "name" field.
|
|
|
+func NameContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldName, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyEQ applies the EQ predicate on the "company" field.
|
|
|
+func CompanyEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyNEQ applies the NEQ predicate on the "company" field.
|
|
|
+func CompanyNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyIn applies the In predicate on the "company" field.
|
|
|
+func CompanyIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldCompany, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyNotIn applies the NotIn predicate on the "company" field.
|
|
|
+func CompanyNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldCompany, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyGT applies the GT predicate on the "company" field.
|
|
|
+func CompanyGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyGTE applies the GTE predicate on the "company" field.
|
|
|
+func CompanyGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyLT applies the LT predicate on the "company" field.
|
|
|
+func CompanyLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyLTE applies the LTE predicate on the "company" field.
|
|
|
+func CompanyLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyContains applies the Contains predicate on the "company" field.
|
|
|
+func CompanyContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyHasPrefix applies the HasPrefix predicate on the "company" field.
|
|
|
+func CompanyHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyHasSuffix applies the HasSuffix predicate on the "company" field.
|
|
|
+func CompanyHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyEqualFold applies the EqualFold predicate on the "company" field.
|
|
|
+func CompanyEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// CompanyContainsFold applies the ContainsFold predicate on the "company" field.
|
|
|
+func CompanyContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldCompany, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressEQ applies the EQ predicate on the "address" field.
|
|
|
+func AddressEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressNEQ applies the NEQ predicate on the "address" field.
|
|
|
+func AddressNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressIn applies the In predicate on the "address" field.
|
|
|
+func AddressIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldAddress, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressNotIn applies the NotIn predicate on the "address" field.
|
|
|
+func AddressNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldAddress, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressGT applies the GT predicate on the "address" field.
|
|
|
+func AddressGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressGTE applies the GTE predicate on the "address" field.
|
|
|
+func AddressGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressLT applies the LT predicate on the "address" field.
|
|
|
+func AddressLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressLTE applies the LTE predicate on the "address" field.
|
|
|
+func AddressLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressContains applies the Contains predicate on the "address" field.
|
|
|
+func AddressContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressHasPrefix applies the HasPrefix predicate on the "address" field.
|
|
|
+func AddressHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressHasSuffix applies the HasSuffix predicate on the "address" field.
|
|
|
+func AddressHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressEqualFold applies the EqualFold predicate on the "address" field.
|
|
|
+func AddressEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AddressContainsFold applies the ContainsFold predicate on the "address" field.
|
|
|
+func AddressContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldAddress, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneEQ applies the EQ predicate on the "phone" field.
|
|
|
+func PhoneEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneNEQ applies the NEQ predicate on the "phone" field.
|
|
|
+func PhoneNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneIn applies the In predicate on the "phone" field.
|
|
|
+func PhoneIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldPhone, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneNotIn applies the NotIn predicate on the "phone" field.
|
|
|
+func PhoneNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldPhone, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneGT applies the GT predicate on the "phone" field.
|
|
|
+func PhoneGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneGTE applies the GTE predicate on the "phone" field.
|
|
|
+func PhoneGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneLT applies the LT predicate on the "phone" field.
|
|
|
+func PhoneLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneLTE applies the LTE predicate on the "phone" field.
|
|
|
+func PhoneLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneContains applies the Contains predicate on the "phone" field.
|
|
|
+func PhoneContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
|
|
|
+func PhoneHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
|
|
|
+func PhoneHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneEqualFold applies the EqualFold predicate on the "phone" field.
|
|
|
+func PhoneEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
|
|
|
+func PhoneContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldPhone, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountEQ applies the EQ predicate on the "official_account" field.
|
|
|
+func OfficialAccountEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountNEQ applies the NEQ predicate on the "official_account" field.
|
|
|
+func OfficialAccountNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountIn applies the In predicate on the "official_account" field.
|
|
|
+func OfficialAccountIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldOfficialAccount, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountNotIn applies the NotIn predicate on the "official_account" field.
|
|
|
+func OfficialAccountNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldOfficialAccount, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountGT applies the GT predicate on the "official_account" field.
|
|
|
+func OfficialAccountGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountGTE applies the GTE predicate on the "official_account" field.
|
|
|
+func OfficialAccountGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountLT applies the LT predicate on the "official_account" field.
|
|
|
+func OfficialAccountLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountLTE applies the LTE predicate on the "official_account" field.
|
|
|
+func OfficialAccountLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountContains applies the Contains predicate on the "official_account" field.
|
|
|
+func OfficialAccountContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountHasPrefix applies the HasPrefix predicate on the "official_account" field.
|
|
|
+func OfficialAccountHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountHasSuffix applies the HasSuffix predicate on the "official_account" field.
|
|
|
+func OfficialAccountHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountEqualFold applies the EqualFold predicate on the "official_account" field.
|
|
|
+func OfficialAccountEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// OfficialAccountContainsFold applies the ContainsFold predicate on the "official_account" field.
|
|
|
+func OfficialAccountContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldOfficialAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountEQ applies the EQ predicate on the "wechat_account" field.
|
|
|
+func WechatAccountEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountNEQ applies the NEQ predicate on the "wechat_account" field.
|
|
|
+func WechatAccountNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountIn applies the In predicate on the "wechat_account" field.
|
|
|
+func WechatAccountIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldWechatAccount, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountNotIn applies the NotIn predicate on the "wechat_account" field.
|
|
|
+func WechatAccountNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldWechatAccount, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountGT applies the GT predicate on the "wechat_account" field.
|
|
|
+func WechatAccountGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountGTE applies the GTE predicate on the "wechat_account" field.
|
|
|
+func WechatAccountGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountLT applies the LT predicate on the "wechat_account" field.
|
|
|
+func WechatAccountLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountLTE applies the LTE predicate on the "wechat_account" field.
|
|
|
+func WechatAccountLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountContains applies the Contains predicate on the "wechat_account" field.
|
|
|
+func WechatAccountContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountHasPrefix applies the HasPrefix predicate on the "wechat_account" field.
|
|
|
+func WechatAccountHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountHasSuffix applies the HasSuffix predicate on the "wechat_account" field.
|
|
|
+func WechatAccountHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountEqualFold applies the EqualFold predicate on the "wechat_account" field.
|
|
|
+func WechatAccountEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// WechatAccountContainsFold applies the ContainsFold predicate on the "wechat_account" field.
|
|
|
+func WechatAccountContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldWechatAccount, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailEQ applies the EQ predicate on the "email" field.
|
|
|
+func EmailEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailNEQ applies the NEQ predicate on the "email" field.
|
|
|
+func EmailNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailIn applies the In predicate on the "email" field.
|
|
|
+func EmailIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldEmail, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailNotIn applies the NotIn predicate on the "email" field.
|
|
|
+func EmailNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldEmail, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailGT applies the GT predicate on the "email" field.
|
|
|
+func EmailGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailGTE applies the GTE predicate on the "email" field.
|
|
|
+func EmailGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailLT applies the LT predicate on the "email" field.
|
|
|
+func EmailLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailLTE applies the LTE predicate on the "email" field.
|
|
|
+func EmailLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailContains applies the Contains predicate on the "email" field.
|
|
|
+func EmailContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailHasPrefix applies the HasPrefix predicate on the "email" field.
|
|
|
+func EmailHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailHasSuffix applies the HasSuffix predicate on the "email" field.
|
|
|
+func EmailHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailIsNil applies the IsNil predicate on the "email" field.
|
|
|
+func EmailIsNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIsNull(FieldEmail))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailNotNil applies the NotNil predicate on the "email" field.
|
|
|
+func EmailNotNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotNull(FieldEmail))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailEqualFold applies the EqualFold predicate on the "email" field.
|
|
|
+func EmailEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// EmailContainsFold applies the ContainsFold predicate on the "email" field.
|
|
|
+func EmailContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldEmail, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseEQ applies the EQ predicate on the "api_base" field.
|
|
|
+func APIBaseEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseNEQ applies the NEQ predicate on the "api_base" field.
|
|
|
+func APIBaseNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseIn applies the In predicate on the "api_base" field.
|
|
|
+func APIBaseIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldAPIBase, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseNotIn applies the NotIn predicate on the "api_base" field.
|
|
|
+func APIBaseNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldAPIBase, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseGT applies the GT predicate on the "api_base" field.
|
|
|
+func APIBaseGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseGTE applies the GTE predicate on the "api_base" field.
|
|
|
+func APIBaseGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseLT applies the LT predicate on the "api_base" field.
|
|
|
+func APIBaseLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseLTE applies the LTE predicate on the "api_base" field.
|
|
|
+func APIBaseLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseContains applies the Contains predicate on the "api_base" field.
|
|
|
+func APIBaseContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseHasPrefix applies the HasPrefix predicate on the "api_base" field.
|
|
|
+func APIBaseHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseHasSuffix applies the HasSuffix predicate on the "api_base" field.
|
|
|
+func APIBaseHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseIsNil applies the IsNil predicate on the "api_base" field.
|
|
|
+func APIBaseIsNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIsNull(FieldAPIBase))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseNotNil applies the NotNil predicate on the "api_base" field.
|
|
|
+func APIBaseNotNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotNull(FieldAPIBase))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseEqualFold applies the EqualFold predicate on the "api_base" field.
|
|
|
+func APIBaseEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIBaseContainsFold applies the ContainsFold predicate on the "api_base" field.
|
|
|
+func APIBaseContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldAPIBase, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyEQ applies the EQ predicate on the "api_key" field.
|
|
|
+func APIKeyEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyNEQ applies the NEQ predicate on the "api_key" field.
|
|
|
+func APIKeyNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyIn applies the In predicate on the "api_key" field.
|
|
|
+func APIKeyIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldAPIKey, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyNotIn applies the NotIn predicate on the "api_key" field.
|
|
|
+func APIKeyNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldAPIKey, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyGT applies the GT predicate on the "api_key" field.
|
|
|
+func APIKeyGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyGTE applies the GTE predicate on the "api_key" field.
|
|
|
+func APIKeyGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyLT applies the LT predicate on the "api_key" field.
|
|
|
+func APIKeyLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyLTE applies the LTE predicate on the "api_key" field.
|
|
|
+func APIKeyLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyContains applies the Contains predicate on the "api_key" field.
|
|
|
+func APIKeyContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
|
|
|
+func APIKeyHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
|
|
|
+func APIKeyHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyIsNil applies the IsNil predicate on the "api_key" field.
|
|
|
+func APIKeyIsNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIsNull(FieldAPIKey))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyNotNil applies the NotNil predicate on the "api_key" field.
|
|
|
+func APIKeyNotNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotNull(FieldAPIKey))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
|
|
|
+func APIKeyEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
|
|
|
+func APIKeyContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldAPIKey, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoEQ applies the EQ predicate on the "ai_info" field.
|
|
|
+func AiInfoEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoNEQ applies the NEQ predicate on the "ai_info" field.
|
|
|
+func AiInfoNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoIn applies the In predicate on the "ai_info" field.
|
|
|
+func AiInfoIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldAiInfo, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoNotIn applies the NotIn predicate on the "ai_info" field.
|
|
|
+func AiInfoNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldAiInfo, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoGT applies the GT predicate on the "ai_info" field.
|
|
|
+func AiInfoGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoGTE applies the GTE predicate on the "ai_info" field.
|
|
|
+func AiInfoGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoLT applies the LT predicate on the "ai_info" field.
|
|
|
+func AiInfoLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoLTE applies the LTE predicate on the "ai_info" field.
|
|
|
+func AiInfoLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoContains applies the Contains predicate on the "ai_info" field.
|
|
|
+func AiInfoContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoHasPrefix applies the HasPrefix predicate on the "ai_info" field.
|
|
|
+func AiInfoHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoHasSuffix applies the HasSuffix predicate on the "ai_info" field.
|
|
|
+func AiInfoHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoIsNil applies the IsNil predicate on the "ai_info" field.
|
|
|
+func AiInfoIsNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIsNull(FieldAiInfo))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoNotNil applies the NotNil predicate on the "ai_info" field.
|
|
|
+func AiInfoNotNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotNull(FieldAiInfo))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoEqualFold applies the EqualFold predicate on the "ai_info" field.
|
|
|
+func AiInfoEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// AiInfoContainsFold applies the ContainsFold predicate on the "ai_info" field.
|
|
|
+func AiInfoContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldAiInfo, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroEQ applies the EQ predicate on the "intro" field.
|
|
|
+func IntroEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEQ(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroNEQ applies the NEQ predicate on the "intro" field.
|
|
|
+func IntroNEQ(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNEQ(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroIn applies the In predicate on the "intro" field.
|
|
|
+func IntroIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIn(FieldIntro, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroNotIn applies the NotIn predicate on the "intro" field.
|
|
|
+func IntroNotIn(vs ...string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotIn(FieldIntro, vs...))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroGT applies the GT predicate on the "intro" field.
|
|
|
+func IntroGT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGT(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroGTE applies the GTE predicate on the "intro" field.
|
|
|
+func IntroGTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldGTE(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroLT applies the LT predicate on the "intro" field.
|
|
|
+func IntroLT(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLT(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroLTE applies the LTE predicate on the "intro" field.
|
|
|
+func IntroLTE(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldLTE(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroContains applies the Contains predicate on the "intro" field.
|
|
|
+func IntroContains(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContains(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroHasPrefix applies the HasPrefix predicate on the "intro" field.
|
|
|
+func IntroHasPrefix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasPrefix(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroHasSuffix applies the HasSuffix predicate on the "intro" field.
|
|
|
+func IntroHasSuffix(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldHasSuffix(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroIsNil applies the IsNil predicate on the "intro" field.
|
|
|
+func IntroIsNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldIsNull(FieldIntro))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroNotNil applies the NotNil predicate on the "intro" field.
|
|
|
+func IntroNotNil() predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldNotNull(FieldIntro))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroEqualFold applies the EqualFold predicate on the "intro" field.
|
|
|
+func IntroEqualFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldEqualFold(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// IntroContainsFold applies the ContainsFold predicate on the "intro" field.
|
|
|
+func IntroContainsFold(v string) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.FieldContainsFold(FieldIntro, v))
|
|
|
+}
|
|
|
+
|
|
|
+// And groups predicates with the AND operator between them.
|
|
|
+func And(predicates ...predicate.WxCard) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.AndPredicates(predicates...))
|
|
|
+}
|
|
|
+
|
|
|
+// Or groups predicates with the OR operator between them.
|
|
|
+func Or(predicates ...predicate.WxCard) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.OrPredicates(predicates...))
|
|
|
+}
|
|
|
+
|
|
|
+// Not applies the not operator on the given predicate.
|
|
|
+func Not(p predicate.WxCard) predicate.WxCard {
|
|
|
+ return predicate.WxCard(sql.NotPredicates(p))
|
|
|
+}
|