Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Country) predicate.Country
- func Capital(v string) predicate.Country
- func CapitalContains(v string) predicate.Country
- func CapitalContainsFold(v string) predicate.Country
- func CapitalEQ(v string) predicate.Country
- func CapitalEqualFold(v string) predicate.Country
- func CapitalGT(v string) predicate.Country
- func CapitalGTE(v string) predicate.Country
- func CapitalHasPrefix(v string) predicate.Country
- func CapitalHasSuffix(v string) predicate.Country
- func CapitalIn(vs ...string) predicate.Country
- func CapitalIsNil() predicate.Country
- func CapitalLT(v string) predicate.Country
- func CapitalLTE(v string) predicate.Country
- func CapitalNEQ(v string) predicate.Country
- func CapitalNotIn(vs ...string) predicate.Country
- func CapitalNotNil() predicate.Country
- func ConversionRate(v float64) predicate.Country
- func ConversionRateEQ(v float64) predicate.Country
- func ConversionRateGT(v float64) predicate.Country
- func ConversionRateGTE(v float64) predicate.Country
- func ConversionRateIn(vs ...float64) predicate.Country
- func ConversionRateLT(v float64) predicate.Country
- func ConversionRateLTE(v float64) predicate.Country
- func ConversionRateNEQ(v float64) predicate.Country
- func ConversionRateNotIn(vs ...float64) predicate.Country
- func CreatedAt(v time.Time) predicate.Country
- func CreatedAtEQ(v time.Time) predicate.Country
- func CreatedAtGT(v time.Time) predicate.Country
- func CreatedAtGTE(v time.Time) predicate.Country
- func CreatedAtIn(vs ...time.Time) predicate.Country
- func CreatedAtLT(v time.Time) predicate.Country
- func CreatedAtLTE(v time.Time) predicate.Country
- func CreatedAtNEQ(v time.Time) predicate.Country
- func CreatedAtNotIn(vs ...time.Time) predicate.Country
- func CurrencyCode(v string) predicate.Country
- func CurrencyCodeContains(v string) predicate.Country
- func CurrencyCodeContainsFold(v string) predicate.Country
- func CurrencyCodeEQ(v string) predicate.Country
- func CurrencyCodeEqualFold(v string) predicate.Country
- func CurrencyCodeGT(v string) predicate.Country
- func CurrencyCodeGTE(v string) predicate.Country
- func CurrencyCodeHasPrefix(v string) predicate.Country
- func CurrencyCodeHasSuffix(v string) predicate.Country
- func CurrencyCodeIn(vs ...string) predicate.Country
- func CurrencyCodeIsNil() predicate.Country
- func CurrencyCodeLT(v string) predicate.Country
- func CurrencyCodeLTE(v string) predicate.Country
- func CurrencyCodeNEQ(v string) predicate.Country
- func CurrencyCodeNotIn(vs ...string) predicate.Country
- func CurrencyCodeNotNil() predicate.Country
- func CurrencyName(v string) predicate.Country
- func CurrencyNameContains(v string) predicate.Country
- func CurrencyNameContainsFold(v string) predicate.Country
- func CurrencyNameEQ(v string) predicate.Country
- func CurrencyNameEqualFold(v string) predicate.Country
- func CurrencyNameGT(v string) predicate.Country
- func CurrencyNameGTE(v string) predicate.Country
- func CurrencyNameHasPrefix(v string) predicate.Country
- func CurrencyNameHasSuffix(v string) predicate.Country
- func CurrencyNameIn(vs ...string) predicate.Country
- func CurrencyNameIsNil() predicate.Country
- func CurrencyNameLT(v string) predicate.Country
- func CurrencyNameLTE(v string) predicate.Country
- func CurrencyNameNEQ(v string) predicate.Country
- func CurrencyNameNotIn(vs ...string) predicate.Country
- func CurrencyNameNotNil() predicate.Country
- func CurrencySymbol(v string) predicate.Country
- func CurrencySymbolContains(v string) predicate.Country
- func CurrencySymbolContainsFold(v string) predicate.Country
- func CurrencySymbolEQ(v string) predicate.Country
- func CurrencySymbolEqualFold(v string) predicate.Country
- func CurrencySymbolGT(v string) predicate.Country
- func CurrencySymbolGTE(v string) predicate.Country
- func CurrencySymbolHasPrefix(v string) predicate.Country
- func CurrencySymbolHasSuffix(v string) predicate.Country
- func CurrencySymbolIn(vs ...string) predicate.Country
- func CurrencySymbolIsNil() predicate.Country
- func CurrencySymbolLT(v string) predicate.Country
- func CurrencySymbolLTE(v string) predicate.Country
- func CurrencySymbolNEQ(v string) predicate.Country
- func CurrencySymbolNotIn(vs ...string) predicate.Country
- func CurrencySymbolNotNil() predicate.Country
- func HasBanks() predicate.Country
- func HasBanksWith(preds ...predicate.Bank) predicate.Country
- func HasContactUsers() predicate.Country
- func HasContactUsersWith(preds ...predicate.User) predicate.Country
- func HasLocations() predicate.Country
- func HasLocationsWith(preds ...predicate.CountryLocation) predicate.Country
- func HasUsers() predicate.Country
- func HasUsersWith(preds ...predicate.User) predicate.Country
- func ID(id uint64) predicate.Country
- func IDEQ(id uint64) predicate.Country
- func IDGT(id uint64) predicate.Country
- func IDGTE(id uint64) predicate.Country
- func IDIn(ids ...uint64) predicate.Country
- func IDLT(id uint64) predicate.Country
- func IDLTE(id uint64) predicate.Country
- func IDNEQ(id uint64) predicate.Country
- func IDNotIn(ids ...uint64) predicate.Country
- func Iso2(v string) predicate.Country
- func Iso2Contains(v string) predicate.Country
- func Iso2ContainsFold(v string) predicate.Country
- func Iso2EQ(v string) predicate.Country
- func Iso2EqualFold(v string) predicate.Country
- func Iso2GT(v string) predicate.Country
- func Iso2GTE(v string) predicate.Country
- func Iso2HasPrefix(v string) predicate.Country
- func Iso2HasSuffix(v string) predicate.Country
- func Iso2In(vs ...string) predicate.Country
- func Iso2LT(v string) predicate.Country
- func Iso2LTE(v string) predicate.Country
- func Iso2NEQ(v string) predicate.Country
- func Iso2NotIn(vs ...string) predicate.Country
- func Iso3(v string) predicate.Country
- func Iso3Contains(v string) predicate.Country
- func Iso3ContainsFold(v string) predicate.Country
- func Iso3EQ(v string) predicate.Country
- func Iso3EqualFold(v string) predicate.Country
- func Iso3GT(v string) predicate.Country
- func Iso3GTE(v string) predicate.Country
- func Iso3HasPrefix(v string) predicate.Country
- func Iso3HasSuffix(v string) predicate.Country
- func Iso3In(vs ...string) predicate.Country
- func Iso3LT(v string) predicate.Country
- func Iso3LTE(v string) predicate.Country
- func Iso3NEQ(v string) predicate.Country
- func Iso3NotIn(vs ...string) predicate.Country
- func Name(v string) predicate.Country
- func NameContains(v string) predicate.Country
- func NameContainsFold(v string) predicate.Country
- func NameEQ(v string) predicate.Country
- func NameEqualFold(v string) predicate.Country
- func NameGT(v string) predicate.Country
- func NameGTE(v string) predicate.Country
- func NameHasPrefix(v string) predicate.Country
- func NameHasSuffix(v string) predicate.Country
- func NameIn(vs ...string) predicate.Country
- func NameLT(v string) predicate.Country
- func NameLTE(v string) predicate.Country
- func NameNEQ(v string) predicate.Country
- func NameNotIn(vs ...string) predicate.Country
- func Not(p predicate.Country) predicate.Country
- func NumericCode(v string) predicate.Country
- func NumericCodeContains(v string) predicate.Country
- func NumericCodeContainsFold(v string) predicate.Country
- func NumericCodeEQ(v string) predicate.Country
- func NumericCodeEqualFold(v string) predicate.Country
- func NumericCodeGT(v string) predicate.Country
- func NumericCodeGTE(v string) predicate.Country
- func NumericCodeHasPrefix(v string) predicate.Country
- func NumericCodeHasSuffix(v string) predicate.Country
- func NumericCodeIn(vs ...string) predicate.Country
- func NumericCodeIsNil() predicate.Country
- func NumericCodeLT(v string) predicate.Country
- func NumericCodeLTE(v string) predicate.Country
- func NumericCodeNEQ(v string) predicate.Country
- func NumericCodeNotIn(vs ...string) predicate.Country
- func NumericCodeNotNil() predicate.Country
- func OfficialName(v string) predicate.Country
- func OfficialNameContains(v string) predicate.Country
- func OfficialNameContainsFold(v string) predicate.Country
- func OfficialNameEQ(v string) predicate.Country
- func OfficialNameEqualFold(v string) predicate.Country
- func OfficialNameGT(v string) predicate.Country
- func OfficialNameGTE(v string) predicate.Country
- func OfficialNameHasPrefix(v string) predicate.Country
- func OfficialNameHasSuffix(v string) predicate.Country
- func OfficialNameIn(vs ...string) predicate.Country
- func OfficialNameIsNil() predicate.Country
- func OfficialNameLT(v string) predicate.Country
- func OfficialNameLTE(v string) predicate.Country
- func OfficialNameNEQ(v string) predicate.Country
- func OfficialNameNotIn(vs ...string) predicate.Country
- func OfficialNameNotNil() predicate.Country
- func Or(predicates ...predicate.Country) predicate.Country
- func PhoneCode(v string) predicate.Country
- func PhoneCodeContains(v string) predicate.Country
- func PhoneCodeContainsFold(v string) predicate.Country
- func PhoneCodeEQ(v string) predicate.Country
- func PhoneCodeEqualFold(v string) predicate.Country
- func PhoneCodeGT(v string) predicate.Country
- func PhoneCodeGTE(v string) predicate.Country
- func PhoneCodeHasPrefix(v string) predicate.Country
- func PhoneCodeHasSuffix(v string) predicate.Country
- func PhoneCodeIn(vs ...string) predicate.Country
- func PhoneCodeIsNil() predicate.Country
- func PhoneCodeLT(v string) predicate.Country
- func PhoneCodeLTE(v string) predicate.Country
- func PhoneCodeNEQ(v string) predicate.Country
- func PhoneCodeNotIn(vs ...string) predicate.Country
- func PhoneCodeNotNil() predicate.Country
- func Status(v uint8) predicate.Country
- func StatusEQ(v uint8) predicate.Country
- func StatusGT(v uint8) predicate.Country
- func StatusGTE(v uint8) predicate.Country
- func StatusIn(vs ...uint8) predicate.Country
- func StatusLT(v uint8) predicate.Country
- func StatusLTE(v uint8) predicate.Country
- func StatusNEQ(v uint8) predicate.Country
- func StatusNotIn(vs ...uint8) predicate.Country
- func UpdatedAt(v time.Time) predicate.Country
- func UpdatedAtEQ(v time.Time) predicate.Country
- func UpdatedAtGT(v time.Time) predicate.Country
- func UpdatedAtGTE(v time.Time) predicate.Country
- func UpdatedAtIn(vs ...time.Time) predicate.Country
- func UpdatedAtLT(v time.Time) predicate.Country
- func UpdatedAtLTE(v time.Time) predicate.Country
- func UpdatedAtNEQ(v time.Time) predicate.Country
- func UpdatedAtNotIn(vs ...time.Time) predicate.Country
- func ValidColumn(column string) bool
- type OrderOption
- func ByBanks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBanksCount(opts ...sql.OrderTermOption) OrderOption
- func ByCapital(opts ...sql.OrderTermOption) OrderOption
- func ByContactUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByContactUsersCount(opts ...sql.OrderTermOption) OrderOption
- func ByConversionRate(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCurrencyCode(opts ...sql.OrderTermOption) OrderOption
- func ByCurrencyName(opts ...sql.OrderTermOption) OrderOption
- func ByCurrencySymbol(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIso2(opts ...sql.OrderTermOption) OrderOption
- func ByIso3(opts ...sql.OrderTermOption) OrderOption
- func ByLocations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLocationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNumericCode(opts ...sql.OrderTermOption) OrderOption
- func ByOfficialName(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneCode(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the country type in the database. Label = "country" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldIso2 holds the string denoting the iso2 field in the database. FieldIso2 = "iso2" // FieldIso3 holds the string denoting the iso3 field in the database. FieldIso3 = "iso3" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldOfficialName holds the string denoting the official_name field in the database. FieldOfficialName = "official_name" // FieldNumericCode holds the string denoting the numeric_code field in the database. FieldNumericCode = "numeric_code" // FieldPhoneCode holds the string denoting the phone_code field in the database. FieldPhoneCode = "phone_code" // FieldCapital holds the string denoting the capital field in the database. FieldCapital = "capital" // FieldCurrencyName holds the string denoting the currency_name field in the database. FieldCurrencyName = "currency_name" // FieldCurrencyCode holds the string denoting the currency_code field in the database. FieldCurrencyCode = "currency_code" // FieldCurrencySymbol holds the string denoting the currency_symbol field in the database. FieldCurrencySymbol = "currency_symbol" // FieldConversionRate holds the string denoting the conversion_rate field in the database. FieldConversionRate = "conversion_rate" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeLocations holds the string denoting the locations edge name in mutations. EdgeLocations = "locations" // EdgeBanks holds the string denoting the banks edge name in mutations. EdgeBanks = "banks" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // EdgeContactUsers holds the string denoting the contact_users edge name in mutations. EdgeContactUsers = "contact_users" // Table holds the table name of the country in the database. Table = "countries" // LocationsTable is the table that holds the locations relation/edge. LocationsTable = "country_locations" // LocationsInverseTable is the table name for the CountryLocation entity. // It exists in this package in order to avoid circular dependency with the "countrylocation" package. LocationsInverseTable = "country_locations" // LocationsColumn is the table column denoting the locations relation/edge. LocationsColumn = "country_id" // BanksTable is the table that holds the banks relation/edge. BanksTable = "banks" // BanksInverseTable is the table name for the Bank entity. // It exists in this package in order to avoid circular dependency with the "bank" package. BanksInverseTable = "banks" // BanksColumn is the table column denoting the banks relation/edge. BanksColumn = "country_id" // UsersTable is the table that holds the users relation/edge. UsersTable = "users" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // UsersColumn is the table column denoting the users relation/edge. UsersColumn = "country_id" // ContactUsersTable is the table that holds the contact_users relation/edge. ContactUsersTable = "users" // ContactUsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. ContactUsersInverseTable = "users" // ContactUsersColumn is the table column denoting the contact_users relation/edge. ContactUsersColumn = "contact_country_id" )
Variables ¶
var ( // Iso2Validator is a validator for the "iso2" field. It is called by the builders before save. Iso2Validator func(string) error // Iso3Validator is a validator for the "iso3" field. It is called by the builders before save. Iso3Validator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultConversionRate holds the default value on creation for the "conversion_rate" field. DefaultConversionRate float64 // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus uint8 // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldIso2, FieldIso3, FieldName, FieldOfficialName, FieldNumericCode, FieldPhoneCode, FieldCapital, FieldCurrencyName, FieldCurrencyCode, FieldCurrencySymbol, FieldConversionRate, FieldStatus, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for country fields.
Functions ¶
func Capital ¶
Capital applies equality check predicate on the "capital" field. It's identical to CapitalEQ.
func CapitalContains ¶
CapitalContains applies the Contains predicate on the "capital" field.
func CapitalContainsFold ¶
CapitalContainsFold applies the ContainsFold predicate on the "capital" field.
func CapitalEqualFold ¶
CapitalEqualFold applies the EqualFold predicate on the "capital" field.
func CapitalGTE ¶
CapitalGTE applies the GTE predicate on the "capital" field.
func CapitalHasPrefix ¶
CapitalHasPrefix applies the HasPrefix predicate on the "capital" field.
func CapitalHasSuffix ¶
CapitalHasSuffix applies the HasSuffix predicate on the "capital" field.
func CapitalIsNil ¶
CapitalIsNil applies the IsNil predicate on the "capital" field.
func CapitalLTE ¶
CapitalLTE applies the LTE predicate on the "capital" field.
func CapitalNEQ ¶
CapitalNEQ applies the NEQ predicate on the "capital" field.
func CapitalNotIn ¶
CapitalNotIn applies the NotIn predicate on the "capital" field.
func CapitalNotNil ¶
CapitalNotNil applies the NotNil predicate on the "capital" field.
func ConversionRate ¶
ConversionRate applies equality check predicate on the "conversion_rate" field. It's identical to ConversionRateEQ.
func ConversionRateEQ ¶
ConversionRateEQ applies the EQ predicate on the "conversion_rate" field.
func ConversionRateGT ¶
ConversionRateGT applies the GT predicate on the "conversion_rate" field.
func ConversionRateGTE ¶
ConversionRateGTE applies the GTE predicate on the "conversion_rate" field.
func ConversionRateIn ¶
ConversionRateIn applies the In predicate on the "conversion_rate" field.
func ConversionRateLT ¶
ConversionRateLT applies the LT predicate on the "conversion_rate" field.
func ConversionRateLTE ¶
ConversionRateLTE applies the LTE predicate on the "conversion_rate" field.
func ConversionRateNEQ ¶
ConversionRateNEQ applies the NEQ predicate on the "conversion_rate" field.
func ConversionRateNotIn ¶
ConversionRateNotIn applies the NotIn predicate on the "conversion_rate" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CurrencyCode ¶
CurrencyCode applies equality check predicate on the "currency_code" field. It's identical to CurrencyCodeEQ.
func CurrencyCodeContains ¶
CurrencyCodeContains applies the Contains predicate on the "currency_code" field.
func CurrencyCodeContainsFold ¶
CurrencyCodeContainsFold applies the ContainsFold predicate on the "currency_code" field.
func CurrencyCodeEQ ¶
CurrencyCodeEQ applies the EQ predicate on the "currency_code" field.
func CurrencyCodeEqualFold ¶
CurrencyCodeEqualFold applies the EqualFold predicate on the "currency_code" field.
func CurrencyCodeGT ¶
CurrencyCodeGT applies the GT predicate on the "currency_code" field.
func CurrencyCodeGTE ¶
CurrencyCodeGTE applies the GTE predicate on the "currency_code" field.
func CurrencyCodeHasPrefix ¶
CurrencyCodeHasPrefix applies the HasPrefix predicate on the "currency_code" field.
func CurrencyCodeHasSuffix ¶
CurrencyCodeHasSuffix applies the HasSuffix predicate on the "currency_code" field.
func CurrencyCodeIn ¶
CurrencyCodeIn applies the In predicate on the "currency_code" field.
func CurrencyCodeIsNil ¶
CurrencyCodeIsNil applies the IsNil predicate on the "currency_code" field.
func CurrencyCodeLT ¶
CurrencyCodeLT applies the LT predicate on the "currency_code" field.
func CurrencyCodeLTE ¶
CurrencyCodeLTE applies the LTE predicate on the "currency_code" field.
func CurrencyCodeNEQ ¶
CurrencyCodeNEQ applies the NEQ predicate on the "currency_code" field.
func CurrencyCodeNotIn ¶
CurrencyCodeNotIn applies the NotIn predicate on the "currency_code" field.
func CurrencyCodeNotNil ¶
CurrencyCodeNotNil applies the NotNil predicate on the "currency_code" field.
func CurrencyName ¶
CurrencyName applies equality check predicate on the "currency_name" field. It's identical to CurrencyNameEQ.
func CurrencyNameContains ¶
CurrencyNameContains applies the Contains predicate on the "currency_name" field.
func CurrencyNameContainsFold ¶
CurrencyNameContainsFold applies the ContainsFold predicate on the "currency_name" field.
func CurrencyNameEQ ¶
CurrencyNameEQ applies the EQ predicate on the "currency_name" field.
func CurrencyNameEqualFold ¶
CurrencyNameEqualFold applies the EqualFold predicate on the "currency_name" field.
func CurrencyNameGT ¶
CurrencyNameGT applies the GT predicate on the "currency_name" field.
func CurrencyNameGTE ¶
CurrencyNameGTE applies the GTE predicate on the "currency_name" field.
func CurrencyNameHasPrefix ¶
CurrencyNameHasPrefix applies the HasPrefix predicate on the "currency_name" field.
func CurrencyNameHasSuffix ¶
CurrencyNameHasSuffix applies the HasSuffix predicate on the "currency_name" field.
func CurrencyNameIn ¶
CurrencyNameIn applies the In predicate on the "currency_name" field.
func CurrencyNameIsNil ¶
CurrencyNameIsNil applies the IsNil predicate on the "currency_name" field.
func CurrencyNameLT ¶
CurrencyNameLT applies the LT predicate on the "currency_name" field.
func CurrencyNameLTE ¶
CurrencyNameLTE applies the LTE predicate on the "currency_name" field.
func CurrencyNameNEQ ¶
CurrencyNameNEQ applies the NEQ predicate on the "currency_name" field.
func CurrencyNameNotIn ¶
CurrencyNameNotIn applies the NotIn predicate on the "currency_name" field.
func CurrencyNameNotNil ¶
CurrencyNameNotNil applies the NotNil predicate on the "currency_name" field.
func CurrencySymbol ¶
CurrencySymbol applies equality check predicate on the "currency_symbol" field. It's identical to CurrencySymbolEQ.
func CurrencySymbolContains ¶
CurrencySymbolContains applies the Contains predicate on the "currency_symbol" field.
func CurrencySymbolContainsFold ¶
CurrencySymbolContainsFold applies the ContainsFold predicate on the "currency_symbol" field.
func CurrencySymbolEQ ¶
CurrencySymbolEQ applies the EQ predicate on the "currency_symbol" field.
func CurrencySymbolEqualFold ¶
CurrencySymbolEqualFold applies the EqualFold predicate on the "currency_symbol" field.
func CurrencySymbolGT ¶
CurrencySymbolGT applies the GT predicate on the "currency_symbol" field.
func CurrencySymbolGTE ¶
CurrencySymbolGTE applies the GTE predicate on the "currency_symbol" field.
func CurrencySymbolHasPrefix ¶
CurrencySymbolHasPrefix applies the HasPrefix predicate on the "currency_symbol" field.
func CurrencySymbolHasSuffix ¶
CurrencySymbolHasSuffix applies the HasSuffix predicate on the "currency_symbol" field.
func CurrencySymbolIn ¶
CurrencySymbolIn applies the In predicate on the "currency_symbol" field.
func CurrencySymbolIsNil ¶
CurrencySymbolIsNil applies the IsNil predicate on the "currency_symbol" field.
func CurrencySymbolLT ¶
CurrencySymbolLT applies the LT predicate on the "currency_symbol" field.
func CurrencySymbolLTE ¶
CurrencySymbolLTE applies the LTE predicate on the "currency_symbol" field.
func CurrencySymbolNEQ ¶
CurrencySymbolNEQ applies the NEQ predicate on the "currency_symbol" field.
func CurrencySymbolNotIn ¶
CurrencySymbolNotIn applies the NotIn predicate on the "currency_symbol" field.
func CurrencySymbolNotNil ¶
CurrencySymbolNotNil applies the NotNil predicate on the "currency_symbol" field.
func HasBanksWith ¶
HasBanksWith applies the HasEdge predicate on the "banks" edge with a given conditions (other predicates).
func HasContactUsers ¶
HasContactUsers applies the HasEdge predicate on the "contact_users" edge.
func HasContactUsersWith ¶
HasContactUsersWith applies the HasEdge predicate on the "contact_users" edge with a given conditions (other predicates).
func HasLocations ¶
HasLocations applies the HasEdge predicate on the "locations" edge.
func HasLocationsWith ¶
func HasLocationsWith(preds ...predicate.CountryLocation) predicate.Country
HasLocationsWith applies the HasEdge predicate on the "locations" edge with a given conditions (other predicates).
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func Iso2Contains ¶
Iso2Contains applies the Contains predicate on the "iso2" field.
func Iso2ContainsFold ¶
Iso2ContainsFold applies the ContainsFold predicate on the "iso2" field.
func Iso2EqualFold ¶
Iso2EqualFold applies the EqualFold predicate on the "iso2" field.
func Iso2HasPrefix ¶
Iso2HasPrefix applies the HasPrefix predicate on the "iso2" field.
func Iso2HasSuffix ¶
Iso2HasSuffix applies the HasSuffix predicate on the "iso2" field.
func Iso3Contains ¶
Iso3Contains applies the Contains predicate on the "iso3" field.
func Iso3ContainsFold ¶
Iso3ContainsFold applies the ContainsFold predicate on the "iso3" field.
func Iso3EqualFold ¶
Iso3EqualFold applies the EqualFold predicate on the "iso3" field.
func Iso3HasPrefix ¶
Iso3HasPrefix applies the HasPrefix predicate on the "iso3" field.
func Iso3HasSuffix ¶
Iso3HasSuffix applies the HasSuffix predicate on the "iso3" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NumericCode ¶
NumericCode applies equality check predicate on the "numeric_code" field. It's identical to NumericCodeEQ.
func NumericCodeContains ¶
NumericCodeContains applies the Contains predicate on the "numeric_code" field.
func NumericCodeContainsFold ¶
NumericCodeContainsFold applies the ContainsFold predicate on the "numeric_code" field.
func NumericCodeEQ ¶
NumericCodeEQ applies the EQ predicate on the "numeric_code" field.
func NumericCodeEqualFold ¶
NumericCodeEqualFold applies the EqualFold predicate on the "numeric_code" field.
func NumericCodeGT ¶
NumericCodeGT applies the GT predicate on the "numeric_code" field.
func NumericCodeGTE ¶
NumericCodeGTE applies the GTE predicate on the "numeric_code" field.
func NumericCodeHasPrefix ¶
NumericCodeHasPrefix applies the HasPrefix predicate on the "numeric_code" field.
func NumericCodeHasSuffix ¶
NumericCodeHasSuffix applies the HasSuffix predicate on the "numeric_code" field.
func NumericCodeIn ¶
NumericCodeIn applies the In predicate on the "numeric_code" field.
func NumericCodeIsNil ¶
NumericCodeIsNil applies the IsNil predicate on the "numeric_code" field.
func NumericCodeLT ¶
NumericCodeLT applies the LT predicate on the "numeric_code" field.
func NumericCodeLTE ¶
NumericCodeLTE applies the LTE predicate on the "numeric_code" field.
func NumericCodeNEQ ¶
NumericCodeNEQ applies the NEQ predicate on the "numeric_code" field.
func NumericCodeNotIn ¶
NumericCodeNotIn applies the NotIn predicate on the "numeric_code" field.
func NumericCodeNotNil ¶
NumericCodeNotNil applies the NotNil predicate on the "numeric_code" field.
func OfficialName ¶
OfficialName applies equality check predicate on the "official_name" field. It's identical to OfficialNameEQ.
func OfficialNameContains ¶
OfficialNameContains applies the Contains predicate on the "official_name" field.
func OfficialNameContainsFold ¶
OfficialNameContainsFold applies the ContainsFold predicate on the "official_name" field.
func OfficialNameEQ ¶
OfficialNameEQ applies the EQ predicate on the "official_name" field.
func OfficialNameEqualFold ¶
OfficialNameEqualFold applies the EqualFold predicate on the "official_name" field.
func OfficialNameGT ¶
OfficialNameGT applies the GT predicate on the "official_name" field.
func OfficialNameGTE ¶
OfficialNameGTE applies the GTE predicate on the "official_name" field.
func OfficialNameHasPrefix ¶
OfficialNameHasPrefix applies the HasPrefix predicate on the "official_name" field.
func OfficialNameHasSuffix ¶
OfficialNameHasSuffix applies the HasSuffix predicate on the "official_name" field.
func OfficialNameIn ¶
OfficialNameIn applies the In predicate on the "official_name" field.
func OfficialNameIsNil ¶
OfficialNameIsNil applies the IsNil predicate on the "official_name" field.
func OfficialNameLT ¶
OfficialNameLT applies the LT predicate on the "official_name" field.
func OfficialNameLTE ¶
OfficialNameLTE applies the LTE predicate on the "official_name" field.
func OfficialNameNEQ ¶
OfficialNameNEQ applies the NEQ predicate on the "official_name" field.
func OfficialNameNotIn ¶
OfficialNameNotIn applies the NotIn predicate on the "official_name" field.
func OfficialNameNotNil ¶
OfficialNameNotNil applies the NotNil predicate on the "official_name" field.
func PhoneCode ¶
PhoneCode applies equality check predicate on the "phone_code" field. It's identical to PhoneCodeEQ.
func PhoneCodeContains ¶
PhoneCodeContains applies the Contains predicate on the "phone_code" field.
func PhoneCodeContainsFold ¶
PhoneCodeContainsFold applies the ContainsFold predicate on the "phone_code" field.
func PhoneCodeEQ ¶
PhoneCodeEQ applies the EQ predicate on the "phone_code" field.
func PhoneCodeEqualFold ¶
PhoneCodeEqualFold applies the EqualFold predicate on the "phone_code" field.
func PhoneCodeGT ¶
PhoneCodeGT applies the GT predicate on the "phone_code" field.
func PhoneCodeGTE ¶
PhoneCodeGTE applies the GTE predicate on the "phone_code" field.
func PhoneCodeHasPrefix ¶
PhoneCodeHasPrefix applies the HasPrefix predicate on the "phone_code" field.
func PhoneCodeHasSuffix ¶
PhoneCodeHasSuffix applies the HasSuffix predicate on the "phone_code" field.
func PhoneCodeIn ¶
PhoneCodeIn applies the In predicate on the "phone_code" field.
func PhoneCodeIsNil ¶
PhoneCodeIsNil applies the IsNil predicate on the "phone_code" field.
func PhoneCodeLT ¶
PhoneCodeLT applies the LT predicate on the "phone_code" field.
func PhoneCodeLTE ¶
PhoneCodeLTE applies the LTE predicate on the "phone_code" field.
func PhoneCodeNEQ ¶
PhoneCodeNEQ applies the NEQ predicate on the "phone_code" field.
func PhoneCodeNotIn ¶
PhoneCodeNotIn applies the NotIn predicate on the "phone_code" field.
func PhoneCodeNotNil ¶
PhoneCodeNotNil applies the NotNil predicate on the "phone_code" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 Country queries.
func ByBanks ¶
func ByBanks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBanks orders the results by banks terms.
func ByBanksCount ¶
func ByBanksCount(opts ...sql.OrderTermOption) OrderOption
ByBanksCount orders the results by banks count.
func ByCapital ¶
func ByCapital(opts ...sql.OrderTermOption) OrderOption
ByCapital orders the results by the capital field.
func ByContactUsers ¶
func ByContactUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByContactUsers orders the results by contact_users terms.
func ByContactUsersCount ¶
func ByContactUsersCount(opts ...sql.OrderTermOption) OrderOption
ByContactUsersCount orders the results by contact_users count.
func ByConversionRate ¶
func ByConversionRate(opts ...sql.OrderTermOption) OrderOption
ByConversionRate orders the results by the conversion_rate field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCurrencyCode ¶
func ByCurrencyCode(opts ...sql.OrderTermOption) OrderOption
ByCurrencyCode orders the results by the currency_code field.
func ByCurrencyName ¶
func ByCurrencyName(opts ...sql.OrderTermOption) OrderOption
ByCurrencyName orders the results by the currency_name field.
func ByCurrencySymbol ¶
func ByCurrencySymbol(opts ...sql.OrderTermOption) OrderOption
ByCurrencySymbol orders the results by the currency_symbol field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIso2 ¶
func ByIso2(opts ...sql.OrderTermOption) OrderOption
ByIso2 orders the results by the iso2 field.
func ByIso3 ¶
func ByIso3(opts ...sql.OrderTermOption) OrderOption
ByIso3 orders the results by the iso3 field.
func ByLocations ¶
func ByLocations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByLocations orders the results by locations terms.
func ByLocationsCount ¶
func ByLocationsCount(opts ...sql.OrderTermOption) OrderOption
ByLocationsCount orders the results by locations count.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNumericCode ¶
func ByNumericCode(opts ...sql.OrderTermOption) OrderOption
ByNumericCode orders the results by the numeric_code field.
func ByOfficialName ¶
func ByOfficialName(opts ...sql.OrderTermOption) OrderOption
ByOfficialName orders the results by the official_name field.
func ByPhoneCode ¶
func ByPhoneCode(opts ...sql.OrderTermOption) OrderOption
ByPhoneCode orders the results by the phone_code field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUsers ¶
func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsers orders the results by users terms.
func ByUsersCount ¶
func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
ByUsersCount orders the results by users count.