Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CombinedSport) predicate.CombinedSport
- func Bronze(v int) predicate.CombinedSport
- func BronzeEQ(v int) predicate.CombinedSport
- func BronzeGT(v int) predicate.CombinedSport
- func BronzeGTE(v int) predicate.CombinedSport
- func BronzeIn(vs ...int) predicate.CombinedSport
- func BronzeLT(v int) predicate.CombinedSport
- func BronzeLTE(v int) predicate.CombinedSport
- func BronzeNEQ(v int) predicate.CombinedSport
- func BronzeNotIn(vs ...int) predicate.CombinedSport
- func Country(v string) predicate.CombinedSport
- func CountryContains(v string) predicate.CombinedSport
- func CountryContainsFold(v string) predicate.CombinedSport
- func CountryEQ(v string) predicate.CombinedSport
- func CountryEqualFold(v string) predicate.CombinedSport
- func CountryGT(v string) predicate.CombinedSport
- func CountryGTE(v string) predicate.CombinedSport
- func CountryHasPrefix(v string) predicate.CombinedSport
- func CountryHasSuffix(v string) predicate.CombinedSport
- func CountryIn(vs ...string) predicate.CombinedSport
- func CountryLT(v string) predicate.CombinedSport
- func CountryLTE(v string) predicate.CombinedSport
- func CountryNEQ(v string) predicate.CombinedSport
- func CountryNotIn(vs ...string) predicate.CombinedSport
- func Gold(v int) predicate.CombinedSport
- func GoldEQ(v int) predicate.CombinedSport
- func GoldGT(v int) predicate.CombinedSport
- func GoldGTE(v int) predicate.CombinedSport
- func GoldIn(vs ...int) predicate.CombinedSport
- func GoldLT(v int) predicate.CombinedSport
- func GoldLTE(v int) predicate.CombinedSport
- func GoldNEQ(v int) predicate.CombinedSport
- func GoldNotIn(vs ...int) predicate.CombinedSport
- func ID(id int) predicate.CombinedSport
- func IDEQ(id int) predicate.CombinedSport
- func IDGT(id int) predicate.CombinedSport
- func IDGTE(id int) predicate.CombinedSport
- func IDIn(ids ...int) predicate.CombinedSport
- func IDLT(id int) predicate.CombinedSport
- func IDLTE(id int) predicate.CombinedSport
- func IDNEQ(id int) predicate.CombinedSport
- func IDNotIn(ids ...int) predicate.CombinedSport
- func Not(p predicate.CombinedSport) predicate.CombinedSport
- func Or(predicates ...predicate.CombinedSport) predicate.CombinedSport
- func PerCapita(v float64) predicate.CombinedSport
- func PerCapitaEQ(v float64) predicate.CombinedSport
- func PerCapitaGT(v float64) predicate.CombinedSport
- func PerCapitaGTE(v float64) predicate.CombinedSport
- func PerCapitaIn(vs ...float64) predicate.CombinedSport
- func PerCapitaLT(v float64) predicate.CombinedSport
- func PerCapitaLTE(v float64) predicate.CombinedSport
- func PerCapitaNEQ(v float64) predicate.CombinedSport
- func PerCapitaNotIn(vs ...float64) predicate.CombinedSport
- func Points(v int) predicate.CombinedSport
- func PointsEQ(v int) predicate.CombinedSport
- func PointsGT(v int) predicate.CombinedSport
- func PointsGTE(v int) predicate.CombinedSport
- func PointsIn(vs ...int) predicate.CombinedSport
- func PointsLT(v int) predicate.CombinedSport
- func PointsLTE(v int) predicate.CombinedSport
- func PointsNEQ(v int) predicate.CombinedSport
- func PointsNotIn(vs ...int) predicate.CombinedSport
- func Population(v int) predicate.CombinedSport
- func PopulationEQ(v int) predicate.CombinedSport
- func PopulationGT(v int) predicate.CombinedSport
- func PopulationGTE(v int) predicate.CombinedSport
- func PopulationIn(vs ...int) predicate.CombinedSport
- func PopulationLT(v int) predicate.CombinedSport
- func PopulationLTE(v int) predicate.CombinedSport
- func PopulationNEQ(v int) predicate.CombinedSport
- func PopulationNotIn(vs ...int) predicate.CombinedSport
- func Silver(v int) predicate.CombinedSport
- func SilverEQ(v int) predicate.CombinedSport
- func SilverGT(v int) predicate.CombinedSport
- func SilverGTE(v int) predicate.CombinedSport
- func SilverIn(vs ...int) predicate.CombinedSport
- func SilverLT(v int) predicate.CombinedSport
- func SilverLTE(v int) predicate.CombinedSport
- func SilverNEQ(v int) predicate.CombinedSport
- func SilverNotIn(vs ...int) predicate.CombinedSport
- func Sport(v string) predicate.CombinedSport
- func SportContains(v string) predicate.CombinedSport
- func SportContainsFold(v string) predicate.CombinedSport
- func SportEQ(v string) predicate.CombinedSport
- func SportEqualFold(v string) predicate.CombinedSport
- func SportGT(v string) predicate.CombinedSport
- func SportGTE(v string) predicate.CombinedSport
- func SportHasPrefix(v string) predicate.CombinedSport
- func SportHasSuffix(v string) predicate.CombinedSport
- func SportIn(vs ...string) predicate.CombinedSport
- func SportLT(v string) predicate.CombinedSport
- func SportLTE(v string) predicate.CombinedSport
- func SportNEQ(v string) predicate.CombinedSport
- func SportNotIn(vs ...string) predicate.CombinedSport
- func TotalScore(v int) predicate.CombinedSport
- func TotalScoreEQ(v int) predicate.CombinedSport
- func TotalScoreGT(v int) predicate.CombinedSport
- func TotalScoreGTE(v int) predicate.CombinedSport
- func TotalScoreIn(vs ...int) predicate.CombinedSport
- func TotalScoreLT(v int) predicate.CombinedSport
- func TotalScoreLTE(v int) predicate.CombinedSport
- func TotalScoreNEQ(v int) predicate.CombinedSport
- func TotalScoreNotIn(vs ...int) predicate.CombinedSport
- func ValidColumn(column string) bool
- type OrderOption
- func ByBronze(opts ...sql.OrderTermOption) OrderOption
- func ByCountry(opts ...sql.OrderTermOption) OrderOption
- func ByGold(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPerCapita(opts ...sql.OrderTermOption) OrderOption
- func ByPoints(opts ...sql.OrderTermOption) OrderOption
- func ByPopulation(opts ...sql.OrderTermOption) OrderOption
- func BySilver(opts ...sql.OrderTermOption) OrderOption
- func BySport(opts ...sql.OrderTermOption) OrderOption
- func ByTotalScore(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the combinedsport type in the database. Label = "combined_sport" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // FieldSport holds the string denoting the sport field in the database. FieldSport = "sport" // FieldGold holds the string denoting the gold field in the database. FieldGold = "gold" // FieldSilver holds the string denoting the silver field in the database. FieldSilver = "silver" // FieldBronze holds the string denoting the bronze field in the database. FieldBronze = "bronze" // FieldPoints holds the string denoting the points field in the database. FieldPoints = "points" // FieldTotalScore holds the string denoting the total_score field in the database. FieldTotalScore = "total_score" // FieldPopulation holds the string denoting the population field in the database. FieldPopulation = "population" // FieldPerCapita holds the string denoting the per_capita field in the database. FieldPerCapita = "per_capita" // Table holds the table name of the combinedsport in the database. Table = "combined_sports" )
Variables ¶
var Columns = []string{ FieldID, FieldCountry, FieldSport, FieldGold, FieldSilver, FieldBronze, FieldPoints, FieldTotalScore, FieldPopulation, FieldPerCapita, }
Columns holds all SQL columns for combinedsport fields.
Functions ¶
func And ¶
func And(predicates ...predicate.CombinedSport) predicate.CombinedSport
And groups predicates with the AND operator between them.
func Bronze ¶
func Bronze(v int) predicate.CombinedSport
Bronze applies equality check predicate on the "bronze" field. It's identical to BronzeEQ.
func BronzeEQ ¶
func BronzeEQ(v int) predicate.CombinedSport
BronzeEQ applies the EQ predicate on the "bronze" field.
func BronzeGT ¶
func BronzeGT(v int) predicate.CombinedSport
BronzeGT applies the GT predicate on the "bronze" field.
func BronzeGTE ¶
func BronzeGTE(v int) predicate.CombinedSport
BronzeGTE applies the GTE predicate on the "bronze" field.
func BronzeIn ¶
func BronzeIn(vs ...int) predicate.CombinedSport
BronzeIn applies the In predicate on the "bronze" field.
func BronzeLT ¶
func BronzeLT(v int) predicate.CombinedSport
BronzeLT applies the LT predicate on the "bronze" field.
func BronzeLTE ¶
func BronzeLTE(v int) predicate.CombinedSport
BronzeLTE applies the LTE predicate on the "bronze" field.
func BronzeNEQ ¶
func BronzeNEQ(v int) predicate.CombinedSport
BronzeNEQ applies the NEQ predicate on the "bronze" field.
func BronzeNotIn ¶
func BronzeNotIn(vs ...int) predicate.CombinedSport
BronzeNotIn applies the NotIn predicate on the "bronze" field.
func Country ¶
func Country(v string) predicate.CombinedSport
Country applies equality check predicate on the "country" field. It's identical to CountryEQ.
func CountryContains ¶
func CountryContains(v string) predicate.CombinedSport
CountryContains applies the Contains predicate on the "country" field.
func CountryContainsFold ¶
func CountryContainsFold(v string) predicate.CombinedSport
CountryContainsFold applies the ContainsFold predicate on the "country" field.
func CountryEQ ¶
func CountryEQ(v string) predicate.CombinedSport
CountryEQ applies the EQ predicate on the "country" field.
func CountryEqualFold ¶
func CountryEqualFold(v string) predicate.CombinedSport
CountryEqualFold applies the EqualFold predicate on the "country" field.
func CountryGT ¶
func CountryGT(v string) predicate.CombinedSport
CountryGT applies the GT predicate on the "country" field.
func CountryGTE ¶
func CountryGTE(v string) predicate.CombinedSport
CountryGTE applies the GTE predicate on the "country" field.
func CountryHasPrefix ¶
func CountryHasPrefix(v string) predicate.CombinedSport
CountryHasPrefix applies the HasPrefix predicate on the "country" field.
func CountryHasSuffix ¶
func CountryHasSuffix(v string) predicate.CombinedSport
CountryHasSuffix applies the HasSuffix predicate on the "country" field.
func CountryIn ¶
func CountryIn(vs ...string) predicate.CombinedSport
CountryIn applies the In predicate on the "country" field.
func CountryLT ¶
func CountryLT(v string) predicate.CombinedSport
CountryLT applies the LT predicate on the "country" field.
func CountryLTE ¶
func CountryLTE(v string) predicate.CombinedSport
CountryLTE applies the LTE predicate on the "country" field.
func CountryNEQ ¶
func CountryNEQ(v string) predicate.CombinedSport
CountryNEQ applies the NEQ predicate on the "country" field.
func CountryNotIn ¶
func CountryNotIn(vs ...string) predicate.CombinedSport
CountryNotIn applies the NotIn predicate on the "country" field.
func Gold ¶
func Gold(v int) predicate.CombinedSport
Gold applies equality check predicate on the "gold" field. It's identical to GoldEQ.
func GoldEQ ¶
func GoldEQ(v int) predicate.CombinedSport
GoldEQ applies the EQ predicate on the "gold" field.
func GoldGT ¶
func GoldGT(v int) predicate.CombinedSport
GoldGT applies the GT predicate on the "gold" field.
func GoldGTE ¶
func GoldGTE(v int) predicate.CombinedSport
GoldGTE applies the GTE predicate on the "gold" field.
func GoldIn ¶
func GoldIn(vs ...int) predicate.CombinedSport
GoldIn applies the In predicate on the "gold" field.
func GoldLT ¶
func GoldLT(v int) predicate.CombinedSport
GoldLT applies the LT predicate on the "gold" field.
func GoldLTE ¶
func GoldLTE(v int) predicate.CombinedSport
GoldLTE applies the LTE predicate on the "gold" field.
func GoldNEQ ¶
func GoldNEQ(v int) predicate.CombinedSport
GoldNEQ applies the NEQ predicate on the "gold" field.
func GoldNotIn ¶
func GoldNotIn(vs ...int) predicate.CombinedSport
GoldNotIn applies the NotIn predicate on the "gold" field.
func IDEQ ¶
func IDEQ(id int) predicate.CombinedSport
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.CombinedSport
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.CombinedSport
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.CombinedSport
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.CombinedSport
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.CombinedSport
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.CombinedSport
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.CombinedSport
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.CombinedSport) predicate.CombinedSport
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CombinedSport) predicate.CombinedSport
Or groups predicates with the OR operator between them.
func PerCapita ¶
func PerCapita(v float64) predicate.CombinedSport
PerCapita applies equality check predicate on the "per_capita" field. It's identical to PerCapitaEQ.
func PerCapitaEQ ¶
func PerCapitaEQ(v float64) predicate.CombinedSport
PerCapitaEQ applies the EQ predicate on the "per_capita" field.
func PerCapitaGT ¶
func PerCapitaGT(v float64) predicate.CombinedSport
PerCapitaGT applies the GT predicate on the "per_capita" field.
func PerCapitaGTE ¶
func PerCapitaGTE(v float64) predicate.CombinedSport
PerCapitaGTE applies the GTE predicate on the "per_capita" field.
func PerCapitaIn ¶
func PerCapitaIn(vs ...float64) predicate.CombinedSport
PerCapitaIn applies the In predicate on the "per_capita" field.
func PerCapitaLT ¶
func PerCapitaLT(v float64) predicate.CombinedSport
PerCapitaLT applies the LT predicate on the "per_capita" field.
func PerCapitaLTE ¶
func PerCapitaLTE(v float64) predicate.CombinedSport
PerCapitaLTE applies the LTE predicate on the "per_capita" field.
func PerCapitaNEQ ¶
func PerCapitaNEQ(v float64) predicate.CombinedSport
PerCapitaNEQ applies the NEQ predicate on the "per_capita" field.
func PerCapitaNotIn ¶
func PerCapitaNotIn(vs ...float64) predicate.CombinedSport
PerCapitaNotIn applies the NotIn predicate on the "per_capita" field.
func Points ¶
func Points(v int) predicate.CombinedSport
Points applies equality check predicate on the "points" field. It's identical to PointsEQ.
func PointsEQ ¶
func PointsEQ(v int) predicate.CombinedSport
PointsEQ applies the EQ predicate on the "points" field.
func PointsGT ¶
func PointsGT(v int) predicate.CombinedSport
PointsGT applies the GT predicate on the "points" field.
func PointsGTE ¶
func PointsGTE(v int) predicate.CombinedSport
PointsGTE applies the GTE predicate on the "points" field.
func PointsIn ¶
func PointsIn(vs ...int) predicate.CombinedSport
PointsIn applies the In predicate on the "points" field.
func PointsLT ¶
func PointsLT(v int) predicate.CombinedSport
PointsLT applies the LT predicate on the "points" field.
func PointsLTE ¶
func PointsLTE(v int) predicate.CombinedSport
PointsLTE applies the LTE predicate on the "points" field.
func PointsNEQ ¶
func PointsNEQ(v int) predicate.CombinedSport
PointsNEQ applies the NEQ predicate on the "points" field.
func PointsNotIn ¶
func PointsNotIn(vs ...int) predicate.CombinedSport
PointsNotIn applies the NotIn predicate on the "points" field.
func Population ¶
func Population(v int) predicate.CombinedSport
Population applies equality check predicate on the "population" field. It's identical to PopulationEQ.
func PopulationEQ ¶
func PopulationEQ(v int) predicate.CombinedSport
PopulationEQ applies the EQ predicate on the "population" field.
func PopulationGT ¶
func PopulationGT(v int) predicate.CombinedSport
PopulationGT applies the GT predicate on the "population" field.
func PopulationGTE ¶
func PopulationGTE(v int) predicate.CombinedSport
PopulationGTE applies the GTE predicate on the "population" field.
func PopulationIn ¶
func PopulationIn(vs ...int) predicate.CombinedSport
PopulationIn applies the In predicate on the "population" field.
func PopulationLT ¶
func PopulationLT(v int) predicate.CombinedSport
PopulationLT applies the LT predicate on the "population" field.
func PopulationLTE ¶
func PopulationLTE(v int) predicate.CombinedSport
PopulationLTE applies the LTE predicate on the "population" field.
func PopulationNEQ ¶
func PopulationNEQ(v int) predicate.CombinedSport
PopulationNEQ applies the NEQ predicate on the "population" field.
func PopulationNotIn ¶
func PopulationNotIn(vs ...int) predicate.CombinedSport
PopulationNotIn applies the NotIn predicate on the "population" field.
func Silver ¶
func Silver(v int) predicate.CombinedSport
Silver applies equality check predicate on the "silver" field. It's identical to SilverEQ.
func SilverEQ ¶
func SilverEQ(v int) predicate.CombinedSport
SilverEQ applies the EQ predicate on the "silver" field.
func SilverGT ¶
func SilverGT(v int) predicate.CombinedSport
SilverGT applies the GT predicate on the "silver" field.
func SilverGTE ¶
func SilverGTE(v int) predicate.CombinedSport
SilverGTE applies the GTE predicate on the "silver" field.
func SilverIn ¶
func SilverIn(vs ...int) predicate.CombinedSport
SilverIn applies the In predicate on the "silver" field.
func SilverLT ¶
func SilverLT(v int) predicate.CombinedSport
SilverLT applies the LT predicate on the "silver" field.
func SilverLTE ¶
func SilverLTE(v int) predicate.CombinedSport
SilverLTE applies the LTE predicate on the "silver" field.
func SilverNEQ ¶
func SilverNEQ(v int) predicate.CombinedSport
SilverNEQ applies the NEQ predicate on the "silver" field.
func SilverNotIn ¶
func SilverNotIn(vs ...int) predicate.CombinedSport
SilverNotIn applies the NotIn predicate on the "silver" field.
func Sport ¶
func Sport(v string) predicate.CombinedSport
Sport applies equality check predicate on the "sport" field. It's identical to SportEQ.
func SportContains ¶
func SportContains(v string) predicate.CombinedSport
SportContains applies the Contains predicate on the "sport" field.
func SportContainsFold ¶
func SportContainsFold(v string) predicate.CombinedSport
SportContainsFold applies the ContainsFold predicate on the "sport" field.
func SportEQ ¶
func SportEQ(v string) predicate.CombinedSport
SportEQ applies the EQ predicate on the "sport" field.
func SportEqualFold ¶
func SportEqualFold(v string) predicate.CombinedSport
SportEqualFold applies the EqualFold predicate on the "sport" field.
func SportGT ¶
func SportGT(v string) predicate.CombinedSport
SportGT applies the GT predicate on the "sport" field.
func SportGTE ¶
func SportGTE(v string) predicate.CombinedSport
SportGTE applies the GTE predicate on the "sport" field.
func SportHasPrefix ¶
func SportHasPrefix(v string) predicate.CombinedSport
SportHasPrefix applies the HasPrefix predicate on the "sport" field.
func SportHasSuffix ¶
func SportHasSuffix(v string) predicate.CombinedSport
SportHasSuffix applies the HasSuffix predicate on the "sport" field.
func SportIn ¶
func SportIn(vs ...string) predicate.CombinedSport
SportIn applies the In predicate on the "sport" field.
func SportLT ¶
func SportLT(v string) predicate.CombinedSport
SportLT applies the LT predicate on the "sport" field.
func SportLTE ¶
func SportLTE(v string) predicate.CombinedSport
SportLTE applies the LTE predicate on the "sport" field.
func SportNEQ ¶
func SportNEQ(v string) predicate.CombinedSport
SportNEQ applies the NEQ predicate on the "sport" field.
func SportNotIn ¶
func SportNotIn(vs ...string) predicate.CombinedSport
SportNotIn applies the NotIn predicate on the "sport" field.
func TotalScore ¶
func TotalScore(v int) predicate.CombinedSport
TotalScore applies equality check predicate on the "total_score" field. It's identical to TotalScoreEQ.
func TotalScoreEQ ¶
func TotalScoreEQ(v int) predicate.CombinedSport
TotalScoreEQ applies the EQ predicate on the "total_score" field.
func TotalScoreGT ¶
func TotalScoreGT(v int) predicate.CombinedSport
TotalScoreGT applies the GT predicate on the "total_score" field.
func TotalScoreGTE ¶
func TotalScoreGTE(v int) predicate.CombinedSport
TotalScoreGTE applies the GTE predicate on the "total_score" field.
func TotalScoreIn ¶
func TotalScoreIn(vs ...int) predicate.CombinedSport
TotalScoreIn applies the In predicate on the "total_score" field.
func TotalScoreLT ¶
func TotalScoreLT(v int) predicate.CombinedSport
TotalScoreLT applies the LT predicate on the "total_score" field.
func TotalScoreLTE ¶
func TotalScoreLTE(v int) predicate.CombinedSport
TotalScoreLTE applies the LTE predicate on the "total_score" field.
func TotalScoreNEQ ¶
func TotalScoreNEQ(v int) predicate.CombinedSport
TotalScoreNEQ applies the NEQ predicate on the "total_score" field.
func TotalScoreNotIn ¶
func TotalScoreNotIn(vs ...int) predicate.CombinedSport
TotalScoreNotIn applies the NotIn predicate on the "total_score" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the CombinedSport queries.
func ByBronze ¶
func ByBronze(opts ...sql.OrderTermOption) OrderOption
ByBronze orders the results by the bronze field.
func ByCountry ¶
func ByCountry(opts ...sql.OrderTermOption) OrderOption
ByCountry orders the results by the country field.
func ByGold ¶
func ByGold(opts ...sql.OrderTermOption) OrderOption
ByGold orders the results by the gold field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPerCapita ¶
func ByPerCapita(opts ...sql.OrderTermOption) OrderOption
ByPerCapita orders the results by the per_capita field.
func ByPoints ¶
func ByPoints(opts ...sql.OrderTermOption) OrderOption
ByPoints orders the results by the points field.
func ByPopulation ¶
func ByPopulation(opts ...sql.OrderTermOption) OrderOption
ByPopulation orders the results by the population field.
func BySilver ¶
func BySilver(opts ...sql.OrderTermOption) OrderOption
BySilver orders the results by the silver field.
func BySport ¶
func BySport(opts ...sql.OrderTermOption) OrderOption
BySport orders the results by the sport field.
func ByTotalScore ¶
func ByTotalScore(opts ...sql.OrderTermOption) OrderOption
ByTotalScore orders the results by the total_score field.