1231 lines
47 KiB
Go
1231 lines
47 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package epicheroinfo
|
|
|
|
import (
|
|
"epic-ent/internal/ent/predicate"
|
|
"time"
|
|
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// ID filters vertices based on their ID field.
|
|
func ID(id int64) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int64) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int64) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int64) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int64) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int64) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int64) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int64) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int64) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// HeroName applies equality check predicate on the "hero_name" field. It's identical to HeroNameEQ.
|
|
func HeroName(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroCode applies equality check predicate on the "hero_code" field. It's identical to HeroCodeEQ.
|
|
func HeroCode(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroAttrLv60 applies equality check predicate on the "hero_attr_lv60" field. It's identical to HeroAttrLv60EQ.
|
|
func HeroAttrLv60(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// Creator applies equality check predicate on the "creator" field. It's identical to CreatorEQ.
|
|
func Creator(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldCreator, v))
|
|
}
|
|
|
|
// CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
|
|
func CreateTime(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// Updater applies equality check predicate on the "updater" field. It's identical to UpdaterEQ.
|
|
func Updater(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
|
|
func UpdateTime(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
|
|
func Deleted(v bool) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldDeleted, v))
|
|
}
|
|
|
|
// NickName applies equality check predicate on the "nick_name" field. It's identical to NickNameEQ.
|
|
func NickName(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldNickName, v))
|
|
}
|
|
|
|
// Rarity applies equality check predicate on the "rarity" field. It's identical to RarityEQ.
|
|
func Rarity(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldRarity, v))
|
|
}
|
|
|
|
// Role applies equality check predicate on the "role" field. It's identical to RoleEQ.
|
|
func Role(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldRole, v))
|
|
}
|
|
|
|
// Zodiac applies equality check predicate on the "zodiac" field. It's identical to ZodiacEQ.
|
|
func Zodiac(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldZodiac, v))
|
|
}
|
|
|
|
// HeadImgURL applies equality check predicate on the "head_img_url" field. It's identical to HeadImgURLEQ.
|
|
func HeadImgURL(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// Attribute applies equality check predicate on the "attribute" field. It's identical to AttributeEQ.
|
|
func Attribute(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldAttribute, v))
|
|
}
|
|
|
|
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
|
|
func Remark(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldRemark, v))
|
|
}
|
|
|
|
// RawJSON applies equality check predicate on the "raw_json" field. It's identical to RawJSONEQ.
|
|
func RawJSON(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldRawJSON, v))
|
|
}
|
|
|
|
// ContentJSONSet applies equality check predicate on the "content_json_set" field. It's identical to ContentJSONSetEQ.
|
|
func ContentJSONSet(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// UpdateTimeSet applies equality check predicate on the "update_time_set" field. It's identical to UpdateTimeSetEQ.
|
|
func UpdateTimeSet(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldUpdateTimeSet, v))
|
|
}
|
|
|
|
// HeroNameEQ applies the EQ predicate on the "hero_name" field.
|
|
func HeroNameEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameNEQ applies the NEQ predicate on the "hero_name" field.
|
|
func HeroNameNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameIn applies the In predicate on the "hero_name" field.
|
|
func HeroNameIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldHeroName, vs...))
|
|
}
|
|
|
|
// HeroNameNotIn applies the NotIn predicate on the "hero_name" field.
|
|
func HeroNameNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldHeroName, vs...))
|
|
}
|
|
|
|
// HeroNameGT applies the GT predicate on the "hero_name" field.
|
|
func HeroNameGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameGTE applies the GTE predicate on the "hero_name" field.
|
|
func HeroNameGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameLT applies the LT predicate on the "hero_name" field.
|
|
func HeroNameLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameLTE applies the LTE predicate on the "hero_name" field.
|
|
func HeroNameLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameContains applies the Contains predicate on the "hero_name" field.
|
|
func HeroNameContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameHasPrefix applies the HasPrefix predicate on the "hero_name" field.
|
|
func HeroNameHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameHasSuffix applies the HasSuffix predicate on the "hero_name" field.
|
|
func HeroNameHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameEqualFold applies the EqualFold predicate on the "hero_name" field.
|
|
func HeroNameEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroNameContainsFold applies the ContainsFold predicate on the "hero_name" field.
|
|
func HeroNameContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldHeroName, v))
|
|
}
|
|
|
|
// HeroCodeEQ applies the EQ predicate on the "hero_code" field.
|
|
func HeroCodeEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeNEQ applies the NEQ predicate on the "hero_code" field.
|
|
func HeroCodeNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeIn applies the In predicate on the "hero_code" field.
|
|
func HeroCodeIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldHeroCode, vs...))
|
|
}
|
|
|
|
// HeroCodeNotIn applies the NotIn predicate on the "hero_code" field.
|
|
func HeroCodeNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldHeroCode, vs...))
|
|
}
|
|
|
|
// HeroCodeGT applies the GT predicate on the "hero_code" field.
|
|
func HeroCodeGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeGTE applies the GTE predicate on the "hero_code" field.
|
|
func HeroCodeGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeLT applies the LT predicate on the "hero_code" field.
|
|
func HeroCodeLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeLTE applies the LTE predicate on the "hero_code" field.
|
|
func HeroCodeLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeContains applies the Contains predicate on the "hero_code" field.
|
|
func HeroCodeContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeHasPrefix applies the HasPrefix predicate on the "hero_code" field.
|
|
func HeroCodeHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeHasSuffix applies the HasSuffix predicate on the "hero_code" field.
|
|
func HeroCodeHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeEqualFold applies the EqualFold predicate on the "hero_code" field.
|
|
func HeroCodeEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeContainsFold applies the ContainsFold predicate on the "hero_code" field.
|
|
func HeroCodeContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroAttrLv60EQ applies the EQ predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60EQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60NEQ applies the NEQ predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60NEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60In applies the In predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60In(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldHeroAttrLv60, vs...))
|
|
}
|
|
|
|
// HeroAttrLv60NotIn applies the NotIn predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60NotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldHeroAttrLv60, vs...))
|
|
}
|
|
|
|
// HeroAttrLv60GT applies the GT predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60GT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60GTE applies the GTE predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60GTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60LT applies the LT predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60LT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60LTE applies the LTE predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60LTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60Contains applies the Contains predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60Contains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60HasPrefix applies the HasPrefix predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60HasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60HasSuffix applies the HasSuffix predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60HasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60EqualFold applies the EqualFold predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60EqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// HeroAttrLv60ContainsFold applies the ContainsFold predicate on the "hero_attr_lv60" field.
|
|
func HeroAttrLv60ContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldHeroAttrLv60, v))
|
|
}
|
|
|
|
// CreatorEQ applies the EQ predicate on the "creator" field.
|
|
func CreatorEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorNEQ applies the NEQ predicate on the "creator" field.
|
|
func CreatorNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorIn applies the In predicate on the "creator" field.
|
|
func CreatorIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldCreator, vs...))
|
|
}
|
|
|
|
// CreatorNotIn applies the NotIn predicate on the "creator" field.
|
|
func CreatorNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldCreator, vs...))
|
|
}
|
|
|
|
// CreatorGT applies the GT predicate on the "creator" field.
|
|
func CreatorGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorGTE applies the GTE predicate on the "creator" field.
|
|
func CreatorGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorLT applies the LT predicate on the "creator" field.
|
|
func CreatorLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorLTE applies the LTE predicate on the "creator" field.
|
|
func CreatorLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorContains applies the Contains predicate on the "creator" field.
|
|
func CreatorContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorHasPrefix applies the HasPrefix predicate on the "creator" field.
|
|
func CreatorHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorHasSuffix applies the HasSuffix predicate on the "creator" field.
|
|
func CreatorHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorEqualFold applies the EqualFold predicate on the "creator" field.
|
|
func CreatorEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorContainsFold applies the ContainsFold predicate on the "creator" field.
|
|
func CreatorContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldCreator, v))
|
|
}
|
|
|
|
// CreateTimeEQ applies the EQ predicate on the "create_time" field.
|
|
func CreateTimeEQ(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
|
|
func CreateTimeNEQ(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeIn applies the In predicate on the "create_time" field.
|
|
func CreateTimeIn(vs ...time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldCreateTime, vs...))
|
|
}
|
|
|
|
// CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
|
|
func CreateTimeNotIn(vs ...time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldCreateTime, vs...))
|
|
}
|
|
|
|
// CreateTimeGT applies the GT predicate on the "create_time" field.
|
|
func CreateTimeGT(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeGTE applies the GTE predicate on the "create_time" field.
|
|
func CreateTimeGTE(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeLT applies the LT predicate on the "create_time" field.
|
|
func CreateTimeLT(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeLTE applies the LTE predicate on the "create_time" field.
|
|
func CreateTimeLTE(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeIsNil applies the IsNil predicate on the "create_time" field.
|
|
func CreateTimeIsNil() predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIsNull(FieldCreateTime))
|
|
}
|
|
|
|
// CreateTimeNotNil applies the NotNil predicate on the "create_time" field.
|
|
func CreateTimeNotNil() predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotNull(FieldCreateTime))
|
|
}
|
|
|
|
// UpdaterEQ applies the EQ predicate on the "updater" field.
|
|
func UpdaterEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterNEQ applies the NEQ predicate on the "updater" field.
|
|
func UpdaterNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterIn applies the In predicate on the "updater" field.
|
|
func UpdaterIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldUpdater, vs...))
|
|
}
|
|
|
|
// UpdaterNotIn applies the NotIn predicate on the "updater" field.
|
|
func UpdaterNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldUpdater, vs...))
|
|
}
|
|
|
|
// UpdaterGT applies the GT predicate on the "updater" field.
|
|
func UpdaterGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterGTE applies the GTE predicate on the "updater" field.
|
|
func UpdaterGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterLT applies the LT predicate on the "updater" field.
|
|
func UpdaterLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterLTE applies the LTE predicate on the "updater" field.
|
|
func UpdaterLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterContains applies the Contains predicate on the "updater" field.
|
|
func UpdaterContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterHasPrefix applies the HasPrefix predicate on the "updater" field.
|
|
func UpdaterHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterHasSuffix applies the HasSuffix predicate on the "updater" field.
|
|
func UpdaterHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterEqualFold applies the EqualFold predicate on the "updater" field.
|
|
func UpdaterEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterContainsFold applies the ContainsFold predicate on the "updater" field.
|
|
func UpdaterContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdateTimeEQ applies the EQ predicate on the "update_time" field.
|
|
func UpdateTimeEQ(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
|
|
func UpdateTimeNEQ(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeIn applies the In predicate on the "update_time" field.
|
|
func UpdateTimeIn(vs ...time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldUpdateTime, vs...))
|
|
}
|
|
|
|
// UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
|
|
func UpdateTimeNotIn(vs ...time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldUpdateTime, vs...))
|
|
}
|
|
|
|
// UpdateTimeGT applies the GT predicate on the "update_time" field.
|
|
func UpdateTimeGT(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeGTE applies the GTE predicate on the "update_time" field.
|
|
func UpdateTimeGTE(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeLT applies the LT predicate on the "update_time" field.
|
|
func UpdateTimeLT(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeLTE applies the LTE predicate on the "update_time" field.
|
|
func UpdateTimeLTE(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeIsNil applies the IsNil predicate on the "update_time" field.
|
|
func UpdateTimeIsNil() predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIsNull(FieldUpdateTime))
|
|
}
|
|
|
|
// UpdateTimeNotNil applies the NotNil predicate on the "update_time" field.
|
|
func UpdateTimeNotNil() predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotNull(FieldUpdateTime))
|
|
}
|
|
|
|
// DeletedEQ applies the EQ predicate on the "deleted" field.
|
|
func DeletedEQ(v bool) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldDeleted, v))
|
|
}
|
|
|
|
// DeletedNEQ applies the NEQ predicate on the "deleted" field.
|
|
func DeletedNEQ(v bool) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldDeleted, v))
|
|
}
|
|
|
|
// NickNameEQ applies the EQ predicate on the "nick_name" field.
|
|
func NickNameEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameNEQ applies the NEQ predicate on the "nick_name" field.
|
|
func NickNameNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameIn applies the In predicate on the "nick_name" field.
|
|
func NickNameIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldNickName, vs...))
|
|
}
|
|
|
|
// NickNameNotIn applies the NotIn predicate on the "nick_name" field.
|
|
func NickNameNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldNickName, vs...))
|
|
}
|
|
|
|
// NickNameGT applies the GT predicate on the "nick_name" field.
|
|
func NickNameGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameGTE applies the GTE predicate on the "nick_name" field.
|
|
func NickNameGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameLT applies the LT predicate on the "nick_name" field.
|
|
func NickNameLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameLTE applies the LTE predicate on the "nick_name" field.
|
|
func NickNameLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameContains applies the Contains predicate on the "nick_name" field.
|
|
func NickNameContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameHasPrefix applies the HasPrefix predicate on the "nick_name" field.
|
|
func NickNameHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameHasSuffix applies the HasSuffix predicate on the "nick_name" field.
|
|
func NickNameHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameEqualFold applies the EqualFold predicate on the "nick_name" field.
|
|
func NickNameEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldNickName, v))
|
|
}
|
|
|
|
// NickNameContainsFold applies the ContainsFold predicate on the "nick_name" field.
|
|
func NickNameContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldNickName, v))
|
|
}
|
|
|
|
// RarityEQ applies the EQ predicate on the "rarity" field.
|
|
func RarityEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldRarity, v))
|
|
}
|
|
|
|
// RarityNEQ applies the NEQ predicate on the "rarity" field.
|
|
func RarityNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldRarity, v))
|
|
}
|
|
|
|
// RarityIn applies the In predicate on the "rarity" field.
|
|
func RarityIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldRarity, vs...))
|
|
}
|
|
|
|
// RarityNotIn applies the NotIn predicate on the "rarity" field.
|
|
func RarityNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldRarity, vs...))
|
|
}
|
|
|
|
// RarityGT applies the GT predicate on the "rarity" field.
|
|
func RarityGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldRarity, v))
|
|
}
|
|
|
|
// RarityGTE applies the GTE predicate on the "rarity" field.
|
|
func RarityGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldRarity, v))
|
|
}
|
|
|
|
// RarityLT applies the LT predicate on the "rarity" field.
|
|
func RarityLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldRarity, v))
|
|
}
|
|
|
|
// RarityLTE applies the LTE predicate on the "rarity" field.
|
|
func RarityLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldRarity, v))
|
|
}
|
|
|
|
// RarityContains applies the Contains predicate on the "rarity" field.
|
|
func RarityContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldRarity, v))
|
|
}
|
|
|
|
// RarityHasPrefix applies the HasPrefix predicate on the "rarity" field.
|
|
func RarityHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldRarity, v))
|
|
}
|
|
|
|
// RarityHasSuffix applies the HasSuffix predicate on the "rarity" field.
|
|
func RarityHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldRarity, v))
|
|
}
|
|
|
|
// RarityEqualFold applies the EqualFold predicate on the "rarity" field.
|
|
func RarityEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldRarity, v))
|
|
}
|
|
|
|
// RarityContainsFold applies the ContainsFold predicate on the "rarity" field.
|
|
func RarityContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldRarity, v))
|
|
}
|
|
|
|
// RoleEQ applies the EQ predicate on the "role" field.
|
|
func RoleEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldRole, v))
|
|
}
|
|
|
|
// RoleNEQ applies the NEQ predicate on the "role" field.
|
|
func RoleNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldRole, v))
|
|
}
|
|
|
|
// RoleIn applies the In predicate on the "role" field.
|
|
func RoleIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldRole, vs...))
|
|
}
|
|
|
|
// RoleNotIn applies the NotIn predicate on the "role" field.
|
|
func RoleNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldRole, vs...))
|
|
}
|
|
|
|
// RoleGT applies the GT predicate on the "role" field.
|
|
func RoleGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldRole, v))
|
|
}
|
|
|
|
// RoleGTE applies the GTE predicate on the "role" field.
|
|
func RoleGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldRole, v))
|
|
}
|
|
|
|
// RoleLT applies the LT predicate on the "role" field.
|
|
func RoleLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldRole, v))
|
|
}
|
|
|
|
// RoleLTE applies the LTE predicate on the "role" field.
|
|
func RoleLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldRole, v))
|
|
}
|
|
|
|
// RoleContains applies the Contains predicate on the "role" field.
|
|
func RoleContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldRole, v))
|
|
}
|
|
|
|
// RoleHasPrefix applies the HasPrefix predicate on the "role" field.
|
|
func RoleHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldRole, v))
|
|
}
|
|
|
|
// RoleHasSuffix applies the HasSuffix predicate on the "role" field.
|
|
func RoleHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldRole, v))
|
|
}
|
|
|
|
// RoleEqualFold applies the EqualFold predicate on the "role" field.
|
|
func RoleEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldRole, v))
|
|
}
|
|
|
|
// RoleContainsFold applies the ContainsFold predicate on the "role" field.
|
|
func RoleContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldRole, v))
|
|
}
|
|
|
|
// ZodiacEQ applies the EQ predicate on the "zodiac" field.
|
|
func ZodiacEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacNEQ applies the NEQ predicate on the "zodiac" field.
|
|
func ZodiacNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacIn applies the In predicate on the "zodiac" field.
|
|
func ZodiacIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldZodiac, vs...))
|
|
}
|
|
|
|
// ZodiacNotIn applies the NotIn predicate on the "zodiac" field.
|
|
func ZodiacNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldZodiac, vs...))
|
|
}
|
|
|
|
// ZodiacGT applies the GT predicate on the "zodiac" field.
|
|
func ZodiacGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacGTE applies the GTE predicate on the "zodiac" field.
|
|
func ZodiacGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacLT applies the LT predicate on the "zodiac" field.
|
|
func ZodiacLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacLTE applies the LTE predicate on the "zodiac" field.
|
|
func ZodiacLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacContains applies the Contains predicate on the "zodiac" field.
|
|
func ZodiacContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacHasPrefix applies the HasPrefix predicate on the "zodiac" field.
|
|
func ZodiacHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacHasSuffix applies the HasSuffix predicate on the "zodiac" field.
|
|
func ZodiacHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacEqualFold applies the EqualFold predicate on the "zodiac" field.
|
|
func ZodiacEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldZodiac, v))
|
|
}
|
|
|
|
// ZodiacContainsFold applies the ContainsFold predicate on the "zodiac" field.
|
|
func ZodiacContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldZodiac, v))
|
|
}
|
|
|
|
// HeadImgURLEQ applies the EQ predicate on the "head_img_url" field.
|
|
func HeadImgURLEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLNEQ applies the NEQ predicate on the "head_img_url" field.
|
|
func HeadImgURLNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLIn applies the In predicate on the "head_img_url" field.
|
|
func HeadImgURLIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldHeadImgURL, vs...))
|
|
}
|
|
|
|
// HeadImgURLNotIn applies the NotIn predicate on the "head_img_url" field.
|
|
func HeadImgURLNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldHeadImgURL, vs...))
|
|
}
|
|
|
|
// HeadImgURLGT applies the GT predicate on the "head_img_url" field.
|
|
func HeadImgURLGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLGTE applies the GTE predicate on the "head_img_url" field.
|
|
func HeadImgURLGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLLT applies the LT predicate on the "head_img_url" field.
|
|
func HeadImgURLLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLLTE applies the LTE predicate on the "head_img_url" field.
|
|
func HeadImgURLLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLContains applies the Contains predicate on the "head_img_url" field.
|
|
func HeadImgURLContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLHasPrefix applies the HasPrefix predicate on the "head_img_url" field.
|
|
func HeadImgURLHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLHasSuffix applies the HasSuffix predicate on the "head_img_url" field.
|
|
func HeadImgURLHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLEqualFold applies the EqualFold predicate on the "head_img_url" field.
|
|
func HeadImgURLEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// HeadImgURLContainsFold applies the ContainsFold predicate on the "head_img_url" field.
|
|
func HeadImgURLContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldHeadImgURL, v))
|
|
}
|
|
|
|
// AttributeEQ applies the EQ predicate on the "attribute" field.
|
|
func AttributeEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeNEQ applies the NEQ predicate on the "attribute" field.
|
|
func AttributeNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeIn applies the In predicate on the "attribute" field.
|
|
func AttributeIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldAttribute, vs...))
|
|
}
|
|
|
|
// AttributeNotIn applies the NotIn predicate on the "attribute" field.
|
|
func AttributeNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldAttribute, vs...))
|
|
}
|
|
|
|
// AttributeGT applies the GT predicate on the "attribute" field.
|
|
func AttributeGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeGTE applies the GTE predicate on the "attribute" field.
|
|
func AttributeGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeLT applies the LT predicate on the "attribute" field.
|
|
func AttributeLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeLTE applies the LTE predicate on the "attribute" field.
|
|
func AttributeLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeContains applies the Contains predicate on the "attribute" field.
|
|
func AttributeContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeHasPrefix applies the HasPrefix predicate on the "attribute" field.
|
|
func AttributeHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeHasSuffix applies the HasSuffix predicate on the "attribute" field.
|
|
func AttributeHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeEqualFold applies the EqualFold predicate on the "attribute" field.
|
|
func AttributeEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldAttribute, v))
|
|
}
|
|
|
|
// AttributeContainsFold applies the ContainsFold predicate on the "attribute" field.
|
|
func AttributeContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldAttribute, v))
|
|
}
|
|
|
|
// RemarkEQ applies the EQ predicate on the "remark" field.
|
|
func RemarkEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkNEQ applies the NEQ predicate on the "remark" field.
|
|
func RemarkNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkIn applies the In predicate on the "remark" field.
|
|
func RemarkIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldRemark, vs...))
|
|
}
|
|
|
|
// RemarkNotIn applies the NotIn predicate on the "remark" field.
|
|
func RemarkNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldRemark, vs...))
|
|
}
|
|
|
|
// RemarkGT applies the GT predicate on the "remark" field.
|
|
func RemarkGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkGTE applies the GTE predicate on the "remark" field.
|
|
func RemarkGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkLT applies the LT predicate on the "remark" field.
|
|
func RemarkLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkLTE applies the LTE predicate on the "remark" field.
|
|
func RemarkLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkContains applies the Contains predicate on the "remark" field.
|
|
func RemarkContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
|
|
func RemarkHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
|
|
func RemarkHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkEqualFold applies the EqualFold predicate on the "remark" field.
|
|
func RemarkEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldRemark, v))
|
|
}
|
|
|
|
// RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
|
|
func RemarkContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldRemark, v))
|
|
}
|
|
|
|
// RawJSONEQ applies the EQ predicate on the "raw_json" field.
|
|
func RawJSONEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONNEQ applies the NEQ predicate on the "raw_json" field.
|
|
func RawJSONNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONIn applies the In predicate on the "raw_json" field.
|
|
func RawJSONIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldRawJSON, vs...))
|
|
}
|
|
|
|
// RawJSONNotIn applies the NotIn predicate on the "raw_json" field.
|
|
func RawJSONNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldRawJSON, vs...))
|
|
}
|
|
|
|
// RawJSONGT applies the GT predicate on the "raw_json" field.
|
|
func RawJSONGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONGTE applies the GTE predicate on the "raw_json" field.
|
|
func RawJSONGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONLT applies the LT predicate on the "raw_json" field.
|
|
func RawJSONLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONLTE applies the LTE predicate on the "raw_json" field.
|
|
func RawJSONLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONContains applies the Contains predicate on the "raw_json" field.
|
|
func RawJSONContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONHasPrefix applies the HasPrefix predicate on the "raw_json" field.
|
|
func RawJSONHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONHasSuffix applies the HasSuffix predicate on the "raw_json" field.
|
|
func RawJSONHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONEqualFold applies the EqualFold predicate on the "raw_json" field.
|
|
func RawJSONEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldRawJSON, v))
|
|
}
|
|
|
|
// RawJSONContainsFold applies the ContainsFold predicate on the "raw_json" field.
|
|
func RawJSONContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldRawJSON, v))
|
|
}
|
|
|
|
// ContentJSONSetEQ applies the EQ predicate on the "content_json_set" field.
|
|
func ContentJSONSetEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetNEQ applies the NEQ predicate on the "content_json_set" field.
|
|
func ContentJSONSetNEQ(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetIn applies the In predicate on the "content_json_set" field.
|
|
func ContentJSONSetIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldContentJSONSet, vs...))
|
|
}
|
|
|
|
// ContentJSONSetNotIn applies the NotIn predicate on the "content_json_set" field.
|
|
func ContentJSONSetNotIn(vs ...string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldContentJSONSet, vs...))
|
|
}
|
|
|
|
// ContentJSONSetGT applies the GT predicate on the "content_json_set" field.
|
|
func ContentJSONSetGT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetGTE applies the GTE predicate on the "content_json_set" field.
|
|
func ContentJSONSetGTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetLT applies the LT predicate on the "content_json_set" field.
|
|
func ContentJSONSetLT(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetLTE applies the LTE predicate on the "content_json_set" field.
|
|
func ContentJSONSetLTE(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetContains applies the Contains predicate on the "content_json_set" field.
|
|
func ContentJSONSetContains(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContains(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetHasPrefix applies the HasPrefix predicate on the "content_json_set" field.
|
|
func ContentJSONSetHasPrefix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasPrefix(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetHasSuffix applies the HasSuffix predicate on the "content_json_set" field.
|
|
func ContentJSONSetHasSuffix(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldHasSuffix(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetEqualFold applies the EqualFold predicate on the "content_json_set" field.
|
|
func ContentJSONSetEqualFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEqualFold(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// ContentJSONSetContainsFold applies the ContainsFold predicate on the "content_json_set" field.
|
|
func ContentJSONSetContainsFold(v string) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldContainsFold(FieldContentJSONSet, v))
|
|
}
|
|
|
|
// UpdateTimeSetEQ applies the EQ predicate on the "update_time_set" field.
|
|
func UpdateTimeSetEQ(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldEQ(FieldUpdateTimeSet, v))
|
|
}
|
|
|
|
// UpdateTimeSetNEQ applies the NEQ predicate on the "update_time_set" field.
|
|
func UpdateTimeSetNEQ(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNEQ(FieldUpdateTimeSet, v))
|
|
}
|
|
|
|
// UpdateTimeSetIn applies the In predicate on the "update_time_set" field.
|
|
func UpdateTimeSetIn(vs ...time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIn(FieldUpdateTimeSet, vs...))
|
|
}
|
|
|
|
// UpdateTimeSetNotIn applies the NotIn predicate on the "update_time_set" field.
|
|
func UpdateTimeSetNotIn(vs ...time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotIn(FieldUpdateTimeSet, vs...))
|
|
}
|
|
|
|
// UpdateTimeSetGT applies the GT predicate on the "update_time_set" field.
|
|
func UpdateTimeSetGT(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGT(FieldUpdateTimeSet, v))
|
|
}
|
|
|
|
// UpdateTimeSetGTE applies the GTE predicate on the "update_time_set" field.
|
|
func UpdateTimeSetGTE(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldGTE(FieldUpdateTimeSet, v))
|
|
}
|
|
|
|
// UpdateTimeSetLT applies the LT predicate on the "update_time_set" field.
|
|
func UpdateTimeSetLT(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLT(FieldUpdateTimeSet, v))
|
|
}
|
|
|
|
// UpdateTimeSetLTE applies the LTE predicate on the "update_time_set" field.
|
|
func UpdateTimeSetLTE(v time.Time) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldLTE(FieldUpdateTimeSet, v))
|
|
}
|
|
|
|
// UpdateTimeSetIsNil applies the IsNil predicate on the "update_time_set" field.
|
|
func UpdateTimeSetIsNil() predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldIsNull(FieldUpdateTimeSet))
|
|
}
|
|
|
|
// UpdateTimeSetNotNil applies the NotNil predicate on the "update_time_set" field.
|
|
func UpdateTimeSetNotNil() predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.FieldNotNull(FieldUpdateTimeSet))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.EpicHeroInfo) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.EpicHeroInfo) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.EpicHeroInfo) predicate.EpicHeroInfo {
|
|
return predicate.EpicHeroInfo(sql.NotPredicates(p))
|
|
}
|