Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserEmailLang) predicate.UserEmailLang
- func Country(v string) predicate.UserEmailLang
- func CountryContains(v string) predicate.UserEmailLang
- func CountryContainsFold(v string) predicate.UserEmailLang
- func CountryEQ(v string) predicate.UserEmailLang
- func CountryEqualFold(v string) predicate.UserEmailLang
- func CountryGT(v string) predicate.UserEmailLang
- func CountryGTE(v string) predicate.UserEmailLang
- func CountryHasPrefix(v string) predicate.UserEmailLang
- func CountryHasSuffix(v string) predicate.UserEmailLang
- func CountryIn(vs ...string) predicate.UserEmailLang
- func CountryLT(v string) predicate.UserEmailLang
- func CountryLTE(v string) predicate.UserEmailLang
- func CountryNEQ(v string) predicate.UserEmailLang
- func CountryNotIn(vs ...string) predicate.UserEmailLang
- func Email(v string) predicate.UserEmailLang
- func EmailContains(v string) predicate.UserEmailLang
- func EmailContainsFold(v string) predicate.UserEmailLang
- func EmailEQ(v string) predicate.UserEmailLang
- func EmailEqualFold(v string) predicate.UserEmailLang
- func EmailGT(v string) predicate.UserEmailLang
- func EmailGTE(v string) predicate.UserEmailLang
- func EmailHasPrefix(v string) predicate.UserEmailLang
- func EmailHasSuffix(v string) predicate.UserEmailLang
- func EmailIn(vs ...string) predicate.UserEmailLang
- func EmailLT(v string) predicate.UserEmailLang
- func EmailLTE(v string) predicate.UserEmailLang
- func EmailNEQ(v string) predicate.UserEmailLang
- func EmailNotIn(vs ...string) predicate.UserEmailLang
- func ID(id int) predicate.UserEmailLang
- func IDEQ(id int) predicate.UserEmailLang
- func IDGT(id int) predicate.UserEmailLang
- func IDGTE(id int) predicate.UserEmailLang
- func IDIn(ids ...int) predicate.UserEmailLang
- func IDLT(id int) predicate.UserEmailLang
- func IDLTE(id int) predicate.UserEmailLang
- func IDNEQ(id int) predicate.UserEmailLang
- func IDNotIn(ids ...int) predicate.UserEmailLang
- func Not(p predicate.UserEmailLang) predicate.UserEmailLang
- func Or(predicates ...predicate.UserEmailLang) predicate.UserEmailLang
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the useremaillang type in the database. Label = "user_email_lang" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // Table holds the table name of the useremaillang in the database. Table = "user_email_langs" )
Variables ¶
var ( // DefaultEmail holds the default value on creation for the "email" field. DefaultEmail string // DefaultCountry holds the default value on creation for the "country" field. DefaultCountry string )
var Columns = []string{ FieldID, FieldEmail, FieldCountry, }
Columns holds all SQL columns for useremaillang fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserEmailLang) predicate.UserEmailLang
And groups predicates with the AND operator between them.
func Country ¶
func Country(v string) predicate.UserEmailLang
Country applies equality check predicate on the "country" field. It's identical to CountryEQ.
func CountryContains ¶
func CountryContains(v string) predicate.UserEmailLang
CountryContains applies the Contains predicate on the "country" field.
func CountryContainsFold ¶
func CountryContainsFold(v string) predicate.UserEmailLang
CountryContainsFold applies the ContainsFold predicate on the "country" field.
func CountryEQ ¶
func CountryEQ(v string) predicate.UserEmailLang
CountryEQ applies the EQ predicate on the "country" field.
func CountryEqualFold ¶
func CountryEqualFold(v string) predicate.UserEmailLang
CountryEqualFold applies the EqualFold predicate on the "country" field.
func CountryGT ¶
func CountryGT(v string) predicate.UserEmailLang
CountryGT applies the GT predicate on the "country" field.
func CountryGTE ¶
func CountryGTE(v string) predicate.UserEmailLang
CountryGTE applies the GTE predicate on the "country" field.
func CountryHasPrefix ¶
func CountryHasPrefix(v string) predicate.UserEmailLang
CountryHasPrefix applies the HasPrefix predicate on the "country" field.
func CountryHasSuffix ¶
func CountryHasSuffix(v string) predicate.UserEmailLang
CountryHasSuffix applies the HasSuffix predicate on the "country" field.
func CountryIn ¶
func CountryIn(vs ...string) predicate.UserEmailLang
CountryIn applies the In predicate on the "country" field.
func CountryLT ¶
func CountryLT(v string) predicate.UserEmailLang
CountryLT applies the LT predicate on the "country" field.
func CountryLTE ¶
func CountryLTE(v string) predicate.UserEmailLang
CountryLTE applies the LTE predicate on the "country" field.
func CountryNEQ ¶
func CountryNEQ(v string) predicate.UserEmailLang
CountryNEQ applies the NEQ predicate on the "country" field.
func CountryNotIn ¶
func CountryNotIn(vs ...string) predicate.UserEmailLang
CountryNotIn applies the NotIn predicate on the "country" field.
func Email ¶
func Email(v string) predicate.UserEmailLang
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
func EmailContains(v string) predicate.UserEmailLang
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
func EmailContainsFold(v string) predicate.UserEmailLang
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEQ ¶
func EmailEQ(v string) predicate.UserEmailLang
EmailEQ applies the EQ predicate on the "email" field.
func EmailEqualFold ¶
func EmailEqualFold(v string) predicate.UserEmailLang
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailGT ¶
func EmailGT(v string) predicate.UserEmailLang
EmailGT applies the GT predicate on the "email" field.
func EmailGTE ¶
func EmailGTE(v string) predicate.UserEmailLang
EmailGTE applies the GTE predicate on the "email" field.
func EmailHasPrefix ¶
func EmailHasPrefix(v string) predicate.UserEmailLang
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
func EmailHasSuffix(v string) predicate.UserEmailLang
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIn ¶
func EmailIn(vs ...string) predicate.UserEmailLang
EmailIn applies the In predicate on the "email" field.
func EmailLT ¶
func EmailLT(v string) predicate.UserEmailLang
EmailLT applies the LT predicate on the "email" field.
func EmailLTE ¶
func EmailLTE(v string) predicate.UserEmailLang
EmailLTE applies the LTE predicate on the "email" field.
func EmailNEQ ¶
func EmailNEQ(v string) predicate.UserEmailLang
EmailNEQ applies the NEQ predicate on the "email" field.
func EmailNotIn ¶
func EmailNotIn(vs ...string) predicate.UserEmailLang
EmailNotIn applies the NotIn predicate on the "email" field.
func IDEQ ¶
func IDEQ(id int) predicate.UserEmailLang
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.UserEmailLang
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.UserEmailLang
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserEmailLang
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.UserEmailLang
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserEmailLang
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserEmailLang
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserEmailLang
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.UserEmailLang) predicate.UserEmailLang
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserEmailLang) predicate.UserEmailLang
Or groups predicates with the OR operator between them.
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 UserEmailLang queries.
func ByCountry ¶
func ByCountry(opts ...sql.OrderTermOption) OrderOption
ByCountry orders the results by the country field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.