useremail

package
v1.0.0-alpha.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// FieldSn holds the string denoting the sn field in the database.
	FieldSn = "sn"
	// 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 the 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_profile"
	// EmailOwnerColumn is the table column denoting the email_owner relation/edge.
	EmailOwnerColumn = "owner_id"
)

Variables

View Source
var (
	// DefaultSn holds the default value on creation for the "sn" field.
	DefaultSn func() string
	// SnValidator is a validator for the "sn" field. It is called by the builders before save.
	SnValidator func(string) error
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// 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
)

Columns holds all SQL columns for useremail fields.

Functions

func And

func And(predicates ...predicate.UserEmail) predicate.UserEmail

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.UserEmail

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.UserEmail

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.UserEmail

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.UserEmail

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.UserEmail

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.UserEmail

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.UserEmail

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.UserEmail

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.UserEmail

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func Email

func Email(v string) predicate.UserEmail

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.UserEmail

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.UserEmail

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.UserEmail

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.UserEmail

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.UserEmail

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.UserEmail

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.UserEmail

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.UserEmail

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.UserEmail

EmailIn applies the In predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.UserEmail

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.UserEmail

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.UserEmail

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.UserEmail

EmailNotIn applies the NotIn predicate on the "email" field.

func HasEmailOwner

func HasEmailOwner() predicate.UserEmail

HasEmailOwner applies the HasEdge predicate on the "email_owner" edge.

func HasEmailOwnerWith

func HasEmailOwnerWith(preds ...predicate.User) predicate.UserEmail

HasEmailOwnerWith applies the HasEdge predicate on the "email_owner" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.UserEmail

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.UserEmail

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.UserEmail

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.UserEmail

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.UserEmail

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.UserEmail

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.UserEmail

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.UserEmail

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.UserEmail

IDNotIn applies the NotIn predicate on the ID field.

func IsPrimary

func IsPrimary(v bool) predicate.UserEmail

IsPrimary applies equality check predicate on the "is_primary" field. It's identical to IsPrimaryEQ.

func IsPrimaryEQ

func IsPrimaryEQ(v bool) predicate.UserEmail

IsPrimaryEQ applies the EQ predicate on the "is_primary" field.

func IsPrimaryNEQ

func IsPrimaryNEQ(v bool) predicate.UserEmail

IsPrimaryNEQ applies the NEQ predicate on the "is_primary" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.UserEmail) predicate.UserEmail

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v int) predicate.UserEmail

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDEQ

func OwnerIDEQ(v int) predicate.UserEmail

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...int) predicate.UserEmail

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v int) predicate.UserEmail

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...int) predicate.UserEmail

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func Sn

Sn applies equality check predicate on the "sn" field. It's identical to SnEQ.

func SnContains

func SnContains(v string) predicate.UserEmail

SnContains applies the Contains predicate on the "sn" field.

func SnContainsFold

func SnContainsFold(v string) predicate.UserEmail

SnContainsFold applies the ContainsFold predicate on the "sn" field.

func SnEQ

func SnEQ(v string) predicate.UserEmail

SnEQ applies the EQ predicate on the "sn" field.

func SnEqualFold

func SnEqualFold(v string) predicate.UserEmail

SnEqualFold applies the EqualFold predicate on the "sn" field.

func SnGT

func SnGT(v string) predicate.UserEmail

SnGT applies the GT predicate on the "sn" field.

func SnGTE

func SnGTE(v string) predicate.UserEmail

SnGTE applies the GTE predicate on the "sn" field.

func SnHasPrefix

func SnHasPrefix(v string) predicate.UserEmail

SnHasPrefix applies the HasPrefix predicate on the "sn" field.

func SnHasSuffix

func SnHasSuffix(v string) predicate.UserEmail

SnHasSuffix applies the HasSuffix predicate on the "sn" field.

func SnIn

func SnIn(vs ...string) predicate.UserEmail

SnIn applies the In predicate on the "sn" field.

func SnLT

func SnLT(v string) predicate.UserEmail

SnLT applies the LT predicate on the "sn" field.

func SnLTE

func SnLTE(v string) predicate.UserEmail

SnLTE applies the LTE predicate on the "sn" field.

func SnNEQ

func SnNEQ(v string) predicate.UserEmail

SnNEQ applies the NEQ predicate on the "sn" field.

func SnNotIn

func SnNotIn(vs ...string) predicate.UserEmail

SnNotIn applies the NotIn predicate on the "sn" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.UserEmail

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.UserEmail

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.UserEmail

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.UserEmail

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.UserEmail

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.UserEmail

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.UserEmail

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.UserEmail

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.UserEmail

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func VerifyTicket

func VerifyTicket(v string) predicate.UserEmail

