Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.VerificationToken) predicate.VerificationToken
- func Binding(v string) predicate.VerificationToken
- func BindingContains(v string) predicate.VerificationToken
- func BindingContainsFold(v string) predicate.VerificationToken
- func BindingEQ(v string) predicate.VerificationToken
- func BindingEqualFold(v string) predicate.VerificationToken
- func BindingGT(v string) predicate.VerificationToken
- func BindingGTE(v string) predicate.VerificationToken
- func BindingHasPrefix(v string) predicate.VerificationToken
- func BindingHasSuffix(v string) predicate.VerificationToken
- func BindingIn(vs ...string) predicate.VerificationToken
- func BindingLT(v string) predicate.VerificationToken
- func BindingLTE(v string) predicate.VerificationToken
- func BindingNEQ(v string) predicate.VerificationToken
- func BindingNotIn(vs ...string) predicate.VerificationToken
- func ConsumedAt(v time.Time) predicate.VerificationToken
- func ConsumedAtEQ(v time.Time) predicate.VerificationToken
- func ConsumedAtGT(v time.Time) predicate.VerificationToken
- func ConsumedAtGTE(v time.Time) predicate.VerificationToken
- func ConsumedAtIn(vs ...time.Time) predicate.VerificationToken
- func ConsumedAtIsNil() predicate.VerificationToken
- func ConsumedAtLT(v time.Time) predicate.VerificationToken
- func ConsumedAtLTE(v time.Time) predicate.VerificationToken
- func ConsumedAtNEQ(v time.Time) predicate.VerificationToken
- func ConsumedAtNotIn(vs ...time.Time) predicate.VerificationToken
- func ConsumedAtNotNil() predicate.VerificationToken
- func CreatedAt(v time.Time) predicate.VerificationToken
- func CreatedAtEQ(v time.Time) predicate.VerificationToken
- func CreatedAtGT(v time.Time) predicate.VerificationToken
- func CreatedAtGTE(v time.Time) predicate.VerificationToken
- func CreatedAtIn(vs ...time.Time) predicate.VerificationToken
- func CreatedAtLT(v time.Time) predicate.VerificationToken
- func CreatedAtLTE(v time.Time) predicate.VerificationToken
- func CreatedAtNEQ(v time.Time) predicate.VerificationToken
- func CreatedAtNotIn(vs ...time.Time) predicate.VerificationToken
- func Data(v []byte) predicate.VerificationToken
- func DataEQ(v []byte) predicate.VerificationToken
- func DataGT(v []byte) predicate.VerificationToken
- func DataGTE(v []byte) predicate.VerificationToken
- func DataIn(vs ...[]byte) predicate.VerificationToken
- func DataIsNil() predicate.VerificationToken
- func DataLT(v []byte) predicate.VerificationToken
- func DataLTE(v []byte) predicate.VerificationToken
- func DataNEQ(v []byte) predicate.VerificationToken
- func DataNotIn(vs ...[]byte) predicate.VerificationToken
- func DataNotNil() predicate.VerificationToken
- func Email(v string) predicate.VerificationToken
- func EmailContains(v string) predicate.VerificationToken
- func EmailContainsFold(v string) predicate.VerificationToken
- func EmailEQ(v string) predicate.VerificationToken
- func EmailEqualFold(v string) predicate.VerificationToken
- func EmailGT(v string) predicate.VerificationToken
- func EmailGTE(v string) predicate.VerificationToken
- func EmailHasPrefix(v string) predicate.VerificationToken
- func EmailHasSuffix(v string) predicate.VerificationToken
- func EmailIn(vs ...string) predicate.VerificationToken
- func EmailLT(v string) predicate.VerificationToken
- func EmailLTE(v string) predicate.VerificationToken
- func EmailNEQ(v string) predicate.VerificationToken
- func EmailNotIn(vs ...string) predicate.VerificationToken
- func ExpiresAt(v time.Time) predicate.VerificationToken
- func ExpiresAtEQ(v time.Time) predicate.VerificationToken
- func ExpiresAtGT(v time.Time) predicate.VerificationToken
- func ExpiresAtGTE(v time.Time) predicate.VerificationToken
- func ExpiresAtIn(vs ...time.Time) predicate.VerificationToken
- func ExpiresAtLT(v time.Time) predicate.VerificationToken
- func ExpiresAtLTE(v time.Time) predicate.VerificationToken
- func ExpiresAtNEQ(v time.Time) predicate.VerificationToken
- func ExpiresAtNotIn(vs ...time.Time) predicate.VerificationToken
- func ID(id uuid.UUID) predicate.VerificationToken
- func IDEQ(id uuid.UUID) predicate.VerificationToken
- func IDGT(id uuid.UUID) predicate.VerificationToken
- func IDGTE(id uuid.UUID) predicate.VerificationToken
- func IDIn(ids ...uuid.UUID) predicate.VerificationToken
- func IDLT(id uuid.UUID) predicate.VerificationToken
- func IDLTE(id uuid.UUID) predicate.VerificationToken
- func IDNEQ(id uuid.UUID) predicate.VerificationToken
- func IDNotIn(ids ...uuid.UUID) predicate.VerificationToken
- func Not(p predicate.VerificationToken) predicate.VerificationToken
- func Or(predicates ...predicate.VerificationToken) predicate.VerificationToken
- func PrincipalID(v uuid.UUID) predicate.VerificationToken
- func PrincipalIDEQ(v uuid.UUID) predicate.VerificationToken
- func PrincipalIDGT(v uuid.UUID) predicate.VerificationToken
- func PrincipalIDGTE(v uuid.UUID) predicate.VerificationToken
- func PrincipalIDIn(vs ...uuid.UUID) predicate.VerificationToken
- func PrincipalIDIsNil() predicate.VerificationToken
- func PrincipalIDLT(v uuid.UUID) predicate.VerificationToken
- func PrincipalIDLTE(v uuid.UUID) predicate.VerificationToken
- func PrincipalIDNEQ(v uuid.UUID) predicate.VerificationToken
- func PrincipalIDNotIn(vs ...uuid.UUID) predicate.VerificationToken
- func PrincipalIDNotNil() predicate.VerificationToken
- func PurposeEQ(v Purpose) predicate.VerificationToken
- func PurposeIn(vs ...Purpose) predicate.VerificationToken
- func PurposeNEQ(v Purpose) predicate.VerificationToken
- func PurposeNotIn(vs ...Purpose) predicate.VerificationToken
- func PurposeValidator(pu Purpose) error
- func TokenHash(v string) predicate.VerificationToken
- func TokenHashContains(v string) predicate.VerificationToken
- func TokenHashContainsFold(v string) predicate.VerificationToken
- func TokenHashEQ(v string) predicate.VerificationToken
- func TokenHashEqualFold(v string) predicate.VerificationToken
- func TokenHashGT(v string) predicate.VerificationToken
- func TokenHashGTE(v string) predicate.VerificationToken
- func TokenHashHasPrefix(v string) predicate.VerificationToken
- func TokenHashHasSuffix(v string) predicate.VerificationToken
- func TokenHashIn(vs ...string) predicate.VerificationToken
- func TokenHashLT(v string) predicate.VerificationToken
- func TokenHashLTE(v string) predicate.VerificationToken
- func TokenHashNEQ(v string) predicate.VerificationToken
- func TokenHashNotIn(vs ...string) predicate.VerificationToken
- func ValidColumn(column string) bool
- type OrderOption
- func ByBinding(opts ...sql.OrderTermOption) OrderOption
- func ByConsumedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalID(opts ...sql.OrderTermOption) OrderOption
- func ByPurpose(opts ...sql.OrderTermOption) OrderOption
- func ByTokenHash(opts ...sql.OrderTermOption) OrderOption
- type Purpose
Constants ¶
const ( // Label holds the string label denoting the verificationtoken type in the database. Label = "verification_token" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTokenHash holds the string denoting the token_hash field in the database. FieldTokenHash = "token_hash" // FieldPurpose holds the string denoting the purpose field in the database. FieldPurpose = "purpose" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPrincipalID holds the string denoting the principal_id field in the database. FieldPrincipalID = "principal_id" // FieldBinding holds the string denoting the binding field in the database. FieldBinding = "binding" // FieldData holds the string denoting the data field in the database. FieldData = "data" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldConsumedAt holds the string denoting the consumed_at field in the database. FieldConsumedAt = "consumed_at" // Table holds the table name of the verificationtoken in the database. Table = "sf_verification_tokens" )
Variables ¶
var ( // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // BindingValidator is a validator for the "binding" field. It is called by the builders before save. BindingValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldTokenHash, FieldPurpose, FieldEmail, FieldPrincipalID, FieldBinding, FieldData, FieldCreatedAt, FieldExpiresAt, FieldConsumedAt, }
Columns holds all SQL columns for verificationtoken fields.
Functions ¶
func And ¶
func And(predicates ...predicate.VerificationToken) predicate.VerificationToken
And groups predicates with the AND operator between them.
func Binding ¶
func Binding(v string) predicate.VerificationToken
Binding applies equality check predicate on the "binding" field. It's identical to BindingEQ.
func BindingContains ¶
func BindingContains(v string) predicate.VerificationToken
BindingContains applies the Contains predicate on the "binding" field.
func BindingContainsFold ¶
func BindingContainsFold(v string) predicate.VerificationToken
BindingContainsFold applies the ContainsFold predicate on the "binding" field.
func BindingEQ ¶
func BindingEQ(v string) predicate.VerificationToken
BindingEQ applies the EQ predicate on the "binding" field.
func BindingEqualFold ¶
func BindingEqualFold(v string) predicate.VerificationToken
BindingEqualFold applies the EqualFold predicate on the "binding" field.
func BindingGT ¶
func BindingGT(v string) predicate.VerificationToken
BindingGT applies the GT predicate on the "binding" field.
func BindingGTE ¶
func BindingGTE(v string) predicate.VerificationToken
BindingGTE applies the GTE predicate on the "binding" field.
func BindingHasPrefix ¶
func BindingHasPrefix(v string) predicate.VerificationToken
BindingHasPrefix applies the HasPrefix predicate on the "binding" field.
func BindingHasSuffix ¶
func BindingHasSuffix(v string) predicate.VerificationToken
BindingHasSuffix applies the HasSuffix predicate on the "binding" field.
func BindingIn ¶
func BindingIn(vs ...string) predicate.VerificationToken
BindingIn applies the In predicate on the "binding" field.
func BindingLT ¶
func BindingLT(v string) predicate.VerificationToken
BindingLT applies the LT predicate on the "binding" field.
func BindingLTE ¶
func BindingLTE(v string) predicate.VerificationToken
BindingLTE applies the LTE predicate on the "binding" field.
func BindingNEQ ¶
func BindingNEQ(v string) predicate.VerificationToken
BindingNEQ applies the NEQ predicate on the "binding" field.
func BindingNotIn ¶
func BindingNotIn(vs ...string) predicate.VerificationToken
BindingNotIn applies the NotIn predicate on the "binding" field.
func ConsumedAt ¶
func ConsumedAt(v time.Time) predicate.VerificationToken
ConsumedAt applies equality check predicate on the "consumed_at" field. It's identical to ConsumedAtEQ.
func ConsumedAtEQ ¶
func ConsumedAtEQ(v time.Time) predicate.VerificationToken
ConsumedAtEQ applies the EQ predicate on the "consumed_at" field.
func ConsumedAtGT ¶
func ConsumedAtGT(v time.Time) predicate.VerificationToken
ConsumedAtGT applies the GT predicate on the "consumed_at" field.
func ConsumedAtGTE ¶
func ConsumedAtGTE(v time.Time) predicate.VerificationToken
ConsumedAtGTE applies the GTE predicate on the "consumed_at" field.
func ConsumedAtIn ¶
func ConsumedAtIn(vs ...time.Time) predicate.VerificationToken
ConsumedAtIn applies the In predicate on the "consumed_at" field.
func ConsumedAtIsNil ¶
func ConsumedAtIsNil() predicate.VerificationToken
ConsumedAtIsNil applies the IsNil predicate on the "consumed_at" field.
func ConsumedAtLT ¶
func ConsumedAtLT(v time.Time) predicate.VerificationToken
ConsumedAtLT applies the LT predicate on the "consumed_at" field.
func ConsumedAtLTE ¶
func ConsumedAtLTE(v time.Time) predicate.VerificationToken
ConsumedAtLTE applies the LTE predicate on the "consumed_at" field.
func ConsumedAtNEQ ¶
func ConsumedAtNEQ(v time.Time) predicate.VerificationToken
ConsumedAtNEQ applies the NEQ predicate on the "consumed_at" field.
func ConsumedAtNotIn ¶
func ConsumedAtNotIn(vs ...time.Time) predicate.VerificationToken
ConsumedAtNotIn applies the NotIn predicate on the "consumed_at" field.
func ConsumedAtNotNil ¶
func ConsumedAtNotNil() predicate.VerificationToken
ConsumedAtNotNil applies the NotNil predicate on the "consumed_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.VerificationToken
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.VerificationToken
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.VerificationToken
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.VerificationToken
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.VerificationToken
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.VerificationToken
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.VerificationToken
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.VerificationToken
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.VerificationToken
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Data ¶
func Data(v []byte) predicate.VerificationToken
Data applies equality check predicate on the "data" field. It's identical to DataEQ.
func DataEQ ¶
func DataEQ(v []byte) predicate.VerificationToken
DataEQ applies the EQ predicate on the "data" field.
func DataGT ¶
func DataGT(v []byte) predicate.VerificationToken
DataGT applies the GT predicate on the "data" field.
func DataGTE ¶
func DataGTE(v []byte) predicate.VerificationToken
DataGTE applies the GTE predicate on the "data" field.
func DataIn ¶
func DataIn(vs ...[]byte) predicate.VerificationToken
DataIn applies the In predicate on the "data" field.
func DataIsNil ¶
func DataIsNil() predicate.VerificationToken
DataIsNil applies the IsNil predicate on the "data" field.
func DataLT ¶
func DataLT(v []byte) predicate.VerificationToken
DataLT applies the LT predicate on the "data" field.
func DataLTE ¶
func DataLTE(v []byte) predicate.VerificationToken
DataLTE applies the LTE predicate on the "data" field.
func DataNEQ ¶
func DataNEQ(v []byte) predicate.VerificationToken
DataNEQ applies the NEQ predicate on the "data" field.
func DataNotIn ¶
func DataNotIn(vs ...[]byte) predicate.VerificationToken
DataNotIn applies the NotIn predicate on the "data" field.
func DataNotNil ¶
func DataNotNil() predicate.VerificationToken
DataNotNil applies the NotNil predicate on the "data" field.
func Email ¶
func Email(v string) predicate.VerificationToken
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
func EmailContains(v string) predicate.VerificationToken
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
func EmailContainsFold(v string) predicate.VerificationToken
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEQ ¶
func EmailEQ(v string) predicate.VerificationToken
EmailEQ applies the EQ predicate on the "email" field.
func EmailEqualFold ¶
func EmailEqualFold(v string) predicate.VerificationToken
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailGT ¶
func EmailGT(v string) predicate.VerificationToken
EmailGT applies the GT predicate on the "email" field.
func EmailGTE ¶
func EmailGTE(v string) predicate.VerificationToken
EmailGTE applies the GTE predicate on the "email" field.
func EmailHasPrefix ¶
func EmailHasPrefix(v string) predicate.VerificationToken
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
func EmailHasSuffix(v string) predicate.VerificationToken
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIn ¶
func EmailIn(vs ...string) predicate.VerificationToken
EmailIn applies the In predicate on the "email" field.
func EmailLT ¶
func EmailLT(v string) predicate.VerificationToken
EmailLT applies the LT predicate on the "email" field.
func EmailLTE ¶
func EmailLTE(v string) predicate.VerificationToken
EmailLTE applies the LTE predicate on the "email" field.
func EmailNEQ ¶
func EmailNEQ(v string) predicate.VerificationToken
EmailNEQ applies the NEQ predicate on the "email" field.
func EmailNotIn ¶
func EmailNotIn(vs ...string) predicate.VerificationToken
EmailNotIn applies the NotIn predicate on the "email" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.VerificationToken
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.VerificationToken
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.VerificationToken
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.VerificationToken
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.VerificationToken
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.VerificationToken
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.VerificationToken
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.VerificationToken
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.VerificationToken
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ID ¶
func ID(id uuid.UUID) predicate.VerificationToken
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.VerificationToken
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.VerificationToken
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.VerificationToken
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.VerificationToken
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.VerificationToken
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.VerificationToken
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.VerificationToken
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.VerificationToken
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.VerificationToken) predicate.VerificationToken
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.VerificationToken) predicate.VerificationToken
Or groups predicates with the OR operator between them.
func PrincipalID ¶
func PrincipalID(v uuid.UUID) predicate.VerificationToken
PrincipalID applies equality check predicate on the "principal_id" field. It's identical to PrincipalIDEQ.
func PrincipalIDEQ ¶
func PrincipalIDEQ(v uuid.UUID) predicate.VerificationToken
PrincipalIDEQ applies the EQ predicate on the "principal_id" field.
func PrincipalIDGT ¶
func PrincipalIDGT(v uuid.UUID) predicate.VerificationToken
PrincipalIDGT applies the GT predicate on the "principal_id" field.
func PrincipalIDGTE ¶
func PrincipalIDGTE(v uuid.UUID) predicate.VerificationToken
PrincipalIDGTE applies the GTE predicate on the "principal_id" field.
func PrincipalIDIn ¶
func PrincipalIDIn(vs ...uuid.UUID) predicate.VerificationToken
PrincipalIDIn applies the In predicate on the "principal_id" field.
func PrincipalIDIsNil ¶
func PrincipalIDIsNil() predicate.VerificationToken
PrincipalIDIsNil applies the IsNil predicate on the "principal_id" field.
func PrincipalIDLT ¶
func PrincipalIDLT(v uuid.UUID) predicate.VerificationToken
PrincipalIDLT applies the LT predicate on the "principal_id" field.
func PrincipalIDLTE ¶
func PrincipalIDLTE(v uuid.UUID) predicate.VerificationToken
PrincipalIDLTE applies the LTE predicate on the "principal_id" field.
func PrincipalIDNEQ ¶
func PrincipalIDNEQ(v uuid.UUID) predicate.VerificationToken
PrincipalIDNEQ applies the NEQ predicate on the "principal_id" field.
func PrincipalIDNotIn ¶
func PrincipalIDNotIn(vs ...uuid.UUID) predicate.VerificationToken
PrincipalIDNotIn applies the NotIn predicate on the "principal_id" field.
func PrincipalIDNotNil ¶
func PrincipalIDNotNil() predicate.VerificationToken
PrincipalIDNotNil applies the NotNil predicate on the "principal_id" field.
func PurposeEQ ¶
func PurposeEQ(v Purpose) predicate.VerificationToken
PurposeEQ applies the EQ predicate on the "purpose" field.
func PurposeIn ¶
func PurposeIn(vs ...Purpose) predicate.VerificationToken
PurposeIn applies the In predicate on the "purpose" field.
func PurposeNEQ ¶
func PurposeNEQ(v Purpose) predicate.VerificationToken
PurposeNEQ applies the NEQ predicate on the "purpose" field.
func PurposeNotIn ¶
func PurposeNotIn(vs ...Purpose) predicate.VerificationToken
PurposeNotIn applies the NotIn predicate on the "purpose" field.
func PurposeValidator ¶
PurposeValidator is a validator for the "purpose" field enum values. It is called by the builders before save.
func TokenHash ¶
func TokenHash(v string) predicate.VerificationToken
TokenHash applies equality check predicate on the "token_hash" field. It's identical to TokenHashEQ.
func TokenHashContains ¶
func TokenHashContains(v string) predicate.VerificationToken
TokenHashContains applies the Contains predicate on the "token_hash" field.
func TokenHashContainsFold ¶
func TokenHashContainsFold(v string) predicate.VerificationToken
TokenHashContainsFold applies the ContainsFold predicate on the "token_hash" field.
func TokenHashEQ ¶
func TokenHashEQ(v string) predicate.VerificationToken
TokenHashEQ applies the EQ predicate on the "token_hash" field.
func TokenHashEqualFold ¶
func TokenHashEqualFold(v string) predicate.VerificationToken
TokenHashEqualFold applies the EqualFold predicate on the "token_hash" field.
func TokenHashGT ¶
func TokenHashGT(v string) predicate.VerificationToken
TokenHashGT applies the GT predicate on the "token_hash" field.
func TokenHashGTE ¶
func TokenHashGTE(v string) predicate.VerificationToken
TokenHashGTE applies the GTE predicate on the "token_hash" field.
func TokenHashHasPrefix ¶
func TokenHashHasPrefix(v string) predicate.VerificationToken
TokenHashHasPrefix applies the HasPrefix predicate on the "token_hash" field.
func TokenHashHasSuffix ¶
func TokenHashHasSuffix(v string) predicate.VerificationToken
TokenHashHasSuffix applies the HasSuffix predicate on the "token_hash" field.
func TokenHashIn ¶
func TokenHashIn(vs ...string) predicate.VerificationToken
TokenHashIn applies the In predicate on the "token_hash" field.
func TokenHashLT ¶
func TokenHashLT(v string) predicate.VerificationToken
TokenHashLT applies the LT predicate on the "token_hash" field.
func TokenHashLTE ¶
func TokenHashLTE(v string) predicate.VerificationToken
TokenHashLTE applies the LTE predicate on the "token_hash" field.
func TokenHashNEQ ¶
func TokenHashNEQ(v string) predicate.VerificationToken
TokenHashNEQ applies the NEQ predicate on the "token_hash" field.
func TokenHashNotIn ¶
func TokenHashNotIn(vs ...string) predicate.VerificationToken
TokenHashNotIn applies the NotIn predicate on the "token_hash" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the VerificationToken queries.
func ByBinding ¶
func ByBinding(opts ...sql.OrderTermOption) OrderOption
ByBinding orders the results by the binding field.
func ByConsumedAt ¶
func ByConsumedAt(opts ...sql.OrderTermOption) OrderOption
ByConsumedAt orders the results by the consumed_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPrincipalID ¶
func ByPrincipalID(opts ...sql.OrderTermOption) OrderOption
ByPrincipalID orders the results by the principal_id field.
func ByPurpose ¶
func ByPurpose(opts ...sql.OrderTermOption) OrderOption
ByPurpose orders the results by the purpose field.
func ByTokenHash ¶
func ByTokenHash(opts ...sql.OrderTermOption) OrderOption
ByTokenHash orders the results by the token_hash field.