emailverificationtoken

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the emailverificationtoken type in the database.
	Label = "email_verification_token"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldToken holds the string denoting the token field in the database.
	FieldToken = "token"
	// FieldTTL holds the string denoting the ttl field in the database.
	FieldTTL = "ttl"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldSecret holds the string denoting the secret field in the database.
	FieldSecret = "secret"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// Table holds the table name of the emailverificationtoken in the database.
	Table = "email_verification_tokens"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "email_verification_tokens"
	// OwnerInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	OwnerInverseTable = "users"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
)

Variables

View Source
var (
	Hooks        [4]ent.Hook
	Interceptors [2]ent.Interceptor
	Policy       ent.Policy
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// TokenValidator is a validator for the "token" field. It is called by the builders before save.
	TokenValidator func(string) error
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// SecretValidator is a validator for the "secret" field. It is called by the builders before save.
	SecretValidator func([]byte) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/datumforge/datum/internal/ent/generated/runtime"

Columns holds all SQL columns for emailverificationtoken fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.EmailVerificationToken

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.EmailVerificationToken

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil added in v0.3.4

func CreatedAtIsNil() predicate.EmailVerificationToken

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.EmailVerificationToken

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.EmailVerificationToken

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.EmailVerificationToken

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil added in v0.3.4

func CreatedAtNotNil() predicate.EmailVerificationToken

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.EmailVerificationToken

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.EmailVerificationToken

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.EmailVerificationToken

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.EmailVerificationToken

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.EmailVerificationToken

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.EmailVerificationToken

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.EmailVerificationToken

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.EmailVerificationToken

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.EmailVerificationToken

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.EmailVerificationToken

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.EmailVerificationToken

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.EmailVerificationToken

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.EmailVerificationToken

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.EmailVerificationToken

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.EmailVerificationToken

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.EmailVerificationToken

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.EmailVerificationToken

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.EmailVerificationToken

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.EmailVerificationToken

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.EmailVerificationToken

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.EmailVerificationToken

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.EmailVerificationToken

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.EmailVerificationToken

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.EmailVerificationToken

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.EmailVerificationToken

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.EmailVerificationToken

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.EmailVerificationToken

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.EmailVerificationToken

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.EmailVerificationToken

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.EmailVerificationToken

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.EmailVerificationToken

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func Email

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

func EmailContains

func EmailContains(v string) predicate.EmailVerificationToken

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

func EmailContainsFold

func EmailContainsFold(v string) predicate.EmailVerificationToken

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

func EmailEQ

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

func EmailEqualFold

func EmailEqualFold(v string) predicate.EmailVerificationToken

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

func EmailGT

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

func EmailGTE

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

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.EmailVerificationToken

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

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.EmailVerificationToken

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

func EmailIn

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

func EmailLT

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

func EmailLTE

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

func EmailNEQ

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

func EmailNotIn

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

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

func HasOwner

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.User) predicate.EmailVerificationToken

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.EmailVerificationToken

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.EmailVerificationToken

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.EmailVerificationToken

IDNotIn applies the NotIn predicate on the ID field.

func MappingID added in v0.5.0

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains added in v0.5.0

func MappingIDContains(v string) predicate.EmailVerificationToken

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold added in v0.5.0

func MappingIDContainsFold(v string) predicate.EmailVerificationToken

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ added in v0.5.0

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold added in v0.5.0

func MappingIDEqualFold(v string) predicate.EmailVerificationToken

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT added in v0.5.0

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE added in v0.5.0

func MappingIDGTE(v string) predicate.EmailVerificationToken

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix added in v0.5.0

func MappingIDHasPrefix(v string) predicate.EmailVerificationToken

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix added in v0.5.0

func MappingIDHasSuffix(v string) predicate.EmailVerificationToken

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn added in v0.5.0

func MappingIDIn(vs ...string) predicate.EmailVerificationToken

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT added in v0.5.0

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE added in v0.5.0

func MappingIDLTE(v string) predicate.EmailVerificationToken

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ added in v0.5.0

func MappingIDNEQ(v string) predicate.EmailVerificationToken

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn added in v0.5.0

func MappingIDNotIn(vs ...string) predicate.EmailVerificationToken

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID added in v0.2.4

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

func OwnerIDContains added in v0.2.4

func OwnerIDContains(v string) predicate.EmailVerificationToken

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold added in v0.2.4

func OwnerIDContainsFold(v string) predicate.EmailVerificationToken

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ added in v0.2.4

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

func OwnerIDEqualFold added in v0.2.4

func OwnerIDEqualFold(v string) predicate.EmailVerificationToken

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT added in v0.2.4

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE added in v0.2.4

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix added in v0.2.4

func OwnerIDHasPrefix(v string) predicate.EmailVerificationToken

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix added in v0.2.4

func OwnerIDHasSuffix(v string) predicate.EmailVerificationToken

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn added in v0.2.4

func OwnerIDIn(vs ...string) predicate.EmailVerificationToken

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

func OwnerIDLT added in v0.2.4

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE added in v0.2.4

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ added in v0.2.4

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