VerifyTicket applies equality check predicate on the "verify_ticket" field. It's identical to VerifyTicketEQ.

func VerifyTicketContains

func VerifyTicketContains(v string) predicate.UserEmail

VerifyTicketContains applies the Contains predicate on the "verify_ticket" field.

func VerifyTicketContainsFold

func VerifyTicketContainsFold(v string) predicate.UserEmail

VerifyTicketContainsFold applies the ContainsFold predicate on the "verify_ticket" field.

func VerifyTicketEQ

func VerifyTicketEQ(v string) predicate.UserEmail

VerifyTicketEQ applies the EQ predicate on the "verify_ticket" field.

func VerifyTicketEqualFold

func VerifyTicketEqualFold(v string) predicate.UserEmail

VerifyTicketEqualFold applies the EqualFold predicate on the "verify_ticket" field.

func VerifyTicketGT

func VerifyTicketGT(v string) predicate.UserEmail

VerifyTicketGT applies the GT predicate on the "verify_ticket" field.

func VerifyTicketGTE

func VerifyTicketGTE(v string) predicate.UserEmail

VerifyTicketGTE applies the GTE predicate on the "verify_ticket" field.

func VerifyTicketHasPrefix

func VerifyTicketHasPrefix(v string) predicate.UserEmail

VerifyTicketHasPrefix applies the HasPrefix predicate on the "verify_ticket" field.

func VerifyTicketHasSuffix

func VerifyTicketHasSuffix(v string) predicate.UserEmail

VerifyTicketHasSuffix applies the HasSuffix predicate on the "verify_ticket" field.

func VerifyTicketIn

func VerifyTicketIn(vs ...string) predicate.UserEmail

VerifyTicketIn applies the In predicate on the "verify_ticket" field.

func VerifyTicketIsNil

func VerifyTicketIsNil() predicate.UserEmail

VerifyTicketIsNil applies the IsNil predicate on the "verify_ticket" field.

func VerifyTicketLT

func VerifyTicketLT(v string) predicate.UserEmail

VerifyTicketLT applies the LT predicate on the "verify_ticket" field.

func VerifyTicketLTE

func VerifyTicketLTE(v string) predicate.UserEmail

VerifyTicketLTE applies the LTE predicate on the "verify_ticket" field.

func VerifyTicketNEQ

func VerifyTicketNEQ(v string) predicate.UserEmail

VerifyTicketNEQ applies the NEQ predicate on the "verify_ticket" field.

func VerifyTicketNotIn

func VerifyTicketNotIn(vs ...string) predicate.UserEmail

VerifyTicketNotIn applies the NotIn predicate on the "verify_ticket" field.

func VerifyTicketNotNil

func VerifyTicketNotNil() predicate.UserEmail

VerifyTicketNotNil applies the NotNil predicate on the "verify_ticket" field.

func VerifyTime

func VerifyTime(v time.Time) predicate.UserEmail

VerifyTime applies equality check predicate on the "verify_time" field. It's identical to VerifyTimeEQ.

func VerifyTimeEQ

func VerifyTimeEQ(v time.Time) predicate.UserEmail

VerifyTimeEQ applies the EQ predicate on the "verify_time" field.

func VerifyTimeGT

func VerifyTimeGT(v time.Time) predicate.UserEmail

VerifyTimeGT applies the GT predicate on the "verify_time" field.

func VerifyTimeGTE

func VerifyTimeGTE(v time.Time) predicate.UserEmail

VerifyTimeGTE applies the GTE predicate on the "verify_time" field.

func VerifyTimeIn

func VerifyTimeIn(vs ...time.Time) predicate.UserEmail

VerifyTimeIn applies the In predicate on the "verify_time" field.

func VerifyTimeIsNil

func VerifyTimeIsNil() predicate.UserEmail

VerifyTimeIsNil applies the IsNil predicate on the "verify_time" field.

func VerifyTimeLT

func VerifyTimeLT(v time.Time) predicate.UserEmail

VerifyTimeLT applies the LT predicate on the "verify_time" field.

func VerifyTimeLTE

func VerifyTimeLTE(v time.Time) predicate.UserEmail

VerifyTimeLTE applies the LTE predicate on the "verify_time" field.

func VerifyTimeNEQ

func VerifyTimeNEQ(v time.Time) predicate.UserEmail

VerifyTimeNEQ applies the NEQ predicate on the "verify_time" field.

func VerifyTimeNotIn

func VerifyTimeNotIn(vs ...time.Time) predicate.UserEmail

VerifyTimeNotIn applies the NotIn predicate on the "verify_time" field.

func VerifyTimeNotNil

func VerifyTimeNotNil() predicate.UserEmail

VerifyTimeNotNil applies the NotNil predicate on the "verify_time" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL