// Code generated by ent, DO NOT EDIT. package player import ( "time" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "somegit.dev/csgowtf/csgowtfd/ent/predicate" ) // ID filters vertices based on their ID field. func ID(id uint64) predicate.Player { return predicate.Player(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id uint64) predicate.Player { return predicate.Player(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id uint64) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...uint64) predicate.Player { return predicate.Player(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...uint64) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id uint64) predicate.Player { return predicate.Player(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id uint64) predicate.Player { return predicate.Player(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id uint64) predicate.Player { return predicate.Player(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id uint64) predicate.Player { return predicate.Player(sql.FieldLTE(FieldID, id)) } // Name applies equality check predicate on the "name" field. It's identical to NameEQ. func Name(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldName, v)) } // Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ. func Avatar(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldAvatar, v)) } // VanityURL applies equality check predicate on the "vanity_url" field. It's identical to VanityURLEQ. func VanityURL(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldVanityURL, v)) } // VanityURLReal applies equality check predicate on the "vanity_url_real" field. It's identical to VanityURLRealEQ. func VanityURLReal(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldVanityURLReal, v)) } // VacDate applies equality check predicate on the "vac_date" field. It's identical to VacDateEQ. func VacDate(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldVacDate, v)) } // VacCount applies equality check predicate on the "vac_count" field. It's identical to VacCountEQ. func VacCount(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldVacCount, v)) } // GameBanDate applies equality check predicate on the "game_ban_date" field. It's identical to GameBanDateEQ. func GameBanDate(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldGameBanDate, v)) } // GameBanCount applies equality check predicate on the "game_ban_count" field. It's identical to GameBanCountEQ. func GameBanCount(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldGameBanCount, v)) } // SteamUpdated applies equality check predicate on the "steam_updated" field. It's identical to SteamUpdatedEQ. func SteamUpdated(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldSteamUpdated, v)) } // SharecodeUpdated applies equality check predicate on the "sharecode_updated" field. It's identical to SharecodeUpdatedEQ. func SharecodeUpdated(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldSharecodeUpdated, v)) } // AuthCode applies equality check predicate on the "auth_code" field. It's identical to AuthCodeEQ. func AuthCode(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldAuthCode, v)) } // ProfileCreated applies equality check predicate on the "profile_created" field. It's identical to ProfileCreatedEQ. func ProfileCreated(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldProfileCreated, v)) } // OldestSharecodeSeen applies equality check predicate on the "oldest_sharecode_seen" field. It's identical to OldestSharecodeSeenEQ. func OldestSharecodeSeen(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldOldestSharecodeSeen, v)) } // Wins applies equality check predicate on the "wins" field. It's identical to WinsEQ. func Wins(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldWins, v)) } // Looses applies equality check predicate on the "looses" field. It's identical to LoosesEQ. func Looses(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldLooses, v)) } // Ties applies equality check predicate on the "ties" field. It's identical to TiesEQ. func Ties(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldTies, v)) } // NameEQ applies the EQ predicate on the "name" field. func NameEQ(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldName, v)) } // NameNEQ applies the NEQ predicate on the "name" field. func NameNEQ(v string) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldName, v)) } // NameIn applies the In predicate on the "name" field. func NameIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldIn(FieldName, vs...)) } // NameNotIn applies the NotIn predicate on the "name" field. func NameNotIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldName, vs...)) } // NameGT applies the GT predicate on the "name" field. func NameGT(v string) predicate.Player { return predicate.Player(sql.FieldGT(FieldName, v)) } // NameGTE applies the GTE predicate on the "name" field. func NameGTE(v string) predicate.Player { return predicate.Player(sql.FieldGTE(FieldName, v)) } // NameLT applies the LT predicate on the "name" field. func NameLT(v string) predicate.Player { return predicate.Player(sql.FieldLT(FieldName, v)) } // NameLTE applies the LTE predicate on the "name" field. func NameLTE(v string) predicate.Player { return predicate.Player(sql.FieldLTE(FieldName, v)) } // NameContains applies the Contains predicate on the "name" field. func NameContains(v string) predicate.Player { return predicate.Player(sql.FieldContains(FieldName, v)) } // NameHasPrefix applies the HasPrefix predicate on the "name" field. func NameHasPrefix(v string) predicate.Player { return predicate.Player(sql.FieldHasPrefix(FieldName, v)) } // NameHasSuffix applies the HasSuffix predicate on the "name" field. func NameHasSuffix(v string) predicate.Player { return predicate.Player(sql.FieldHasSuffix(FieldName, v)) } // NameIsNil applies the IsNil predicate on the "name" field. func NameIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldName)) } // NameNotNil applies the NotNil predicate on the "name" field. func NameNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldName)) } // NameEqualFold applies the EqualFold predicate on the "name" field. func NameEqualFold(v string) predicate.Player { return predicate.Player(sql.FieldEqualFold(FieldName, v)) } // NameContainsFold applies the ContainsFold predicate on the "name" field. func NameContainsFold(v string) predicate.Player { return predicate.Player(sql.FieldContainsFold(FieldName, v)) } // AvatarEQ applies the EQ predicate on the "avatar" field. func AvatarEQ(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldAvatar, v)) } // AvatarNEQ applies the NEQ predicate on the "avatar" field. func AvatarNEQ(v string) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldAvatar, v)) } // AvatarIn applies the In predicate on the "avatar" field. func AvatarIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldIn(FieldAvatar, vs...)) } // AvatarNotIn applies the NotIn predicate on the "avatar" field. func AvatarNotIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldAvatar, vs...)) } // AvatarGT applies the GT predicate on the "avatar" field. func AvatarGT(v string) predicate.Player { return predicate.Player(sql.FieldGT(FieldAvatar, v)) } // AvatarGTE applies the GTE predicate on the "avatar" field. func AvatarGTE(v string) predicate.Player { return predicate.Player(sql.FieldGTE(FieldAvatar, v)) } // AvatarLT applies the LT predicate on the "avatar" field. func AvatarLT(v string) predicate.Player { return predicate.Player(sql.FieldLT(FieldAvatar, v)) } // AvatarLTE applies the LTE predicate on the "avatar" field. func AvatarLTE(v string) predicate.Player { return predicate.Player(sql.FieldLTE(FieldAvatar, v)) } // AvatarContains applies the Contains predicate on the "avatar" field. func AvatarContains(v string) predicate.Player { return predicate.Player(sql.FieldContains(FieldAvatar, v)) } // AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field. func AvatarHasPrefix(v string) predicate.Player { return predicate.Player(sql.FieldHasPrefix(FieldAvatar, v)) } // AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field. func AvatarHasSuffix(v string) predicate.Player { return predicate.Player(sql.FieldHasSuffix(FieldAvatar, v)) } // AvatarIsNil applies the IsNil predicate on the "avatar" field. func AvatarIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldAvatar)) } // AvatarNotNil applies the NotNil predicate on the "avatar" field. func AvatarNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldAvatar)) } // AvatarEqualFold applies the EqualFold predicate on the "avatar" field. func AvatarEqualFold(v string) predicate.Player { return predicate.Player(sql.FieldEqualFold(FieldAvatar, v)) } // AvatarContainsFold applies the ContainsFold predicate on the "avatar" field. func AvatarContainsFold(v string) predicate.Player { return predicate.Player(sql.FieldContainsFold(FieldAvatar, v)) } // VanityURLEQ applies the EQ predicate on the "vanity_url" field. func VanityURLEQ(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldVanityURL, v)) } // VanityURLNEQ applies the NEQ predicate on the "vanity_url" field. func VanityURLNEQ(v string) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldVanityURL, v)) } // VanityURLIn applies the In predicate on the "vanity_url" field. func VanityURLIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldIn(FieldVanityURL, vs...)) } // VanityURLNotIn applies the NotIn predicate on the "vanity_url" field. func VanityURLNotIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldVanityURL, vs...)) } // VanityURLGT applies the GT predicate on the "vanity_url" field. func VanityURLGT(v string) predicate.Player { return predicate.Player(sql.FieldGT(FieldVanityURL, v)) } // VanityURLGTE applies the GTE predicate on the "vanity_url" field. func VanityURLGTE(v string) predicate.Player { return predicate.Player(sql.FieldGTE(FieldVanityURL, v)) } // VanityURLLT applies the LT predicate on the "vanity_url" field. func VanityURLLT(v string) predicate.Player { return predicate.Player(sql.FieldLT(FieldVanityURL, v)) } // VanityURLLTE applies the LTE predicate on the "vanity_url" field. func VanityURLLTE(v string) predicate.Player { return predicate.Player(sql.FieldLTE(FieldVanityURL, v)) } // VanityURLContains applies the Contains predicate on the "vanity_url" field. func VanityURLContains(v string) predicate.Player { return predicate.Player(sql.FieldContains(FieldVanityURL, v)) } // VanityURLHasPrefix applies the HasPrefix predicate on the "vanity_url" field. func VanityURLHasPrefix(v string) predicate.Player { return predicate.Player(sql.FieldHasPrefix(FieldVanityURL, v)) } // VanityURLHasSuffix applies the HasSuffix predicate on the "vanity_url" field. func VanityURLHasSuffix(v string) predicate.Player { return predicate.Player(sql.FieldHasSuffix(FieldVanityURL, v)) } // VanityURLIsNil applies the IsNil predicate on the "vanity_url" field. func VanityURLIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldVanityURL)) } // VanityURLNotNil applies the NotNil predicate on the "vanity_url" field. func VanityURLNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldVanityURL)) } // VanityURLEqualFold applies the EqualFold predicate on the "vanity_url" field. func VanityURLEqualFold(v string) predicate.Player { return predicate.Player(sql.FieldEqualFold(FieldVanityURL, v)) } // VanityURLContainsFold applies the ContainsFold predicate on the "vanity_url" field. func VanityURLContainsFold(v string) predicate.Player { return predicate.Player(sql.FieldContainsFold(FieldVanityURL, v)) } // VanityURLRealEQ applies the EQ predicate on the "vanity_url_real" field. func VanityURLRealEQ(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldVanityURLReal, v)) } // VanityURLRealNEQ applies the NEQ predicate on the "vanity_url_real" field. func VanityURLRealNEQ(v string) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldVanityURLReal, v)) } // VanityURLRealIn applies the In predicate on the "vanity_url_real" field. func VanityURLRealIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldIn(FieldVanityURLReal, vs...)) } // VanityURLRealNotIn applies the NotIn predicate on the "vanity_url_real" field. func VanityURLRealNotIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldVanityURLReal, vs...)) } // VanityURLRealGT applies the GT predicate on the "vanity_url_real" field. func VanityURLRealGT(v string) predicate.Player { return predicate.Player(sql.FieldGT(FieldVanityURLReal, v)) } // VanityURLRealGTE applies the GTE predicate on the "vanity_url_real" field. func VanityURLRealGTE(v string) predicate.Player { return predicate.Player(sql.FieldGTE(FieldVanityURLReal, v)) } // VanityURLRealLT applies the LT predicate on the "vanity_url_real" field. func VanityURLRealLT(v string) predicate.Player { return predicate.Player(sql.FieldLT(FieldVanityURLReal, v)) } // VanityURLRealLTE applies the LTE predicate on the "vanity_url_real" field. func VanityURLRealLTE(v string) predicate.Player { return predicate.Player(sql.FieldLTE(FieldVanityURLReal, v)) } // VanityURLRealContains applies the Contains predicate on the "vanity_url_real" field. func VanityURLRealContains(v string) predicate.Player { return predicate.Player(sql.FieldContains(FieldVanityURLReal, v)) } // VanityURLRealHasPrefix applies the HasPrefix predicate on the "vanity_url_real" field. func VanityURLRealHasPrefix(v string) predicate.Player { return predicate.Player(sql.FieldHasPrefix(FieldVanityURLReal, v)) } // VanityURLRealHasSuffix applies the HasSuffix predicate on the "vanity_url_real" field. func VanityURLRealHasSuffix(v string) predicate.Player { return predicate.Player(sql.FieldHasSuffix(FieldVanityURLReal, v)) } // VanityURLRealIsNil applies the IsNil predicate on the "vanity_url_real" field. func VanityURLRealIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldVanityURLReal)) } // VanityURLRealNotNil applies the NotNil predicate on the "vanity_url_real" field. func VanityURLRealNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldVanityURLReal)) } // VanityURLRealEqualFold applies the EqualFold predicate on the "vanity_url_real" field. func VanityURLRealEqualFold(v string) predicate.Player { return predicate.Player(sql.FieldEqualFold(FieldVanityURLReal, v)) } // VanityURLRealContainsFold applies the ContainsFold predicate on the "vanity_url_real" field. func VanityURLRealContainsFold(v string) predicate.Player { return predicate.Player(sql.FieldContainsFold(FieldVanityURLReal, v)) } // VacDateEQ applies the EQ predicate on the "vac_date" field. func VacDateEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldVacDate, v)) } // VacDateNEQ applies the NEQ predicate on the "vac_date" field. func VacDateNEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldVacDate, v)) } // VacDateIn applies the In predicate on the "vac_date" field. func VacDateIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldIn(FieldVacDate, vs...)) } // VacDateNotIn applies the NotIn predicate on the "vac_date" field. func VacDateNotIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldVacDate, vs...)) } // VacDateGT applies the GT predicate on the "vac_date" field. func VacDateGT(v time.Time) predicate.Player { return predicate.Player(sql.FieldGT(FieldVacDate, v)) } // VacDateGTE applies the GTE predicate on the "vac_date" field. func VacDateGTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldGTE(FieldVacDate, v)) } // VacDateLT applies the LT predicate on the "vac_date" field. func VacDateLT(v time.Time) predicate.Player { return predicate.Player(sql.FieldLT(FieldVacDate, v)) } // VacDateLTE applies the LTE predicate on the "vac_date" field. func VacDateLTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldLTE(FieldVacDate, v)) } // VacDateIsNil applies the IsNil predicate on the "vac_date" field. func VacDateIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldVacDate)) } // VacDateNotNil applies the NotNil predicate on the "vac_date" field. func VacDateNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldVacDate)) } // VacCountEQ applies the EQ predicate on the "vac_count" field. func VacCountEQ(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldVacCount, v)) } // VacCountNEQ applies the NEQ predicate on the "vac_count" field. func VacCountNEQ(v int) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldVacCount, v)) } // VacCountIn applies the In predicate on the "vac_count" field. func VacCountIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldIn(FieldVacCount, vs...)) } // VacCountNotIn applies the NotIn predicate on the "vac_count" field. func VacCountNotIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldVacCount, vs...)) } // VacCountGT applies the GT predicate on the "vac_count" field. func VacCountGT(v int) predicate.Player { return predicate.Player(sql.FieldGT(FieldVacCount, v)) } // VacCountGTE applies the GTE predicate on the "vac_count" field. func VacCountGTE(v int) predicate.Player { return predicate.Player(sql.FieldGTE(FieldVacCount, v)) } // VacCountLT applies the LT predicate on the "vac_count" field. func VacCountLT(v int) predicate.Player { return predicate.Player(sql.FieldLT(FieldVacCount, v)) } // VacCountLTE applies the LTE predicate on the "vac_count" field. func VacCountLTE(v int) predicate.Player { return predicate.Player(sql.FieldLTE(FieldVacCount, v)) } // VacCountIsNil applies the IsNil predicate on the "vac_count" field. func VacCountIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldVacCount)) } // VacCountNotNil applies the NotNil predicate on the "vac_count" field. func VacCountNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldVacCount)) } // GameBanDateEQ applies the EQ predicate on the "game_ban_date" field. func GameBanDateEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldGameBanDate, v)) } // GameBanDateNEQ applies the NEQ predicate on the "game_ban_date" field. func GameBanDateNEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldGameBanDate, v)) } // GameBanDateIn applies the In predicate on the "game_ban_date" field. func GameBanDateIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldIn(FieldGameBanDate, vs...)) } // GameBanDateNotIn applies the NotIn predicate on the "game_ban_date" field. func GameBanDateNotIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldGameBanDate, vs...)) } // GameBanDateGT applies the GT predicate on the "game_ban_date" field. func GameBanDateGT(v time.Time) predicate.Player { return predicate.Player(sql.FieldGT(FieldGameBanDate, v)) } // GameBanDateGTE applies the GTE predicate on the "game_ban_date" field. func GameBanDateGTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldGTE(FieldGameBanDate, v)) } // GameBanDateLT applies the LT predicate on the "game_ban_date" field. func GameBanDateLT(v time.Time) predicate.Player { return predicate.Player(sql.FieldLT(FieldGameBanDate, v)) } // GameBanDateLTE applies the LTE predicate on the "game_ban_date" field. func GameBanDateLTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldLTE(FieldGameBanDate, v)) } // GameBanDateIsNil applies the IsNil predicate on the "game_ban_date" field. func GameBanDateIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldGameBanDate)) } // GameBanDateNotNil applies the NotNil predicate on the "game_ban_date" field. func GameBanDateNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldGameBanDate)) } // GameBanCountEQ applies the EQ predicate on the "game_ban_count" field. func GameBanCountEQ(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldGameBanCount, v)) } // GameBanCountNEQ applies the NEQ predicate on the "game_ban_count" field. func GameBanCountNEQ(v int) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldGameBanCount, v)) } // GameBanCountIn applies the In predicate on the "game_ban_count" field. func GameBanCountIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldIn(FieldGameBanCount, vs...)) } // GameBanCountNotIn applies the NotIn predicate on the "game_ban_count" field. func GameBanCountNotIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldGameBanCount, vs...)) } // GameBanCountGT applies the GT predicate on the "game_ban_count" field. func GameBanCountGT(v int) predicate.Player { return predicate.Player(sql.FieldGT(FieldGameBanCount, v)) } // GameBanCountGTE applies the GTE predicate on the "game_ban_count" field. func GameBanCountGTE(v int) predicate.Player { return predicate.Player(sql.FieldGTE(FieldGameBanCount, v)) } // GameBanCountLT applies the LT predicate on the "game_ban_count" field. func GameBanCountLT(v int) predicate.Player { return predicate.Player(sql.FieldLT(FieldGameBanCount, v)) } // GameBanCountLTE applies the LTE predicate on the "game_ban_count" field. func GameBanCountLTE(v int) predicate.Player { return predicate.Player(sql.FieldLTE(FieldGameBanCount, v)) } // GameBanCountIsNil applies the IsNil predicate on the "game_ban_count" field. func GameBanCountIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldGameBanCount)) } // GameBanCountNotNil applies the NotNil predicate on the "game_ban_count" field. func GameBanCountNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldGameBanCount)) } // SteamUpdatedEQ applies the EQ predicate on the "steam_updated" field. func SteamUpdatedEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldSteamUpdated, v)) } // SteamUpdatedNEQ applies the NEQ predicate on the "steam_updated" field. func SteamUpdatedNEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldSteamUpdated, v)) } // SteamUpdatedIn applies the In predicate on the "steam_updated" field. func SteamUpdatedIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldIn(FieldSteamUpdated, vs...)) } // SteamUpdatedNotIn applies the NotIn predicate on the "steam_updated" field. func SteamUpdatedNotIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldSteamUpdated, vs...)) } // SteamUpdatedGT applies the GT predicate on the "steam_updated" field. func SteamUpdatedGT(v time.Time) predicate.Player { return predicate.Player(sql.FieldGT(FieldSteamUpdated, v)) } // SteamUpdatedGTE applies the GTE predicate on the "steam_updated" field. func SteamUpdatedGTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldGTE(FieldSteamUpdated, v)) } // SteamUpdatedLT applies the LT predicate on the "steam_updated" field. func SteamUpdatedLT(v time.Time) predicate.Player { return predicate.Player(sql.FieldLT(FieldSteamUpdated, v)) } // SteamUpdatedLTE applies the LTE predicate on the "steam_updated" field. func SteamUpdatedLTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldLTE(FieldSteamUpdated, v)) } // SharecodeUpdatedEQ applies the EQ predicate on the "sharecode_updated" field. func SharecodeUpdatedEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldSharecodeUpdated, v)) } // SharecodeUpdatedNEQ applies the NEQ predicate on the "sharecode_updated" field. func SharecodeUpdatedNEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldSharecodeUpdated, v)) } // SharecodeUpdatedIn applies the In predicate on the "sharecode_updated" field. func SharecodeUpdatedIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldIn(FieldSharecodeUpdated, vs...)) } // SharecodeUpdatedNotIn applies the NotIn predicate on the "sharecode_updated" field. func SharecodeUpdatedNotIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldSharecodeUpdated, vs...)) } // SharecodeUpdatedGT applies the GT predicate on the "sharecode_updated" field. func SharecodeUpdatedGT(v time.Time) predicate.Player { return predicate.Player(sql.FieldGT(FieldSharecodeUpdated, v)) } // SharecodeUpdatedGTE applies the GTE predicate on the "sharecode_updated" field. func SharecodeUpdatedGTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldGTE(FieldSharecodeUpdated, v)) } // SharecodeUpdatedLT applies the LT predicate on the "sharecode_updated" field. func SharecodeUpdatedLT(v time.Time) predicate.Player { return predicate.Player(sql.FieldLT(FieldSharecodeUpdated, v)) } // SharecodeUpdatedLTE applies the LTE predicate on the "sharecode_updated" field. func SharecodeUpdatedLTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldLTE(FieldSharecodeUpdated, v)) } // SharecodeUpdatedIsNil applies the IsNil predicate on the "sharecode_updated" field. func SharecodeUpdatedIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldSharecodeUpdated)) } // SharecodeUpdatedNotNil applies the NotNil predicate on the "sharecode_updated" field. func SharecodeUpdatedNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldSharecodeUpdated)) } // AuthCodeEQ applies the EQ predicate on the "auth_code" field. func AuthCodeEQ(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldAuthCode, v)) } // AuthCodeNEQ applies the NEQ predicate on the "auth_code" field. func AuthCodeNEQ(v string) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldAuthCode, v)) } // AuthCodeIn applies the In predicate on the "auth_code" field. func AuthCodeIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldIn(FieldAuthCode, vs...)) } // AuthCodeNotIn applies the NotIn predicate on the "auth_code" field. func AuthCodeNotIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldAuthCode, vs...)) } // AuthCodeGT applies the GT predicate on the "auth_code" field. func AuthCodeGT(v string) predicate.Player { return predicate.Player(sql.FieldGT(FieldAuthCode, v)) } // AuthCodeGTE applies the GTE predicate on the "auth_code" field. func AuthCodeGTE(v string) predicate.Player { return predicate.Player(sql.FieldGTE(FieldAuthCode, v)) } // AuthCodeLT applies the LT predicate on the "auth_code" field. func AuthCodeLT(v string) predicate.Player { return predicate.Player(sql.FieldLT(FieldAuthCode, v)) } // AuthCodeLTE applies the LTE predicate on the "auth_code" field. func AuthCodeLTE(v string) predicate.Player { return predicate.Player(sql.FieldLTE(FieldAuthCode, v)) } // AuthCodeContains applies the Contains predicate on the "auth_code" field. func AuthCodeContains(v string) predicate.Player { return predicate.Player(sql.FieldContains(FieldAuthCode, v)) } // AuthCodeHasPrefix applies the HasPrefix predicate on the "auth_code" field. func AuthCodeHasPrefix(v string) predicate.Player { return predicate.Player(sql.FieldHasPrefix(FieldAuthCode, v)) } // AuthCodeHasSuffix applies the HasSuffix predicate on the "auth_code" field. func AuthCodeHasSuffix(v string) predicate.Player { return predicate.Player(sql.FieldHasSuffix(FieldAuthCode, v)) } // AuthCodeIsNil applies the IsNil predicate on the "auth_code" field. func AuthCodeIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldAuthCode)) } // AuthCodeNotNil applies the NotNil predicate on the "auth_code" field. func AuthCodeNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldAuthCode)) } // AuthCodeEqualFold applies the EqualFold predicate on the "auth_code" field. func AuthCodeEqualFold(v string) predicate.Player { return predicate.Player(sql.FieldEqualFold(FieldAuthCode, v)) } // AuthCodeContainsFold applies the ContainsFold predicate on the "auth_code" field. func AuthCodeContainsFold(v string) predicate.Player { return predicate.Player(sql.FieldContainsFold(FieldAuthCode, v)) } // ProfileCreatedEQ applies the EQ predicate on the "profile_created" field. func ProfileCreatedEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldEQ(FieldProfileCreated, v)) } // ProfileCreatedNEQ applies the NEQ predicate on the "profile_created" field. func ProfileCreatedNEQ(v time.Time) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldProfileCreated, v)) } // ProfileCreatedIn applies the In predicate on the "profile_created" field. func ProfileCreatedIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldIn(FieldProfileCreated, vs...)) } // ProfileCreatedNotIn applies the NotIn predicate on the "profile_created" field. func ProfileCreatedNotIn(vs ...time.Time) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldProfileCreated, vs...)) } // ProfileCreatedGT applies the GT predicate on the "profile_created" field. func ProfileCreatedGT(v time.Time) predicate.Player { return predicate.Player(sql.FieldGT(FieldProfileCreated, v)) } // ProfileCreatedGTE applies the GTE predicate on the "profile_created" field. func ProfileCreatedGTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldGTE(FieldProfileCreated, v)) } // ProfileCreatedLT applies the LT predicate on the "profile_created" field. func ProfileCreatedLT(v time.Time) predicate.Player { return predicate.Player(sql.FieldLT(FieldProfileCreated, v)) } // ProfileCreatedLTE applies the LTE predicate on the "profile_created" field. func ProfileCreatedLTE(v time.Time) predicate.Player { return predicate.Player(sql.FieldLTE(FieldProfileCreated, v)) } // ProfileCreatedIsNil applies the IsNil predicate on the "profile_created" field. func ProfileCreatedIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldProfileCreated)) } // ProfileCreatedNotNil applies the NotNil predicate on the "profile_created" field. func ProfileCreatedNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldProfileCreated)) } // OldestSharecodeSeenEQ applies the EQ predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenEQ(v string) predicate.Player { return predicate.Player(sql.FieldEQ(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenNEQ applies the NEQ predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenNEQ(v string) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenIn applies the In predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldIn(FieldOldestSharecodeSeen, vs...)) } // OldestSharecodeSeenNotIn applies the NotIn predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenNotIn(vs ...string) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldOldestSharecodeSeen, vs...)) } // OldestSharecodeSeenGT applies the GT predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenGT(v string) predicate.Player { return predicate.Player(sql.FieldGT(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenGTE applies the GTE predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenGTE(v string) predicate.Player { return predicate.Player(sql.FieldGTE(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenLT applies the LT predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenLT(v string) predicate.Player { return predicate.Player(sql.FieldLT(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenLTE applies the LTE predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenLTE(v string) predicate.Player { return predicate.Player(sql.FieldLTE(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenContains applies the Contains predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenContains(v string) predicate.Player { return predicate.Player(sql.FieldContains(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenHasPrefix applies the HasPrefix predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenHasPrefix(v string) predicate.Player { return predicate.Player(sql.FieldHasPrefix(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenHasSuffix applies the HasSuffix predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenHasSuffix(v string) predicate.Player { return predicate.Player(sql.FieldHasSuffix(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenIsNil applies the IsNil predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldOldestSharecodeSeen)) } // OldestSharecodeSeenNotNil applies the NotNil predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldOldestSharecodeSeen)) } // OldestSharecodeSeenEqualFold applies the EqualFold predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenEqualFold(v string) predicate.Player { return predicate.Player(sql.FieldEqualFold(FieldOldestSharecodeSeen, v)) } // OldestSharecodeSeenContainsFold applies the ContainsFold predicate on the "oldest_sharecode_seen" field. func OldestSharecodeSeenContainsFold(v string) predicate.Player { return predicate.Player(sql.FieldContainsFold(FieldOldestSharecodeSeen, v)) } // WinsEQ applies the EQ predicate on the "wins" field. func WinsEQ(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldWins, v)) } // WinsNEQ applies the NEQ predicate on the "wins" field. func WinsNEQ(v int) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldWins, v)) } // WinsIn applies the In predicate on the "wins" field. func WinsIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldIn(FieldWins, vs...)) } // WinsNotIn applies the NotIn predicate on the "wins" field. func WinsNotIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldWins, vs...)) } // WinsGT applies the GT predicate on the "wins" field. func WinsGT(v int) predicate.Player { return predicate.Player(sql.FieldGT(FieldWins, v)) } // WinsGTE applies the GTE predicate on the "wins" field. func WinsGTE(v int) predicate.Player { return predicate.Player(sql.FieldGTE(FieldWins, v)) } // WinsLT applies the LT predicate on the "wins" field. func WinsLT(v int) predicate.Player { return predicate.Player(sql.FieldLT(FieldWins, v)) } // WinsLTE applies the LTE predicate on the "wins" field. func WinsLTE(v int) predicate.Player { return predicate.Player(sql.FieldLTE(FieldWins, v)) } // WinsIsNil applies the IsNil predicate on the "wins" field. func WinsIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldWins)) } // WinsNotNil applies the NotNil predicate on the "wins" field. func WinsNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldWins)) } // LoosesEQ applies the EQ predicate on the "looses" field. func LoosesEQ(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldLooses, v)) } // LoosesNEQ applies the NEQ predicate on the "looses" field. func LoosesNEQ(v int) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldLooses, v)) } // LoosesIn applies the In predicate on the "looses" field. func LoosesIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldIn(FieldLooses, vs...)) } // LoosesNotIn applies the NotIn predicate on the "looses" field. func LoosesNotIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldLooses, vs...)) } // LoosesGT applies the GT predicate on the "looses" field. func LoosesGT(v int) predicate.Player { return predicate.Player(sql.FieldGT(FieldLooses, v)) } // LoosesGTE applies the GTE predicate on the "looses" field. func LoosesGTE(v int) predicate.Player { return predicate.Player(sql.FieldGTE(FieldLooses, v)) } // LoosesLT applies the LT predicate on the "looses" field. func LoosesLT(v int) predicate.Player { return predicate.Player(sql.FieldLT(FieldLooses, v)) } // LoosesLTE applies the LTE predicate on the "looses" field. func LoosesLTE(v int) predicate.Player { return predicate.Player(sql.FieldLTE(FieldLooses, v)) } // LoosesIsNil applies the IsNil predicate on the "looses" field. func LoosesIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldLooses)) } // LoosesNotNil applies the NotNil predicate on the "looses" field. func LoosesNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldLooses)) } // TiesEQ applies the EQ predicate on the "ties" field. func TiesEQ(v int) predicate.Player { return predicate.Player(sql.FieldEQ(FieldTies, v)) } // TiesNEQ applies the NEQ predicate on the "ties" field. func TiesNEQ(v int) predicate.Player { return predicate.Player(sql.FieldNEQ(FieldTies, v)) } // TiesIn applies the In predicate on the "ties" field. func TiesIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldIn(FieldTies, vs...)) } // TiesNotIn applies the NotIn predicate on the "ties" field. func TiesNotIn(vs ...int) predicate.Player { return predicate.Player(sql.FieldNotIn(FieldTies, vs...)) } // TiesGT applies the GT predicate on the "ties" field. func TiesGT(v int) predicate.Player { return predicate.Player(sql.FieldGT(FieldTies, v)) } // TiesGTE applies the GTE predicate on the "ties" field. func TiesGTE(v int) predicate.Player { return predicate.Player(sql.FieldGTE(FieldTies, v)) } // TiesLT applies the LT predicate on the "ties" field. func TiesLT(v int) predicate.Player { return predicate.Player(sql.FieldLT(FieldTies, v)) } // TiesLTE applies the LTE predicate on the "ties" field. func TiesLTE(v int) predicate.Player { return predicate.Player(sql.FieldLTE(FieldTies, v)) } // TiesIsNil applies the IsNil predicate on the "ties" field. func TiesIsNil() predicate.Player { return predicate.Player(sql.FieldIsNull(FieldTies)) } // TiesNotNil applies the NotNil predicate on the "ties" field. func TiesNotNil() predicate.Player { return predicate.Player(sql.FieldNotNull(FieldTies)) } // HasStats applies the HasEdge predicate on the "stats" edge. func HasStats() predicate.Player { return predicate.Player(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.O2M, false, StatsTable, StatsColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasStatsWith applies the HasEdge predicate on the "stats" edge with a given conditions (other predicates). func HasStatsWith(preds ...predicate.MatchPlayer) predicate.Player { return predicate.Player(func(s *sql.Selector) { step := newStatsStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasMatches applies the HasEdge predicate on the "matches" edge. func HasMatches() predicate.Player { return predicate.Player(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2M, false, MatchesTable, MatchesPrimaryKey...), ) sqlgraph.HasNeighbors(s, step) }) } // HasMatchesWith applies the HasEdge predicate on the "matches" edge with a given conditions (other predicates). func HasMatchesWith(preds ...predicate.Match) predicate.Player { return predicate.Player(func(s *sql.Selector) { step := newMatchesStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.Player) predicate.Player { return predicate.Player(func(s *sql.Selector) { s1 := s.Clone().SetP(nil) for _, p := range predicates { p(s1) } s.Where(s1.P()) }) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.Player) predicate.Player { return predicate.Player(func(s *sql.Selector) { s1 := s.Clone().SetP(nil) for i, p := range predicates { if i > 0 { s1.Or() } p(s1) } s.Where(s1.P()) }) } // Not applies the not operator on the given predicate. func Not(p predicate.Player) predicate.Player { return predicate.Player(func(s *sql.Selector) { p(s.Not()) }) }