Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserEmail) predicate.UserEmail
- func CreateTime(v time.Time) predicate.UserEmail
- func CreateTimeEQ(v time.Time) predicate.UserEmail
- func CreateTimeGT(v time.Time) predicate.UserEmail
- func CreateTimeGTE(v time.Time) predicate.UserEmail
- func CreateTimeIn(vs ...time.Time) predicate.UserEmail
- func CreateTimeLT(v time.Time) predicate.UserEmail
- func CreateTimeLTE(v time.Time) predicate.UserEmail
- func CreateTimeNEQ(v time.Time) predicate.UserEmail
- func CreateTimeNotIn(vs ...time.Time) predicate.UserEmail
- func Email(v string) predicate.UserEmail
- func EmailContains(v string) predicate.UserEmail
- func EmailContainsFold(v string) predicate.UserEmail
- func EmailEQ(v string) predicate.UserEmail
- func EmailEqualFold(v string) predicate.UserEmail
- func EmailGT(v string) predicate.UserEmail
- func EmailGTE(v string) predicate.UserEmail
- func EmailHasPrefix(v string) predicate.UserEmail
- func EmailHasSuffix(v string) predicate.UserEmail
- func EmailIn(vs ...string) predicate.UserEmail
- func EmailLT(v string) predicate.UserEmail
- func EmailLTE(v string) predicate.UserEmail
- func EmailNEQ(v string) predicate.UserEmail
- func EmailNotIn(vs ...string) predicate.UserEmail
- func HasEmailOwner() predicate.UserEmail
- func HasEmailOwnerWith(preds ...predicate.User) predicate.UserEmail
- func ID(id int) predicate.UserEmail
- func IDEQ(id int) predicate.UserEmail
- func IDGT(id int) predicate.UserEmail
- func IDGTE(id int) predicate.UserEmail
- func IDIn(ids ...int) predicate.UserEmail
- func IDLT(id int) predicate.UserEmail
- func IDLTE(id int) predicate.UserEmail
- func IDNEQ(id int) predicate.UserEmail
- func IDNotIn(ids ...int) predicate.UserEmail
- func IsPrimary(v bool) predicate.UserEmail
- func IsPrimaryEQ(v bool) predicate.UserEmail
- func IsPrimaryNEQ(v bool) predicate.UserEmail
- func Not(p predicate.UserEmail) predicate.UserEmail
- func Or(predicates ...predicate.UserEmail) predicate.UserEmail
- func OwnerID(v int) predicate.UserEmail
- func OwnerIDEQ(v int) predicate.UserEmail
- func OwnerIDIn(vs ...int) predicate.UserEmail
- func OwnerIDNEQ(v int) predicate.UserEmail
- func OwnerIDNotIn(vs ...int) predicate.UserEmail
- func UpdateTime(v time.Time) predicate.UserEmail
- func UpdateTimeEQ(v time.Time) predicate.UserEmail
- func UpdateTimeGT(v time.Time) predicate.UserEmail
- func UpdateTimeGTE(v time.Time) predicate.UserEmail
- func UpdateTimeIn(vs ...time.Time) predicate.UserEmail
- func UpdateTimeLT(v time.Time) predicate.UserEmail
- func UpdateTimeLTE(v time.Time) predicate.UserEmail
- func UpdateTimeNEQ(v time.Time) predicate.UserEmail
- func UpdateTimeNotIn(vs ...time.Time) predicate.UserEmail
- func ValidColumn(column string) bool
- func VerifyTicket(v string) predicate.UserEmail
- func VerifyTicketContains(v string) predicate.UserEmail
- func VerifyTicketContainsFold(v string) predicate.UserEmail
- func VerifyTicketEQ(v string) predicate.UserEmail
- func VerifyTicketEqualFold(v string) predicate.UserEmail
- func VerifyTicketGT(v string) predicate.UserEmail
- func VerifyTicketGTE(v string) predicate.UserEmail
- func VerifyTicketHasPrefix(v string) predicate.UserEmail
- func VerifyTicketHasSuffix(v string) predicate.UserEmail
- func VerifyTicketIn(vs ...string) predicate.UserEmail
- func VerifyTicketLT(v string) predicate.UserEmail
- func VerifyTicketLTE(v string) predicate.UserEmail
- func VerifyTicketNEQ(v string) predicate.UserEmail
- func VerifyTicketNotIn(vs ...string) predicate.UserEmail
- func VerifyTime(v time.Time) predicate.UserEmail
- func VerifyTimeEQ(v time.Time) predicate.UserEmail
- func VerifyTimeGT(v time.Time) predicate.UserEmail
- func VerifyTimeGTE(v time.Time) predicate.UserEmail
- func VerifyTimeIn(vs ...time.Time) predicate.UserEmail
- func VerifyTimeIsNil() predicate.UserEmail
- func VerifyTimeLT(v time.Time) predicate.UserEmail
- func VerifyTimeLTE(v time.Time) predicate.UserEmail
- func VerifyTimeNEQ(v time.Time) predicate.UserEmail
- func VerifyTimeNotIn(vs ...time.Time) predicate.UserEmail
- func VerifyTimeNotNil() predicate.UserEmail
Constants ¶
const ( // Label holds the string label denoting the useremail type in the database. Label = "user_email" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldVerifyTicket holds the string denoting the verify_ticket field in the database. FieldVerifyTicket = "verify_ticket" // FieldVerifyTime holds the string denoting the verify_time field in the database. FieldVerifyTime = "verify_time" // FieldIsPrimary holds the string denoting the is_primary field in the database. FieldIsPrimary = "is_primary" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // EdgeEmailOwner holds the string denoting the email_owner edge name in mutations. EdgeEmailOwner = "email_owner" // Table holds the table name of the useremail in the database. Table = "user_email" // EmailOwnerTable is the table that holds the email_owner relation/edge. EmailOwnerTable = "user_email" // EmailOwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. EmailOwnerInverseTable = "user" // EmailOwnerColumn is the table column denoting the email_owner relation/edge. EmailOwnerColumn = "owner_id" )
Variables ¶
var ( // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // DefaultVerifyTicket holds the default value on creation for the "verify_ticket" field. DefaultVerifyTicket func() string // VerifyTicketValidator is a validator for the "verify_ticket" field. It is called by the builders before save. VerifyTicketValidator func(string) error // DefaultIsPrimary holds the default value on creation for the "is_primary" field. DefaultIsPrimary bool // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldOwnerID, FieldEmail, FieldVerifyTicket, FieldVerifyTime, FieldIsPrimary, FieldCreateTime, FieldUpdateTime, }
Columns holds all SQL columns for useremail fields.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func HasEmailOwner ¶
HasEmailOwner applies the HasEdge predicate on the "email_owner" edge.
func HasEmailOwnerWith ¶
HasEmailOwnerWith applies the HasEdge predicate on the "email_owner" edge with a given conditions (other predicates).
func IsPrimary ¶
IsPrimary applies equality check predicate on the "is_primary" field. It's identical to IsPrimaryEQ.
func IsPrimaryEQ ¶
IsPrimaryEQ applies the EQ predicate on the "is_primary" field.
func IsPrimaryNEQ ¶
IsPrimaryNEQ applies the NEQ predicate on the "is_primary" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VerifyTicket ¶
VerifyTicket applies equality check predicate on the "verify_ticket" field. It's identical to VerifyTicketEQ.
func VerifyTicketContains ¶
VerifyTicketContains applies the Contains predicate on the "verify_ticket" field.
func VerifyTicketContainsFold ¶
VerifyTicketContainsFold applies the ContainsFold predicate on the "verify_ticket" field.
func VerifyTicketEQ ¶
VerifyTicketEQ applies the EQ predicate on the "verify_ticket" field.
func VerifyTicketEqualFold ¶
VerifyTicketEqualFold applies the EqualFold predicate on the "verify_ticket" field.
func VerifyTicketGT ¶
VerifyTicketGT applies the GT predicate on the "verify_ticket" field.
func VerifyTicketGTE ¶
VerifyTicketGTE applies the GTE predicate on the "verify_ticket" field.
func VerifyTicketHasPrefix ¶
VerifyTicketHasPrefix applies the HasPrefix predicate on the "verify_ticket" field.
func VerifyTicketHasSuffix ¶
VerifyTicketHasSuffix applies the HasSuffix predicate on the "verify_ticket" field.
func VerifyTicketIn ¶
VerifyTicketIn applies the In predicate on the "verify_ticket" field.
func VerifyTicketLT ¶
VerifyTicketLT applies the LT predicate on the "verify_ticket" field.
func VerifyTicketLTE ¶
VerifyTicketLTE applies the LTE predicate on the "verify_ticket" field.
func VerifyTicketNEQ ¶
VerifyTicketNEQ applies the NEQ predicate on the "verify_ticket" field.
func VerifyTicketNotIn ¶
VerifyTicketNotIn applies the NotIn predicate on the "verify_ticket" field.
func VerifyTime ¶ added in v1.0.2
VerifyTime applies equality check predicate on the "verify_time" field. It's identical to VerifyTimeEQ.
func VerifyTimeEQ ¶ added in v1.0.2
VerifyTimeEQ applies the EQ predicate on the "verify_time" field.
func VerifyTimeGT ¶ added in v1.0.2
VerifyTimeGT applies the GT predicate on the "verify_time" field.
func VerifyTimeGTE ¶ added in v1.0.2
VerifyTimeGTE applies the GTE predicate on the "verify_time" field.
func VerifyTimeIn ¶ added in v1.0.2
VerifyTimeIn applies the In predicate on the "verify_time" field.
func VerifyTimeIsNil ¶ added in v1.0.2
VerifyTimeIsNil applies the IsNil predicate on the "verify_time" field.
func VerifyTimeLT ¶ added in v1.0.2
VerifyTimeLT applies the LT predicate on the "verify_time" field.
func VerifyTimeLTE ¶ added in v1.0.2
VerifyTimeLTE applies the LTE predicate on the "verify_time" field.
func VerifyTimeNEQ ¶ added in v1.0.2
VerifyTimeNEQ applies the NEQ predicate on the "verify_time" field.
func VerifyTimeNotIn ¶ added in v1.0.2
VerifyTimeNotIn applies the NotIn predicate on the "verify_time" field.
func VerifyTimeNotNil ¶ added in v1.0.2
VerifyTimeNotNil applies the NotNil predicate on the "verify_time" field.
Types ¶
This section is empty.