611 lines
25 KiB
Go
611 lines
25 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package epicherouserbuild
|
|
|
|
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.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// ArtifactCode applies equality check predicate on the "artifact_code" field. It's identical to ArtifactCodeEQ.
|
|
func ArtifactCode(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldArtifactCode, v))
|
|
}
|
|
|
|
// HeroCode applies equality check predicate on the "hero_code" field. It's identical to HeroCodeEQ.
|
|
func HeroCode(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroHeathBuild applies equality check predicate on the "hero_heath_build" field. It's identical to HeroHeathBuildEQ.
|
|
func HeroHeathBuild(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldHeroHeathBuild, v))
|
|
}
|
|
|
|
// HeroAttackBuild applies equality check predicate on the "hero_attack_build" field. It's identical to HeroAttackBuildEQ.
|
|
func HeroAttackBuild(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldHeroAttackBuild, v))
|
|
}
|
|
|
|
// HeroDefBuild applies equality check predicate on the "hero_def_build" field. It's identical to HeroDefBuildEQ.
|
|
func HeroDefBuild(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldHeroDefBuild, v))
|
|
}
|
|
|
|
// Creator applies equality check predicate on the "creator" field. It's identical to CreatorEQ.
|
|
func Creator(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(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.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// Updater applies equality check predicate on the "updater" field. It's identical to UpdaterEQ.
|
|
func Updater(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(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.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
|
|
func Deleted(v bool) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldDeleted, v))
|
|
}
|
|
|
|
// ArtifactCodeEQ applies the EQ predicate on the "artifact_code" field.
|
|
func ArtifactCodeEQ(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeNEQ applies the NEQ predicate on the "artifact_code" field.
|
|
func ArtifactCodeNEQ(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeIn applies the In predicate on the "artifact_code" field.
|
|
func ArtifactCodeIn(vs ...string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldArtifactCode, vs...))
|
|
}
|
|
|
|
// ArtifactCodeNotIn applies the NotIn predicate on the "artifact_code" field.
|
|
func ArtifactCodeNotIn(vs ...string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldArtifactCode, vs...))
|
|
}
|
|
|
|
// ArtifactCodeGT applies the GT predicate on the "artifact_code" field.
|
|
func ArtifactCodeGT(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeGTE applies the GTE predicate on the "artifact_code" field.
|
|
func ArtifactCodeGTE(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeLT applies the LT predicate on the "artifact_code" field.
|
|
func ArtifactCodeLT(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeLTE applies the LTE predicate on the "artifact_code" field.
|
|
func ArtifactCodeLTE(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeContains applies the Contains predicate on the "artifact_code" field.
|
|
func ArtifactCodeContains(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldContains(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeHasPrefix applies the HasPrefix predicate on the "artifact_code" field.
|
|
func ArtifactCodeHasPrefix(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldHasPrefix(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeHasSuffix applies the HasSuffix predicate on the "artifact_code" field.
|
|
func ArtifactCodeHasSuffix(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldHasSuffix(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeEqualFold applies the EqualFold predicate on the "artifact_code" field.
|
|
func ArtifactCodeEqualFold(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEqualFold(FieldArtifactCode, v))
|
|
}
|
|
|
|
// ArtifactCodeContainsFold applies the ContainsFold predicate on the "artifact_code" field.
|
|
func ArtifactCodeContainsFold(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldContainsFold(FieldArtifactCode, v))
|
|
}
|
|
|
|
// HeroCodeEQ applies the EQ predicate on the "hero_code" field.
|
|
func HeroCodeEQ(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeNEQ applies the NEQ predicate on the "hero_code" field.
|
|
func HeroCodeNEQ(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeIn applies the In predicate on the "hero_code" field.
|
|
func HeroCodeIn(vs ...string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldHeroCode, vs...))
|
|
}
|
|
|
|
// HeroCodeNotIn applies the NotIn predicate on the "hero_code" field.
|
|
func HeroCodeNotIn(vs ...string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldHeroCode, vs...))
|
|
}
|
|
|
|
// HeroCodeGT applies the GT predicate on the "hero_code" field.
|
|
func HeroCodeGT(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeGTE applies the GTE predicate on the "hero_code" field.
|
|
func HeroCodeGTE(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeLT applies the LT predicate on the "hero_code" field.
|
|
func HeroCodeLT(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeLTE applies the LTE predicate on the "hero_code" field.
|
|
func HeroCodeLTE(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeContains applies the Contains predicate on the "hero_code" field.
|
|
func HeroCodeContains(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldContains(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeHasPrefix applies the HasPrefix predicate on the "hero_code" field.
|
|
func HeroCodeHasPrefix(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldHasPrefix(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeHasSuffix applies the HasSuffix predicate on the "hero_code" field.
|
|
func HeroCodeHasSuffix(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldHasSuffix(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeEqualFold applies the EqualFold predicate on the "hero_code" field.
|
|
func HeroCodeEqualFold(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEqualFold(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroCodeContainsFold applies the ContainsFold predicate on the "hero_code" field.
|
|
func HeroCodeContainsFold(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldContainsFold(FieldHeroCode, v))
|
|
}
|
|
|
|
// HeroHeathBuildEQ applies the EQ predicate on the "hero_heath_build" field.
|
|
func HeroHeathBuildEQ(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldHeroHeathBuild, v))
|
|
}
|
|
|
|
// HeroHeathBuildNEQ applies the NEQ predicate on the "hero_heath_build" field.
|
|
func HeroHeathBuildNEQ(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldHeroHeathBuild, v))
|
|
}
|
|
|
|
// HeroHeathBuildIn applies the In predicate on the "hero_heath_build" field.
|
|
func HeroHeathBuildIn(vs ...float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldHeroHeathBuild, vs...))
|
|
}
|
|
|
|
// HeroHeathBuildNotIn applies the NotIn predicate on the "hero_heath_build" field.
|
|
func HeroHeathBuildNotIn(vs ...float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldHeroHeathBuild, vs...))
|
|
}
|
|
|
|
// HeroHeathBuildGT applies the GT predicate on the "hero_heath_build" field.
|
|
func HeroHeathBuildGT(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldHeroHeathBuild, v))
|
|
}
|
|
|
|
// HeroHeathBuildGTE applies the GTE predicate on the "hero_heath_build" field.
|
|
func HeroHeathBuildGTE(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldHeroHeathBuild, v))
|
|
}
|
|
|
|
// HeroHeathBuildLT applies the LT predicate on the "hero_heath_build" field.
|
|
func HeroHeathBuildLT(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldHeroHeathBuild, v))
|
|
}
|
|
|
|
// HeroHeathBuildLTE applies the LTE predicate on the "hero_heath_build" field.
|
|
func HeroHeathBuildLTE(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldHeroHeathBuild, v))
|
|
}
|
|
|
|
// HeroAttackBuildEQ applies the EQ predicate on the "hero_attack_build" field.
|
|
func HeroAttackBuildEQ(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldHeroAttackBuild, v))
|
|
}
|
|
|
|
// HeroAttackBuildNEQ applies the NEQ predicate on the "hero_attack_build" field.
|
|
func HeroAttackBuildNEQ(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldHeroAttackBuild, v))
|
|
}
|
|
|
|
// HeroAttackBuildIn applies the In predicate on the "hero_attack_build" field.
|
|
func HeroAttackBuildIn(vs ...float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldHeroAttackBuild, vs...))
|
|
}
|
|
|
|
// HeroAttackBuildNotIn applies the NotIn predicate on the "hero_attack_build" field.
|
|
func HeroAttackBuildNotIn(vs ...float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldHeroAttackBuild, vs...))
|
|
}
|
|
|
|
// HeroAttackBuildGT applies the GT predicate on the "hero_attack_build" field.
|
|
func HeroAttackBuildGT(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldHeroAttackBuild, v))
|
|
}
|
|
|
|
// HeroAttackBuildGTE applies the GTE predicate on the "hero_attack_build" field.
|
|
func HeroAttackBuildGTE(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldHeroAttackBuild, v))
|
|
}
|
|
|
|
// HeroAttackBuildLT applies the LT predicate on the "hero_attack_build" field.
|
|
func HeroAttackBuildLT(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldHeroAttackBuild, v))
|
|
}
|
|
|
|
// HeroAttackBuildLTE applies the LTE predicate on the "hero_attack_build" field.
|
|
func HeroAttackBuildLTE(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldHeroAttackBuild, v))
|
|
}
|
|
|
|
// HeroDefBuildEQ applies the EQ predicate on the "hero_def_build" field.
|
|
func HeroDefBuildEQ(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldHeroDefBuild, v))
|
|
}
|
|
|
|
// HeroDefBuildNEQ applies the NEQ predicate on the "hero_def_build" field.
|
|
func HeroDefBuildNEQ(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldHeroDefBuild, v))
|
|
}
|
|
|
|
// HeroDefBuildIn applies the In predicate on the "hero_def_build" field.
|
|
func HeroDefBuildIn(vs ...float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldHeroDefBuild, vs...))
|
|
}
|
|
|
|
// HeroDefBuildNotIn applies the NotIn predicate on the "hero_def_build" field.
|
|
func HeroDefBuildNotIn(vs ...float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldHeroDefBuild, vs...))
|
|
}
|
|
|
|
// HeroDefBuildGT applies the GT predicate on the "hero_def_build" field.
|
|
func HeroDefBuildGT(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldHeroDefBuild, v))
|
|
}
|
|
|
|
// HeroDefBuildGTE applies the GTE predicate on the "hero_def_build" field.
|
|
func HeroDefBuildGTE(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldHeroDefBuild, v))
|
|
}
|
|
|
|
// HeroDefBuildLT applies the LT predicate on the "hero_def_build" field.
|
|
func HeroDefBuildLT(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldHeroDefBuild, v))
|
|
}
|
|
|
|
// HeroDefBuildLTE applies the LTE predicate on the "hero_def_build" field.
|
|
func HeroDefBuildLTE(v float64) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldHeroDefBuild, v))
|
|
}
|
|
|
|
// CreatorEQ applies the EQ predicate on the "creator" field.
|
|
func CreatorEQ(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorNEQ applies the NEQ predicate on the "creator" field.
|
|
func CreatorNEQ(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorIn applies the In predicate on the "creator" field.
|
|
func CreatorIn(vs ...string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldCreator, vs...))
|
|
}
|
|
|
|
// CreatorNotIn applies the NotIn predicate on the "creator" field.
|
|
func CreatorNotIn(vs ...string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldCreator, vs...))
|
|
}
|
|
|
|
// CreatorGT applies the GT predicate on the "creator" field.
|
|
func CreatorGT(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorGTE applies the GTE predicate on the "creator" field.
|
|
func CreatorGTE(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorLT applies the LT predicate on the "creator" field.
|
|
func CreatorLT(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorLTE applies the LTE predicate on the "creator" field.
|
|
func CreatorLTE(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorContains applies the Contains predicate on the "creator" field.
|
|
func CreatorContains(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldContains(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorHasPrefix applies the HasPrefix predicate on the "creator" field.
|
|
func CreatorHasPrefix(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldHasPrefix(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorHasSuffix applies the HasSuffix predicate on the "creator" field.
|
|
func CreatorHasSuffix(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldHasSuffix(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorEqualFold applies the EqualFold predicate on the "creator" field.
|
|
func CreatorEqualFold(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEqualFold(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorContainsFold applies the ContainsFold predicate on the "creator" field.
|
|
func CreatorContainsFold(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldContainsFold(FieldCreator, v))
|
|
}
|
|
|
|
// CreateTimeEQ applies the EQ predicate on the "create_time" field.
|
|
func CreateTimeEQ(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
|
|
func CreateTimeNEQ(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeIn applies the In predicate on the "create_time" field.
|
|
func CreateTimeIn(vs ...time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldCreateTime, vs...))
|
|
}
|
|
|
|
// CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
|
|
func CreateTimeNotIn(vs ...time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldCreateTime, vs...))
|
|
}
|
|
|
|
// CreateTimeGT applies the GT predicate on the "create_time" field.
|
|
func CreateTimeGT(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeGTE applies the GTE predicate on the "create_time" field.
|
|
func CreateTimeGTE(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeLT applies the LT predicate on the "create_time" field.
|
|
func CreateTimeLT(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeLTE applies the LTE predicate on the "create_time" field.
|
|
func CreateTimeLTE(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeIsNil applies the IsNil predicate on the "create_time" field.
|
|
func CreateTimeIsNil() predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIsNull(FieldCreateTime))
|
|
}
|
|
|
|
// CreateTimeNotNil applies the NotNil predicate on the "create_time" field.
|
|
func CreateTimeNotNil() predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotNull(FieldCreateTime))
|
|
}
|
|
|
|
// UpdaterEQ applies the EQ predicate on the "updater" field.
|
|
func UpdaterEQ(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterNEQ applies the NEQ predicate on the "updater" field.
|
|
func UpdaterNEQ(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterIn applies the In predicate on the "updater" field.
|
|
func UpdaterIn(vs ...string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldUpdater, vs...))
|
|
}
|
|
|
|
// UpdaterNotIn applies the NotIn predicate on the "updater" field.
|
|
func UpdaterNotIn(vs ...string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldUpdater, vs...))
|
|
}
|
|
|
|
// UpdaterGT applies the GT predicate on the "updater" field.
|
|
func UpdaterGT(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterGTE applies the GTE predicate on the "updater" field.
|
|
func UpdaterGTE(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterLT applies the LT predicate on the "updater" field.
|
|
func UpdaterLT(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterLTE applies the LTE predicate on the "updater" field.
|
|
func UpdaterLTE(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterContains applies the Contains predicate on the "updater" field.
|
|
func UpdaterContains(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldContains(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterHasPrefix applies the HasPrefix predicate on the "updater" field.
|
|
func UpdaterHasPrefix(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldHasPrefix(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterHasSuffix applies the HasSuffix predicate on the "updater" field.
|
|
func UpdaterHasSuffix(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldHasSuffix(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterEqualFold applies the EqualFold predicate on the "updater" field.
|
|
func UpdaterEqualFold(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEqualFold(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterContainsFold applies the ContainsFold predicate on the "updater" field.
|
|
func UpdaterContainsFold(v string) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldContainsFold(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdateTimeEQ applies the EQ predicate on the "update_time" field.
|
|
func UpdateTimeEQ(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
|
|
func UpdateTimeNEQ(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeIn applies the In predicate on the "update_time" field.
|
|
func UpdateTimeIn(vs ...time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIn(FieldUpdateTime, vs...))
|
|
}
|
|
|
|
// UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
|
|
func UpdateTimeNotIn(vs ...time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotIn(FieldUpdateTime, vs...))
|
|
}
|
|
|
|
// UpdateTimeGT applies the GT predicate on the "update_time" field.
|
|
func UpdateTimeGT(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGT(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeGTE applies the GTE predicate on the "update_time" field.
|
|
func UpdateTimeGTE(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldGTE(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeLT applies the LT predicate on the "update_time" field.
|
|
func UpdateTimeLT(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLT(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeLTE applies the LTE predicate on the "update_time" field.
|
|
func UpdateTimeLTE(v time.Time) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldLTE(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeIsNil applies the IsNil predicate on the "update_time" field.
|
|
func UpdateTimeIsNil() predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldIsNull(FieldUpdateTime))
|
|
}
|
|
|
|
// UpdateTimeNotNil applies the NotNil predicate on the "update_time" field.
|
|
func UpdateTimeNotNil() predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNotNull(FieldUpdateTime))
|
|
}
|
|
|
|
// DeletedEQ applies the EQ predicate on the "deleted" field.
|
|
func DeletedEQ(v bool) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldEQ(FieldDeleted, v))
|
|
}
|
|
|
|
// DeletedNEQ applies the NEQ predicate on the "deleted" field.
|
|
func DeletedNEQ(v bool) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.FieldNEQ(FieldDeleted, v))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.EpicHeroUserBuild) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.EpicHeroUserBuild) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.EpicHeroUserBuild) predicate.EpicHeroUserBuild {
|
|
return predicate.EpicHeroUserBuild(sql.NotPredicates(p))
|
|
}
|