406 lines
16 KiB
Go
406 lines
16 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package epicgvgattackteams
|
|
|
|
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.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDEQ applies the EQ predicate on the ID field.
|
|
func IDEQ(id int64) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldID, id))
|
|
}
|
|
|
|
// IDNEQ applies the NEQ predicate on the ID field.
|
|
func IDNEQ(id int64) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNEQ(FieldID, id))
|
|
}
|
|
|
|
// IDIn applies the In predicate on the ID field.
|
|
func IDIn(ids ...int64) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDNotIn applies the NotIn predicate on the ID field.
|
|
func IDNotIn(ids ...int64) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNotIn(FieldID, ids...))
|
|
}
|
|
|
|
// IDGT applies the GT predicate on the ID field.
|
|
func IDGT(id int64) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGT(FieldID, id))
|
|
}
|
|
|
|
// IDGTE applies the GTE predicate on the ID field.
|
|
func IDGTE(id int64) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGTE(FieldID, id))
|
|
}
|
|
|
|
// IDLT applies the LT predicate on the ID field.
|
|
func IDLT(id int64) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLT(FieldID, id))
|
|
}
|
|
|
|
// IDLTE applies the LTE predicate on the ID field.
|
|
func IDLTE(id int64) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLTE(FieldID, id))
|
|
}
|
|
|
|
// AttackHeroes applies equality check predicate on the "attack_heroes" field. It's identical to AttackHeroesEQ.
|
|
func AttackHeroes(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// Creator applies equality check predicate on the "creator" field. It's identical to CreatorEQ.
|
|
func Creator(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(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.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// Updater applies equality check predicate on the "updater" field. It's identical to UpdaterEQ.
|
|
func Updater(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(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.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
|
|
func Deleted(v bool) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldDeleted, v))
|
|
}
|
|
|
|
// AttackHeroesEQ applies the EQ predicate on the "attack_heroes" field.
|
|
func AttackHeroesEQ(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesNEQ applies the NEQ predicate on the "attack_heroes" field.
|
|
func AttackHeroesNEQ(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNEQ(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesIn applies the In predicate on the "attack_heroes" field.
|
|
func AttackHeroesIn(vs ...string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldIn(FieldAttackHeroes, vs...))
|
|
}
|
|
|
|
// AttackHeroesNotIn applies the NotIn predicate on the "attack_heroes" field.
|
|
func AttackHeroesNotIn(vs ...string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNotIn(FieldAttackHeroes, vs...))
|
|
}
|
|
|
|
// AttackHeroesGT applies the GT predicate on the "attack_heroes" field.
|
|
func AttackHeroesGT(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGT(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesGTE applies the GTE predicate on the "attack_heroes" field.
|
|
func AttackHeroesGTE(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGTE(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesLT applies the LT predicate on the "attack_heroes" field.
|
|
func AttackHeroesLT(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLT(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesLTE applies the LTE predicate on the "attack_heroes" field.
|
|
func AttackHeroesLTE(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLTE(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesContains applies the Contains predicate on the "attack_heroes" field.
|
|
func AttackHeroesContains(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldContains(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesHasPrefix applies the HasPrefix predicate on the "attack_heroes" field.
|
|
func AttackHeroesHasPrefix(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldHasPrefix(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesHasSuffix applies the HasSuffix predicate on the "attack_heroes" field.
|
|
func AttackHeroesHasSuffix(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldHasSuffix(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesEqualFold applies the EqualFold predicate on the "attack_heroes" field.
|
|
func AttackHeroesEqualFold(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEqualFold(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// AttackHeroesContainsFold applies the ContainsFold predicate on the "attack_heroes" field.
|
|
func AttackHeroesContainsFold(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldContainsFold(FieldAttackHeroes, v))
|
|
}
|
|
|
|
// CreatorEQ applies the EQ predicate on the "creator" field.
|
|
func CreatorEQ(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorNEQ applies the NEQ predicate on the "creator" field.
|
|
func CreatorNEQ(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNEQ(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorIn applies the In predicate on the "creator" field.
|
|
func CreatorIn(vs ...string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldIn(FieldCreator, vs...))
|
|
}
|
|
|
|
// CreatorNotIn applies the NotIn predicate on the "creator" field.
|
|
func CreatorNotIn(vs ...string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNotIn(FieldCreator, vs...))
|
|
}
|
|
|
|
// CreatorGT applies the GT predicate on the "creator" field.
|
|
func CreatorGT(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGT(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorGTE applies the GTE predicate on the "creator" field.
|
|
func CreatorGTE(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGTE(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorLT applies the LT predicate on the "creator" field.
|
|
func CreatorLT(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLT(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorLTE applies the LTE predicate on the "creator" field.
|
|
func CreatorLTE(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLTE(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorContains applies the Contains predicate on the "creator" field.
|
|
func CreatorContains(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldContains(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorHasPrefix applies the HasPrefix predicate on the "creator" field.
|
|
func CreatorHasPrefix(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldHasPrefix(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorHasSuffix applies the HasSuffix predicate on the "creator" field.
|
|
func CreatorHasSuffix(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldHasSuffix(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorEqualFold applies the EqualFold predicate on the "creator" field.
|
|
func CreatorEqualFold(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEqualFold(FieldCreator, v))
|
|
}
|
|
|
|
// CreatorContainsFold applies the ContainsFold predicate on the "creator" field.
|
|
func CreatorContainsFold(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldContainsFold(FieldCreator, v))
|
|
}
|
|
|
|
// CreateTimeEQ applies the EQ predicate on the "create_time" field.
|
|
func CreateTimeEQ(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
|
|
func CreateTimeNEQ(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNEQ(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeIn applies the In predicate on the "create_time" field.
|
|
func CreateTimeIn(vs ...time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldIn(FieldCreateTime, vs...))
|
|
}
|
|
|
|
// CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
|
|
func CreateTimeNotIn(vs ...time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNotIn(FieldCreateTime, vs...))
|
|
}
|
|
|
|
// CreateTimeGT applies the GT predicate on the "create_time" field.
|
|
func CreateTimeGT(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGT(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeGTE applies the GTE predicate on the "create_time" field.
|
|
func CreateTimeGTE(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGTE(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeLT applies the LT predicate on the "create_time" field.
|
|
func CreateTimeLT(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLT(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeLTE applies the LTE predicate on the "create_time" field.
|
|
func CreateTimeLTE(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLTE(FieldCreateTime, v))
|
|
}
|
|
|
|
// CreateTimeIsNil applies the IsNil predicate on the "create_time" field.
|
|
func CreateTimeIsNil() predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldIsNull(FieldCreateTime))
|
|
}
|
|
|
|
// CreateTimeNotNil applies the NotNil predicate on the "create_time" field.
|
|
func CreateTimeNotNil() predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNotNull(FieldCreateTime))
|
|
}
|
|
|
|
// UpdaterEQ applies the EQ predicate on the "updater" field.
|
|
func UpdaterEQ(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterNEQ applies the NEQ predicate on the "updater" field.
|
|
func UpdaterNEQ(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNEQ(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterIn applies the In predicate on the "updater" field.
|
|
func UpdaterIn(vs ...string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldIn(FieldUpdater, vs...))
|
|
}
|
|
|
|
// UpdaterNotIn applies the NotIn predicate on the "updater" field.
|
|
func UpdaterNotIn(vs ...string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNotIn(FieldUpdater, vs...))
|
|
}
|
|
|
|
// UpdaterGT applies the GT predicate on the "updater" field.
|
|
func UpdaterGT(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGT(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterGTE applies the GTE predicate on the "updater" field.
|
|
func UpdaterGTE(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGTE(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterLT applies the LT predicate on the "updater" field.
|
|
func UpdaterLT(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLT(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterLTE applies the LTE predicate on the "updater" field.
|
|
func UpdaterLTE(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLTE(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterContains applies the Contains predicate on the "updater" field.
|
|
func UpdaterContains(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldContains(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterHasPrefix applies the HasPrefix predicate on the "updater" field.
|
|
func UpdaterHasPrefix(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldHasPrefix(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterHasSuffix applies the HasSuffix predicate on the "updater" field.
|
|
func UpdaterHasSuffix(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldHasSuffix(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterEqualFold applies the EqualFold predicate on the "updater" field.
|
|
func UpdaterEqualFold(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEqualFold(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdaterContainsFold applies the ContainsFold predicate on the "updater" field.
|
|
func UpdaterContainsFold(v string) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldContainsFold(FieldUpdater, v))
|
|
}
|
|
|
|
// UpdateTimeEQ applies the EQ predicate on the "update_time" field.
|
|
func UpdateTimeEQ(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
|
|
func UpdateTimeNEQ(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNEQ(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeIn applies the In predicate on the "update_time" field.
|
|
func UpdateTimeIn(vs ...time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldIn(FieldUpdateTime, vs...))
|
|
}
|
|
|
|
// UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
|
|
func UpdateTimeNotIn(vs ...time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNotIn(FieldUpdateTime, vs...))
|
|
}
|
|
|
|
// UpdateTimeGT applies the GT predicate on the "update_time" field.
|
|
func UpdateTimeGT(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGT(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeGTE applies the GTE predicate on the "update_time" field.
|
|
func UpdateTimeGTE(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldGTE(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeLT applies the LT predicate on the "update_time" field.
|
|
func UpdateTimeLT(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLT(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeLTE applies the LTE predicate on the "update_time" field.
|
|
func UpdateTimeLTE(v time.Time) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldLTE(FieldUpdateTime, v))
|
|
}
|
|
|
|
// UpdateTimeIsNil applies the IsNil predicate on the "update_time" field.
|
|
func UpdateTimeIsNil() predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldIsNull(FieldUpdateTime))
|
|
}
|
|
|
|
// UpdateTimeNotNil applies the NotNil predicate on the "update_time" field.
|
|
func UpdateTimeNotNil() predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNotNull(FieldUpdateTime))
|
|
}
|
|
|
|
// DeletedEQ applies the EQ predicate on the "deleted" field.
|
|
func DeletedEQ(v bool) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldEQ(FieldDeleted, v))
|
|
}
|
|
|
|
// DeletedNEQ applies the NEQ predicate on the "deleted" field.
|
|
func DeletedNEQ(v bool) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.FieldNEQ(FieldDeleted, v))
|
|
}
|
|
|
|
// And groups predicates with the AND operator between them.
|
|
func And(predicates ...predicate.EpicGvgAttackTeams) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.AndPredicates(predicates...))
|
|
}
|
|
|
|
// Or groups predicates with the OR operator between them.
|
|
func Or(predicates ...predicate.EpicGvgAttackTeams) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.OrPredicates(predicates...))
|
|
}
|
|
|
|
// Not applies the not operator on the given predicate.
|
|
func Not(p predicate.EpicGvgAttackTeams) predicate.EpicGvgAttackTeams {
|
|
return predicate.EpicGvgAttackTeams(sql.NotPredicates(p))
|
|
}
|