Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.Email
- func AddressContains(v string) predicate.Email
- func AddressContainsFold(v string) predicate.Email
- func AddressEQ(v string) predicate.Email
- func AddressEqualFold(v string) predicate.Email
- func AddressGT(v string) predicate.Email
- func AddressGTE(v string) predicate.Email
- func AddressHasPrefix(v string) predicate.Email
- func AddressHasSuffix(v string) predicate.Email
- func AddressIn(vs ...string) predicate.Email
- func AddressLT(v string) predicate.Email
- func AddressLTE(v string) predicate.Email
- func AddressNEQ(v string) predicate.Email
- func AddressNotIn(vs ...string) predicate.Email
- func And(predicates ...predicate.Email) predicate.Email
- func Description(v string) predicate.Email
- func DescriptionContains(v string) predicate.Email
- func DescriptionContainsFold(v string) predicate.Email
- func DescriptionEQ(v string) predicate.Email
- func DescriptionEqualFold(v string) predicate.Email
- func DescriptionGT(v string) predicate.Email
- func DescriptionGTE(v string) predicate.Email
- func DescriptionHasPrefix(v string) predicate.Email
- func DescriptionHasSuffix(v string) predicate.Email
- func DescriptionIn(vs ...string) predicate.Email
- func DescriptionLT(v string) predicate.Email
- func DescriptionLTE(v string) predicate.Email
- func DescriptionNEQ(v string) predicate.Email
- func DescriptionNotIn(vs ...string) predicate.Email
- func HasCompany() predicate.Email
- func HasCompanyWith(preds ...predicate.Company) predicate.Email
- func HasCountry() predicate.Email
- func HasCountryWith(preds ...predicate.Country) predicate.Email
- func ID(id uuid.UUID) predicate.Email
- func IDEQ(id uuid.UUID) predicate.Email
- func IDGT(id uuid.UUID) predicate.Email
- func IDGTE(id uuid.UUID) predicate.Email
- func IDIn(ids ...uuid.UUID) predicate.Email
- func IDLT(id uuid.UUID) predicate.Email
- func IDLTE(id uuid.UUID) predicate.Email
- func IDNEQ(id uuid.UUID) predicate.Email
- func IDNotIn(ids ...uuid.UUID) predicate.Email
- func Not(p predicate.Email) predicate.Email
- func Or(predicates ...predicate.Email) predicate.Email
- func Title(v string) predicate.Email
- func TitleContains(v string) predicate.Email
- func TitleContainsFold(v string) predicate.Email
- func TitleEQ(v string) predicate.Email
- func TitleEqualFold(v string) predicate.Email
- func TitleGT(v string) predicate.Email
- func TitleGTE(v string) predicate.Email
- func TitleHasPrefix(v string) predicate.Email
- func TitleHasSuffix(v string) predicate.Email
- func TitleIn(vs ...string) predicate.Email
- func TitleLT(v string) predicate.Email
- func TitleLTE(v string) predicate.Email
- func TitleNEQ(v string) predicate.Email
- func TitleNotIn(vs ...string) predicate.Email
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the email type in the database. Label = "email" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // EdgeCompany holds the string denoting the company edge name in mutations. EdgeCompany = "company" // EdgeCountry holds the string denoting the country edge name in mutations. EdgeCountry = "country" // Table holds the table name of the email in the database. Table = "emails" // CompanyTable is the table that holds the company relation/edge. CompanyTable = "emails" // CompanyInverseTable is the table name for the Company entity. // It exists in this package in order to avoid circular dependency with the "company" package. CompanyInverseTable = "companies" // CompanyColumn is the table column denoting the company relation/edge. CompanyColumn = "company_emails" // CountryTable is the table that holds the country relation/edge. CountryTable = "emails" // CountryInverseTable is the table name for the Country entity. // It exists in this package in order to avoid circular dependency with the "country" package. CountryInverseTable = "countries" // CountryColumn is the table column denoting the country relation/edge. CountryColumn = "country_emails" )
Variables ¶
var ( // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // AddressValidator is a validator for the "address" field. It is called by the builders before save. AddressValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldTitle, FieldDescription, FieldAddress, }
Columns holds all SQL columns for email fields.
var ForeignKeys = []string{
"company_emails",
"country_emails",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "emails" table and are not defined as standalone fields in the schema.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func HasCompany ¶
HasCompany applies the HasEdge predicate on the "company" edge.
func HasCompanyWith ¶
HasCompanyWith applies the HasEdge predicate on the "company" edge with a given conditions (other predicates).
func HasCountry ¶
HasCountry applies the HasEdge predicate on the "country" edge.
func HasCountryWith ¶
HasCountryWith applies the HasEdge predicate on the "country" edge with a given conditions (other predicates).
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.