func OwnerIDNotIn added in v0.2.4

func OwnerIDNotIn(vs ...string) predicate.EmailVerificationToken

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

func Secret

Secret applies equality check predicate on the "secret" field. It's identical to SecretEQ.

func SecretEQ

SecretEQ applies the EQ predicate on the "secret" field.

func SecretGT

SecretGT applies the GT predicate on the "secret" field.

func SecretGTE

func SecretGTE(v []byte) predicate.EmailVerificationToken

SecretGTE applies the GTE predicate on the "secret" field.

func SecretIn

func SecretIn(vs ...[]byte) predicate.EmailVerificationToken

SecretIn applies the In predicate on the "secret" field.

func SecretLT

SecretLT applies the LT predicate on the "secret" field.

func SecretLTE

func SecretLTE(v []byte) predicate.EmailVerificationToken

SecretLTE applies the LTE predicate on the "secret" field.

func SecretNEQ

func SecretNEQ(v []byte) predicate.EmailVerificationToken

SecretNEQ applies the NEQ predicate on the "secret" field.

func SecretNotIn

func SecretNotIn(vs ...[]byte) predicate.EmailVerificationToken

SecretNotIn applies the NotIn predicate on the "secret" field.

func TTL

TTL applies equality check predicate on the "ttl" field. It's identical to TTLEQ.

func TTLEQ

TTLEQ applies the EQ predicate on the "ttl" field.

func TTLGT

TTLGT applies the GT predicate on the "ttl" field.

func TTLGTE

TTLGTE applies the GTE predicate on the "ttl" field.

func TTLIn

TTLIn applies the In predicate on the "ttl" field.

func TTLLT

TTLLT applies the LT predicate on the "ttl" field.

func TTLLTE

TTLLTE applies the LTE predicate on the "ttl" field.

func TTLNEQ

TTLNEQ applies the NEQ predicate on the "ttl" field.

func TTLNotIn

func TTLNotIn(vs ...time.Time) predicate.EmailVerificationToken

TTLNotIn applies the NotIn predicate on the "ttl" field.

func Token

Token applies equality check predicate on the "token" field. It's identical to TokenEQ.

func TokenContains

func TokenContains(v string) predicate.EmailVerificationToken

TokenContains applies the Contains predicate on the "token" field.

func TokenContainsFold

func TokenContainsFold(v string) predicate.EmailVerificationToken

TokenContainsFold applies the ContainsFold predicate on the "token" field.

func TokenEQ

TokenEQ applies the EQ predicate on the "token" field.

func TokenEqualFold

func TokenEqualFold(v string) predicate.EmailVerificationToken

TokenEqualFold applies the EqualFold predicate on the "token" field.

func TokenGT

TokenGT applies the GT predicate on the "token" field.

func TokenGTE

TokenGTE applies the GTE predicate on the "token" field.

func TokenHasPrefix

func TokenHasPrefix(v string) predicate.EmailVerificationToken

TokenHasPrefix applies the HasPrefix predicate on the "token" field.

func TokenHasSuffix

func TokenHasSuffix(v string) predicate.EmailVerificationToken

TokenHasSuffix applies the HasSuffix predicate on the "token" field.

func TokenIn

TokenIn applies the In predicate on the "token" field.

func TokenLT

TokenLT applies the LT predicate on the "token" field.

func TokenLTE

TokenLTE applies the LTE predicate on the "token" field.

func TokenNEQ

TokenNEQ applies the NEQ predicate on the "token" field.

func TokenNotIn

func TokenNotIn(vs ...string) predicate.EmailVerificationToken

TokenNotIn applies the NotIn predicate on the "token" field.

func UpdatedAt

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.EmailVerificationToken

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.EmailVerificationToken

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil added in v0.3.4

func UpdatedAtIsNil() predicate.EmailVerificationToken

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.EmailVerificationToken

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.EmailVerificationToken

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.EmailVerificationToken

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil added in v0.3.4

func UpdatedAtNotNil() predicate.EmailVerificationToken

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.EmailVerificationToken

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.EmailVerificationToken

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.EmailVerificationToken

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.EmailVerificationToken

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.EmailVerificationToken

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.EmailVerificationToken

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.EmailVerificationToken

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.EmailVerificationToken

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.EmailVerificationToken

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.EmailVerificationToken

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.EmailVerificationToken

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.EmailVerificationToken

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the EmailVerificationToken queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption

ByDeletedBy orders the results by the deleted_by 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.

func ByMappingID added in v0.5.0

func ByMappingID(opts ...sql.OrderTermOption) OrderOption

ByMappingID orders the results by the mapping_id field.

func ByOwnerField

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID added in v0.2.4

func ByOwnerID(opts ...sql.OrderTermOption) OrderOption

ByOwnerID orders the results by the owner_id field.

func ByTTL

func ByTTL(opts ...sql.OrderTermOption) OrderOption

ByTTL orders the results by the ttl field.

func ByToken

func ByToken(opts ...sql.OrderTermOption) OrderOption

ByToken orders the results by the token field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption

ByUpdatedBy orders the results by the updated_by field.

Jump to

Keyboard shortcuts

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