Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Location) predicate.Location
- func City(v string) predicate.Location
- func CityContains(v string) predicate.Location
- func CityContainsFold(v string) predicate.Location
- func CityEQ(v string) predicate.Location
- func CityEqualFold(v string) predicate.Location
- func CityGT(v string) predicate.Location
- func CityGTE(v string) predicate.Location
- func CityHasPrefix(v string) predicate.Location
- func CityHasSuffix(v string) predicate.Location
- func CityIn(vs ...string) predicate.Location
- func CityIsNil() predicate.Location
- func CityLT(v string) predicate.Location
- func CityLTE(v string) predicate.Location
- func CityNEQ(v string) predicate.Location
- func CityNotIn(vs ...string) predicate.Location
- func CityNotNil() predicate.Location
- func Country(v string) predicate.Location
- func CountryContains(v string) predicate.Location
- func CountryContainsFold(v string) predicate.Location
- func CountryEQ(v string) predicate.Location
- func CountryEqualFold(v string) predicate.Location
- func CountryGT(v string) predicate.Location
- func CountryGTE(v string) predicate.Location
- func CountryHasPrefix(v string) predicate.Location
- func CountryHasSuffix(v string) predicate.Location
- func CountryIn(vs ...string) predicate.Location
- func CountryIsNil() predicate.Location
- func CountryLT(v string) predicate.Location
- func CountryLTE(v string) predicate.Location
- func CountryNEQ(v string) predicate.Location
- func CountryNotIn(vs ...string) predicate.Location
- func CountryNotNil() predicate.Location
- func HasEvents() predicate.Location
- func HasEventsWith(preds ...predicate.Event) predicate.Location
- func ID(id int) predicate.Location
- func IDEQ(id int) predicate.Location
- func IDGT(id int) predicate.Location
- func IDGTE(id int) predicate.Location
- func IDIn(ids ...int) predicate.Location
- func IDLT(id int) predicate.Location
- func IDLTE(id int) predicate.Location
- func IDNEQ(id int) predicate.Location
- func IDNotIn(ids ...int) predicate.Location
- func Latitude(v float64) predicate.Location
- func LatitudeEQ(v float64) predicate.Location
- func LatitudeGT(v float64) predicate.Location
- func LatitudeGTE(v float64) predicate.Location
- func LatitudeIn(vs ...float64) predicate.Location
- func LatitudeIsNil() predicate.Location
- func LatitudeLT(v float64) predicate.Location
- func LatitudeLTE(v float64) predicate.Location
- func LatitudeNEQ(v float64) predicate.Location
- func LatitudeNotIn(vs ...float64) predicate.Location
- func LatitudeNotNil() predicate.Location
- func Locale(v string) predicate.Location
- func LocaleContains(v string) predicate.Location
- func LocaleContainsFold(v string) predicate.Location
- func LocaleEQ(v string) predicate.Location
- func LocaleEqualFold(v string) predicate.Location
- func LocaleGT(v string) predicate.Location
- func LocaleGTE(v string) predicate.Location
- func LocaleHasPrefix(v string) predicate.Location
- func LocaleHasSuffix(v string) predicate.Location
- func LocaleIn(vs ...string) predicate.Location
- func LocaleIsNil() predicate.Location
- func LocaleLT(v string) predicate.Location
- func LocaleLTE(v string) predicate.Location
- func LocaleNEQ(v string) predicate.Location
- func LocaleNotIn(vs ...string) predicate.Location
- func LocaleNotNil() predicate.Location
- func Longitude(v float64) predicate.Location
- func LongitudeEQ(v float64) predicate.Location
- func LongitudeGT(v float64) predicate.Location
- func LongitudeGTE(v float64) predicate.Location
- func LongitudeIn(vs ...float64) predicate.Location
- func LongitudeIsNil() predicate.Location
- func LongitudeLT(v float64) predicate.Location
- func LongitudeLTE(v float64) predicate.Location
- func LongitudeNEQ(v float64) predicate.Location
- func LongitudeNotIn(vs ...float64) predicate.Location
- func LongitudeNotNil() predicate.Location
- func Not(p predicate.Location) predicate.Location
- func Or(predicates ...predicate.Location) predicate.Location
- func Postalcode(v string) predicate.Location
- func PostalcodeContains(v string) predicate.Location
- func PostalcodeContainsFold(v string) predicate.Location
- func PostalcodeEQ(v string) predicate.Location
- func PostalcodeEqualFold(v string) predicate.Location
- func PostalcodeGT(v string) predicate.Location
- func PostalcodeGTE(v string) predicate.Location
- func PostalcodeHasPrefix(v string) predicate.Location
- func PostalcodeHasSuffix(v string) predicate.Location
- func PostalcodeIn(vs ...string) predicate.Location
- func PostalcodeIsNil() predicate.Location
- func PostalcodeLT(v string) predicate.Location
- func PostalcodeLTE(v string) predicate.Location
- func PostalcodeNEQ(v string) predicate.Location
- func PostalcodeNotIn(vs ...string) predicate.Location
- func PostalcodeNotNil() predicate.Location
- func Region(v string) predicate.Location
- func RegionContains(v string) predicate.Location
- func RegionContainsFold(v string) predicate.Location
- func RegionEQ(v string) predicate.Location
- func RegionEqualFold(v string) predicate.Location
- func RegionGT(v string) predicate.Location
- func RegionGTE(v string) predicate.Location
- func RegionHasPrefix(v string) predicate.Location
- func RegionHasSuffix(v string) predicate.Location
- func RegionIn(vs ...string) predicate.Location
- func RegionIsNil() predicate.Location
- func RegionLT(v string) predicate.Location
- func RegionLTE(v string) predicate.Location
- func RegionNEQ(v string) predicate.Location
- func RegionNotIn(vs ...string) predicate.Location
- func RegionNotNil() predicate.Location
- func State(v string) predicate.Location
- func StateContains(v string) predicate.Location
- func StateContainsFold(v string) predicate.Location
- func StateEQ(v string) predicate.Location
- func StateEqualFold(v string) predicate.Location
- func StateGT(v string) predicate.Location
- func StateGTE(v string) predicate.Location
- func StateHasPrefix(v string) predicate.Location
- func StateHasSuffix(v string) predicate.Location
- func StateIn(vs ...string) predicate.Location
- func StateIsNil() predicate.Location
- func StateLT(v string) predicate.Location
- func StateLTE(v string) predicate.Location
- func StateNEQ(v string) predicate.Location
- func StateNotIn(vs ...string) predicate.Location
- func StateNotNil() predicate.Location
- func Street(v string) predicate.Location
- func StreetContains(v string) predicate.Location
- func StreetContainsFold(v string) predicate.Location
- func StreetEQ(v string) predicate.Location
- func StreetEqualFold(v string) predicate.Location
- func StreetGT(v string) predicate.Location
- func StreetGTE(v string) predicate.Location
- func StreetHasPrefix(v string) predicate.Location
- func StreetHasSuffix(v string) predicate.Location
- func StreetIn(vs ...string) predicate.Location
- func StreetIsNil() predicate.Location
- func StreetLT(v string) predicate.Location
- func StreetLTE(v string) predicate.Location
- func StreetNEQ(v string) predicate.Location
- func StreetNotIn(vs ...string) predicate.Location
- func StreetNotNil() predicate.Location
- func Timezone(v string) predicate.Location
- func TimezoneContains(v string) predicate.Location
- func TimezoneContainsFold(v string) predicate.Location
- func TimezoneEQ(v string) predicate.Location
- func TimezoneEqualFold(v string) predicate.Location
- func TimezoneGT(v string) predicate.Location
- func TimezoneGTE(v string) predicate.Location
- func TimezoneHasPrefix(v string) predicate.Location
- func TimezoneHasSuffix(v string) predicate.Location
- func TimezoneIn(vs ...string) predicate.Location
- func TimezoneIsNil() predicate.Location
- func TimezoneLT(v string) predicate.Location
- func TimezoneLTE(v string) predicate.Location
- func TimezoneNEQ(v string) predicate.Location
- func TimezoneNotIn(vs ...string) predicate.Location
- func TimezoneNotNil() predicate.Location
Constants ¶
const ( // Label holds the string label denoting the location type in the database. Label = "location" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldStreet holds the string denoting the street field in the database. FieldStreet = "street" // FieldCity holds the string denoting the city field in the database. FieldCity = "city" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldPostalcode holds the string denoting the postalcode field in the database. FieldPostalcode = "postalcode" // FieldRegion holds the string denoting the region field in the database. FieldRegion = "region" // FieldLocale holds the string denoting the locale field in the database. FieldLocale = "locale" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // FieldLongitude holds the string denoting the longitude field in the database. FieldLongitude = "longitude" // FieldLatitude holds the string denoting the latitude field in the database. FieldLatitude = "latitude" // FieldTimezone holds the string denoting the timezone field in the database. FieldTimezone = "timezone" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the location in the database. Table = "locations" // EventsTable is the table the holds the events relation/edge. EventsTable = "events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "event_location" )
Variables ¶
var Columns = []string{ FieldID, FieldStreet, FieldCity, FieldState, FieldPostalcode, FieldRegion, FieldLocale, FieldCountry, FieldLongitude, FieldLatitude, FieldTimezone, }
Columns holds all SQL columns for location fields.
Functions ¶
func CityContains ¶
CityContains applies the Contains predicate on the "city" field.
func CityContainsFold ¶
CityContainsFold applies the ContainsFold predicate on the "city" field.
func CityEqualFold ¶
CityEqualFold applies the EqualFold predicate on the "city" field.
func CityHasPrefix ¶
CityHasPrefix applies the HasPrefix predicate on the "city" field.
func CityHasSuffix ¶
CityHasSuffix applies the HasSuffix predicate on the "city" field.
func CityNotNil ¶
CityNotNil applies the NotNil predicate on the "city" field.
func Country ¶
Country applies equality check predicate on the "country" field. It's identical to CountryEQ.
func CountryContains ¶
CountryContains applies the Contains predicate on the "country" field.
func CountryContainsFold ¶
CountryContainsFold applies the ContainsFold predicate on the "country" field.
func CountryEqualFold ¶
CountryEqualFold applies the EqualFold predicate on the "country" field.
func CountryGTE ¶
CountryGTE applies the GTE predicate on the "country" field.
func CountryHasPrefix ¶
CountryHasPrefix applies the HasPrefix predicate on the "country" field.
func CountryHasSuffix ¶
CountryHasSuffix applies the HasSuffix predicate on the "country" field.
func CountryIsNil ¶
CountryIsNil applies the IsNil predicate on the "country" field.
func CountryLTE ¶
CountryLTE applies the LTE predicate on the "country" field.
func CountryNEQ ¶
CountryNEQ applies the NEQ predicate on the "country" field.
func CountryNotIn ¶
CountryNotIn applies the NotIn predicate on the "country" field.
func CountryNotNil ¶
CountryNotNil applies the NotNil predicate on the "country" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func Latitude ¶
Latitude applies equality check predicate on the "latitude" field. It's identical to LatitudeEQ.
func LatitudeEQ ¶
LatitudeEQ applies the EQ predicate on the "latitude" field.
func LatitudeGT ¶
LatitudeGT applies the GT predicate on the "latitude" field.
func LatitudeGTE ¶
LatitudeGTE applies the GTE predicate on the "latitude" field.
func LatitudeIn ¶
LatitudeIn applies the In predicate on the "latitude" field.
func LatitudeIsNil ¶
LatitudeIsNil applies the IsNil predicate on the "latitude" field.
func LatitudeLT ¶
LatitudeLT applies the LT predicate on the "latitude" field.
func LatitudeLTE ¶
LatitudeLTE applies the LTE predicate on the "latitude" field.
func LatitudeNEQ ¶
LatitudeNEQ applies the NEQ predicate on the "latitude" field.
func LatitudeNotIn ¶
LatitudeNotIn applies the NotIn predicate on the "latitude" field.
func LatitudeNotNil ¶
LatitudeNotNil applies the NotNil predicate on the "latitude" field.
func Locale ¶
Locale applies equality check predicate on the "locale" field. It's identical to LocaleEQ.
func LocaleContains ¶
LocaleContains applies the Contains predicate on the "locale" field.
func LocaleContainsFold ¶
LocaleContainsFold applies the ContainsFold predicate on the "locale" field.
func LocaleEqualFold ¶
LocaleEqualFold applies the EqualFold predicate on the "locale" field.
func LocaleHasPrefix ¶
LocaleHasPrefix applies the HasPrefix predicate on the "locale" field.
func LocaleHasSuffix ¶
LocaleHasSuffix applies the HasSuffix predicate on the "locale" field.
func LocaleIsNil ¶
LocaleIsNil applies the IsNil predicate on the "locale" field.
func LocaleNotIn ¶
LocaleNotIn applies the NotIn predicate on the "locale" field.
func LocaleNotNil ¶
LocaleNotNil applies the NotNil predicate on the "locale" field.
func Longitude ¶
Longitude applies equality check predicate on the "longitude" field. It's identical to LongitudeEQ.
func LongitudeEQ ¶
LongitudeEQ applies the EQ predicate on the "longitude" field.
func LongitudeGT ¶
LongitudeGT applies the GT predicate on the "longitude" field.
func LongitudeGTE ¶
LongitudeGTE applies the GTE predicate on the "longitude" field.
func LongitudeIn ¶
LongitudeIn applies the In predicate on the "longitude" field.
func LongitudeIsNil ¶
LongitudeIsNil applies the IsNil predicate on the "longitude" field.
func LongitudeLT ¶
LongitudeLT applies the LT predicate on the "longitude" field.
func LongitudeLTE ¶
LongitudeLTE applies the LTE predicate on the "longitude" field.
func LongitudeNEQ ¶
LongitudeNEQ applies the NEQ predicate on the "longitude" field.
func LongitudeNotIn ¶
LongitudeNotIn applies the NotIn predicate on the "longitude" field.
func LongitudeNotNil ¶
LongitudeNotNil applies the NotNil predicate on the "longitude" field.
func Postalcode ¶
Postalcode applies equality check predicate on the "postalcode" field. It's identical to PostalcodeEQ.
func PostalcodeContains ¶
PostalcodeContains applies the Contains predicate on the "postalcode" field.
func PostalcodeContainsFold ¶
PostalcodeContainsFold applies the ContainsFold predicate on the "postalcode" field.
func PostalcodeEQ ¶
PostalcodeEQ applies the EQ predicate on the "postalcode" field.
func PostalcodeEqualFold ¶
PostalcodeEqualFold applies the EqualFold predicate on the "postalcode" field.
func PostalcodeGT ¶
PostalcodeGT applies the GT predicate on the "postalcode" field.
func PostalcodeGTE ¶
PostalcodeGTE applies the GTE predicate on the "postalcode" field.
func PostalcodeHasPrefix ¶
PostalcodeHasPrefix applies the HasPrefix predicate on the "postalcode" field.
func PostalcodeHasSuffix ¶
PostalcodeHasSuffix applies the HasSuffix predicate on the "postalcode" field.
func PostalcodeIn ¶
PostalcodeIn applies the In predicate on the "postalcode" field.
func PostalcodeIsNil ¶
PostalcodeIsNil applies the IsNil predicate on the "postalcode" field.
func PostalcodeLT ¶
PostalcodeLT applies the LT predicate on the "postalcode" field.
func PostalcodeLTE ¶
PostalcodeLTE applies the LTE predicate on the "postalcode" field.
func PostalcodeNEQ ¶
PostalcodeNEQ applies the NEQ predicate on the "postalcode" field.
func PostalcodeNotIn ¶
PostalcodeNotIn applies the NotIn predicate on the "postalcode" field.
func PostalcodeNotNil ¶
PostalcodeNotNil applies the NotNil predicate on the "postalcode" field.
func Region ¶
Region applies equality check predicate on the "region" field. It's identical to RegionEQ.
func RegionContains ¶
RegionContains applies the Contains predicate on the "region" field.
func RegionContainsFold ¶
RegionContainsFold applies the ContainsFold predicate on the "region" field.
func RegionEqualFold ¶
RegionEqualFold applies the EqualFold predicate on the "region" field.
func RegionHasPrefix ¶
RegionHasPrefix applies the HasPrefix predicate on the "region" field.
func RegionHasSuffix ¶
RegionHasSuffix applies the HasSuffix predicate on the "region" field.
func RegionIsNil ¶
RegionIsNil applies the IsNil predicate on the "region" field.
func RegionNotIn ¶
RegionNotIn applies the NotIn predicate on the "region" field.
func RegionNotNil ¶
RegionNotNil applies the NotNil predicate on the "region" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateContains ¶
StateContains applies the Contains predicate on the "state" field.
func StateContainsFold ¶
StateContainsFold applies the ContainsFold predicate on the "state" field.
func StateEqualFold ¶
StateEqualFold applies the EqualFold predicate on the "state" field.
func StateHasPrefix ¶
StateHasPrefix applies the HasPrefix predicate on the "state" field.
func StateHasSuffix ¶
StateHasSuffix applies the HasSuffix predicate on the "state" field.
func StateIsNil ¶
StateIsNil applies the IsNil predicate on the "state" field.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" field.
func StateNotNil ¶
StateNotNil applies the NotNil predicate on the "state" field.
func Street ¶
Street applies equality check predicate on the "street" field. It's identical to StreetEQ.
func StreetContains ¶
StreetContains applies the Contains predicate on the "street" field.
func StreetContainsFold ¶
StreetContainsFold applies the ContainsFold predicate on the "street" field.
func StreetEqualFold ¶
StreetEqualFold applies the EqualFold predicate on the "street" field.
func StreetHasPrefix ¶
StreetHasPrefix applies the HasPrefix predicate on the "street" field.
func StreetHasSuffix ¶
StreetHasSuffix applies the HasSuffix predicate on the "street" field.
func StreetIsNil ¶
StreetIsNil applies the IsNil predicate on the "street" field.
func StreetNotIn ¶
StreetNotIn applies the NotIn predicate on the "street" field.
func StreetNotNil ¶
StreetNotNil applies the NotNil predicate on the "street" field.
func Timezone ¶
Timezone applies equality check predicate on the "timezone" field. It's identical to TimezoneEQ.
func TimezoneContains ¶
TimezoneContains applies the Contains predicate on the "timezone" field.
func TimezoneContainsFold ¶
TimezoneContainsFold applies the ContainsFold predicate on the "timezone" field.
func TimezoneEQ ¶
TimezoneEQ applies the EQ predicate on the "timezone" field.
func TimezoneEqualFold ¶
TimezoneEqualFold applies the EqualFold predicate on the "timezone" field.
func TimezoneGT ¶
TimezoneGT applies the GT predicate on the "timezone" field.
func TimezoneGTE ¶
TimezoneGTE applies the GTE predicate on the "timezone" field.
func TimezoneHasPrefix ¶
TimezoneHasPrefix applies the HasPrefix predicate on the "timezone" field.
func TimezoneHasSuffix ¶
TimezoneHasSuffix applies the HasSuffix predicate on the "timezone" field.
func TimezoneIn ¶
TimezoneIn applies the In predicate on the "timezone" field.
func TimezoneIsNil ¶
TimezoneIsNil applies the IsNil predicate on the "timezone" field.
func TimezoneLT ¶
TimezoneLT applies the LT predicate on the "timezone" field.
func TimezoneLTE ¶
TimezoneLTE applies the LTE predicate on the "timezone" field.
func TimezoneNEQ ¶
TimezoneNEQ applies the NEQ predicate on the "timezone" field.
func TimezoneNotIn ¶
TimezoneNotIn applies the NotIn predicate on the "timezone" field.
func TimezoneNotNil ¶
TimezoneNotNil applies the NotNil predicate on the "timezone" field.
Types ¶
This section is empty.