memberemail

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the memberemail type in the database.
	Label = "member_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"
	// FieldVerify holds the string denoting the verify field in the database.
	FieldVerify = "verify"
	// 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 memberemail in the database.
	Table = "member_email"
	// EmailOwnerTable is the table that holds the email_owner relation/edge.
	EmailOwnerTable = "member_email"
	// EmailOwnerInverseTable is the table name for the Member entity.
	// It exists in this package in order to avoid circular dependency with the "member" package.
	EmailOwnerInverseTable = "member"
	// EmailOwnerColumn is the table column denoting the email_owner relation/edge.
	EmailOwnerColumn = "owner_id"
)

Variables

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

Functions

func And

func And(predicates ...predicate.MemberEmail) predicate.MemberEmail

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.MemberEmail

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.MemberEmail

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.MemberEmail

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.MemberEmail

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.MemberEmail

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.MemberEmail

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.MemberEmail

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

func CreateTimeNotIn

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

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

func Email

func Email(v string) predicate.MemberEmail

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

func EmailContains

func EmailContains(v string) predicate.MemberEmail

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

func EmailContainsFold

func EmailContainsFold(v string) predicate.MemberEmail

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

func EmailEQ

func EmailEQ(v string) predicate.MemberEmail

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

func EmailEqualFold

func EmailEqualFold(v string) predicate.MemberEmail

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

func EmailGT

func EmailGT(v string) predicate.MemberEmail

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

func EmailGTE

func EmailGTE(v string) predicate.MemberEmail

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

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.MemberEmail

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

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.MemberEmail

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

func EmailIn

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

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

func EmailLT

func EmailLT(v string) predicate.MemberEmail

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

func EmailLTE

func EmailLTE(v string) predicate.MemberEmail

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

func EmailNEQ

func EmailNEQ(v string) predicate.MemberEmail

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

func EmailNotIn

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

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

func HasEmailOwner added in v1.0.8

func HasEmailOwner() predicate.MemberEmail

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

func HasEmailOwnerWith added in v1.0.8

func HasEmailOwnerWith(preds ...predicate.Member) predicate.MemberEmail

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

func ID

func ID(id int) predicate.MemberEmail

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.MemberEmail

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.MemberEmail

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.MemberEmail

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.MemberEmail

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.MemberEmail

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.MemberEmail

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsPrimary

func IsPrimary(v bool) predicate.MemberEmail

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

func IsPrimaryEQ

func IsPrimaryEQ(v bool) predicate.MemberEmail

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

func IsPrimaryNEQ

func IsPrimaryNEQ(v bool) predicate.MemberEmail

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.MemberEmail) predicate.MemberEmail

Or groups predicates with the OR operator between them.

func OwnerID added in v1.0.4

func OwnerID(v int) predicate.MemberEmail

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

func OwnerIDEQ added in v1.0.4

func OwnerIDEQ(v int) predicate.MemberEmail

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

func OwnerIDIn added in v1.0.4

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

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

func OwnerIDNEQ added in v1.0.4

func OwnerIDNEQ(v int) predicate.MemberEmail

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

func OwnerIDNotIn added in v1.0.4

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

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

func UpdateTime

func UpdateTime(v time.Time) predicate.MemberEmail

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

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.MemberEmail

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

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.MemberEmail

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

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.MemberEmail

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

func UpdateTimeIn

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

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

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.MemberEmail

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

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.MemberEmail

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

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.MemberEmail

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

func UpdateTimeNotIn

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

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 Verify

func Verify(v bool) predicate.MemberEmail

Verify applies equality check predicate on the "verify" field. It's identical to VerifyEQ.

func VerifyEQ

func VerifyEQ(v bool) predicate.MemberEmail

VerifyEQ applies the EQ predicate on the "verify" field.

func VerifyNEQ

func VerifyNEQ(v bool) predicate.MemberEmail

VerifyNEQ applies the NEQ predicate on the "verify" field.

func VerifyTicket added in v1.0.6

func VerifyTicket(v string) predicate.MemberEmail

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

func VerifyTicketContains added in v1.0.6

func VerifyTicketContains(v string) predicate.MemberEmail

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

func VerifyTicketContainsFold added in v1.0.6

func VerifyTicketContainsFold(v string) predicate.MemberEmail

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

func VerifyTicketEQ added in v1.0.6

func VerifyTicketEQ(v string) predicate.MemberEmail

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

func VerifyTicketEqualFold added in v1.0.6

func VerifyTicketEqualFold(v string) predicate.MemberEmail

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

func VerifyTicketGT added in v1.0.6

func VerifyTicketGT(v string) predicate.MemberEmail

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

func VerifyTicketGTE added in v1.0.6

func VerifyTicketGTE(v string) predicate.MemberEmail

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

func VerifyTicketHasPrefix added in v1.0.6

func VerifyTicketHasPrefix(v string) predicate.MemberEmail

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

func VerifyTicketHasSuffix added in v1.0.6

func VerifyTicketHasSuffix(v string) predicate.MemberEmail

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

func VerifyTicketIn added in v1.0.6

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

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

func VerifyTicketIsNil added in v1.0.6

func VerifyTicketIsNil() predicate.MemberEmail

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

func VerifyTicketLT added in v1.0.6

func VerifyTicketLT(v string) predicate.MemberEmail

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

func VerifyTicketLTE added in v1.0.6

func VerifyTicketLTE(v string) predicate.MemberEmail

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

func VerifyTicketNEQ added in v1.0.6

func VerifyTicketNEQ(v string) predicate.MemberEmail

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

func VerifyTicketNotIn added in v1.0.6

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

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

func VerifyTicketNotNil added in v1.0.6

func VerifyTicketNotNil() predicate.MemberEmail

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

func VerifyTime

func VerifyTime(v time.Time) predicate.MemberEmail

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

func VerifyTimeEQ

func VerifyTimeEQ(v time.Time) predicate.MemberEmail

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

func VerifyTimeGT

func VerifyTimeGT(v time.Time) predicate.MemberEmail

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

func VerifyTimeGTE

func VerifyTimeGTE(v time.Time) predicate.MemberEmail

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

func VerifyTimeIn

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

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

func VerifyTimeIsNil added in v1.0.10

func VerifyTimeIsNil() predicate.MemberEmail

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

func VerifyTimeLT

func VerifyTimeLT(v time.Time) predicate.MemberEmail

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

func VerifyTimeLTE

func VerifyTimeLTE(v time.Time) predicate.MemberEmail

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

func VerifyTimeNEQ

func VerifyTimeNEQ(v time.Time) predicate.MemberEmail

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

func VerifyTimeNotIn

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

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

func VerifyTimeNotNil added in v1.0.10

func VerifyTimeNotNil() predicate.MemberEmail

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