user

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the user type in the database.
	Label = "user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldBillingID holds the string denoting the billing_id field in the database.
	FieldBillingID = "billing_id"
	// FieldProvider holds the string denoting the provider field in the database.
	FieldProvider = "provider"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldAPIKey holds the string denoting the api_key field in the database.
	FieldAPIKey = "api_key"
	// FieldConfirmed holds the string denoting the confirmed field in the database.
	FieldConfirmed = "confirmed"
	// FieldConfirmationSentAt holds the string denoting the confirmation_sent_at field in the database.
	FieldConfirmationSentAt = "confirmation_sent_at"
	// FieldConfirmationToken holds the string denoting the confirmation_token field in the database.
	FieldConfirmationToken = "confirmation_token"
	// FieldRecoverySentAt holds the string denoting the recovery_sent_at field in the database.
	FieldRecoverySentAt = "recovery_sent_at"
	// FieldRecoveryToken holds the string denoting the recovery_token field in the database.
	FieldRecoveryToken = "recovery_token"
	// FieldOtpSentAt holds the string denoting the otp_sent_at field in the database.
	FieldOtpSentAt = "otp_sent_at"
	// FieldOtp holds the string denoting the otp field in the database.
	FieldOtp = "otp"
	// FieldEmailChange holds the string denoting the email_change field in the database.
	FieldEmailChange = "email_change"
	// FieldEmailChangeSentAt holds the string denoting the email_change_sent_at field in the database.
	FieldEmailChangeSentAt = "email_change_sent_at"
	// FieldEmailChangeToken holds the string denoting the email_change_token field in the database.
	FieldEmailChangeToken = "email_change_token"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// 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"
	// FieldLastSigninAt holds the string denoting the last_signin_at field in the database.
	FieldLastSigninAt = "last_signin_at"

	// Table holds the table name of the user in the database.
	Table = "usersx"
)

Variables

View Source
var (
	// BillingIDValidator is a validator for the "billing_id" field. It is called by the builders before save.
	BillingIDValidator func(string) error
	// ProviderValidator is a validator for the "provider" field. It is called by the builders before save.
	ProviderValidator func(string) error
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// PasswordValidator is a validator for the "password" field. It is called by the builders before save.
	PasswordValidator func(string) error
	// APIKeyValidator is a validator for the "api_key" field. It is called by the builders before save.
	APIKeyValidator func(string) error
	// DefaultConfirmed holds the default value on creation for the confirmed field.
	DefaultConfirmed bool
	// ConfirmationTokenValidator is a validator for the "confirmation_token" field. It is called by the builders before save.
	ConfirmationTokenValidator func(string) error
	// RecoveryTokenValidator is a validator for the "recovery_token" field. It is called by the builders before save.
	RecoveryTokenValidator func(string) error
	// OtpValidator is a validator for the "otp" field. It is called by the builders before save.
	OtpValidator func(string) error
	// EmailChangeValidator is a validator for the "email_change" field. It is called by the builders before save.
	EmailChangeValidator func(string) error
	// EmailChangeTokenValidator is a validator for the "email_change_token" field. It is called by the builders before save.
	EmailChangeTokenValidator func(string) error
	// 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
	// DefaultID holds the default value on creation for the id field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for user fields.

Functions

func APIKey

func APIKey(v string) predicate.User

APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.

func APIKeyContains

func APIKeyContains(v string) predicate.User

APIKeyContains applies the Contains predicate on the "api_key" field.

func APIKeyContainsFold

func APIKeyContainsFold(v string) predicate.User

APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.

func APIKeyEQ

func APIKeyEQ(v string) predicate.User

APIKeyEQ applies the EQ predicate on the "api_key" field.

func APIKeyEqualFold

func APIKeyEqualFold(v string) predicate.User

APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.

func APIKeyGT

func APIKeyGT(v string) predicate.User

APIKeyGT applies the GT predicate on the "api_key" field.

func APIKeyGTE

func APIKeyGTE(v string) predicate.User

APIKeyGTE applies the GTE predicate on the "api_key" field.

func APIKeyHasPrefix

func APIKeyHasPrefix(v string) predicate.User

APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.

func APIKeyHasSuffix

func APIKeyHasSuffix(v string) predicate.User

APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.

func APIKeyIn

func APIKeyIn(vs ...string) predicate.User

APIKeyIn applies the In predicate on the "api_key" field.

func APIKeyIsNil

func APIKeyIsNil() predicate.User

APIKeyIsNil applies the IsNil predicate on the "api_key" field.

func APIKeyLT

func APIKeyLT(v string) predicate.User

APIKeyLT applies the LT predicate on the "api_key" field.

func APIKeyLTE

func APIKeyLTE(v string) predicate.User

APIKeyLTE applies the LTE predicate on the "api_key" field.

func APIKeyNEQ

func APIKeyNEQ(v string) predicate.User

APIKeyNEQ applies the NEQ predicate on the "api_key" field.

func APIKeyNotIn

func APIKeyNotIn(vs ...string) predicate.User

APIKeyNotIn applies the NotIn predicate on the "api_key" field.

func APIKeyNotNil

func APIKeyNotNil() predicate.User

APIKeyNotNil applies the NotNil predicate on the "api_key" field.

func And

func And(predicates ...predicate.User) predicate.User

And groups list of predicates with the AND operator between them.

func BillingID added in v0.1.2

func BillingID(v string) predicate.User

BillingID applies equality check predicate on the "billing_id" field. It's identical to BillingIDEQ.

func BillingIDContains added in v0.1.2

func BillingIDContains(v string) predicate.User

BillingIDContains applies the Contains predicate on the "billing_id" field.

func BillingIDContainsFold added in v0.1.2

func BillingIDContainsFold(v string) predicate.User

BillingIDContainsFold applies the ContainsFold predicate on the "billing_id" field.

func BillingIDEQ added in v0.1.2

func BillingIDEQ(v string) predicate.User

BillingIDEQ applies the EQ predicate on the "billing_id" field.

func BillingIDEqualFold added in v0.1.2

func BillingIDEqualFold(v string) predicate.User

BillingIDEqualFold applies the EqualFold predicate on the "billing_id" field.

func BillingIDGT added in v0.1.2

func BillingIDGT(v string) predicate.User

BillingIDGT applies the GT predicate on the "billing_id" field.

func BillingIDGTE added in v0.1.2

func BillingIDGTE(v string) predicate.User

BillingIDGTE applies the GTE predicate on the "billing_id" field.

func BillingIDHasPrefix added in v0.1.2

func BillingIDHasPrefix(v string) predicate.User

BillingIDHasPrefix applies the HasPrefix predicate on the "billing_id" field.

func BillingIDHasSuffix added in v0.1.2

func BillingIDHasSuffix(v string) predicate.User

BillingIDHasSuffix applies the HasSuffix predicate on the "billing_id" field.

func BillingIDIn added in v0.1.2

func BillingIDIn(vs ...string) predicate.User

BillingIDIn applies the In predicate on the "billing_id" field.

func BillingIDIsNil added in v0.1.2

func BillingIDIsNil() predicate.User

BillingIDIsNil applies the IsNil predicate on the "billing_id" field.

func BillingIDLT added in v0.1.2

func BillingIDLT(v string) predicate.User

BillingIDLT applies the LT predicate on the "billing_id" field.

func BillingIDLTE added in v0.1.2

func BillingIDLTE(v string) predicate.User

BillingIDLTE applies the LTE predicate on the "billing_id" field.

func BillingIDNEQ added in v0.1.2

func BillingIDNEQ(v string) predicate.User

BillingIDNEQ applies the NEQ predicate on the "billing_id" field.

func BillingIDNotIn added in v0.1.2

func BillingIDNotIn(vs ...string) predicate.User

BillingIDNotIn applies the NotIn predicate on the "billing_id" field.

func BillingIDNotNil added in v0.1.2

func BillingIDNotNil() predicate.User

BillingIDNotNil applies the NotNil predicate on the "billing_id" field.

func ConfirmationSentAt

func ConfirmationSentAt(v time.Time) predicate.User

ConfirmationSentAt applies equality check predicate on the "confirmation_sent_at" field. It's identical to ConfirmationSentAtEQ.

func ConfirmationSentAtEQ

func ConfirmationSentAtEQ(v time.Time) predicate.User

ConfirmationSentAtEQ applies the EQ predicate on the "confirmation_sent_at" field.

func ConfirmationSentAtGT

func ConfirmationSentAtGT(v time.Time) predicate.User

ConfirmationSentAtGT applies the GT predicate on the "confirmation_sent_at" field.

func ConfirmationSentAtGTE

func ConfirmationSentAtGTE(v time.Time) predicate.User

ConfirmationSentAtGTE applies the GTE predicate on the "confirmation_sent_at" field.

func ConfirmationSentAtIn

func ConfirmationSentAtIn(vs ...time.Time) predicate.User

ConfirmationSentAtIn applies the In predicate on the "confirmation_sent_at" field.

func ConfirmationSentAtIsNil

func ConfirmationSentAtIsNil() predicate.User

ConfirmationSentAtIsNil applies the IsNil predicate on the "confirmation_sent_at" field.

func ConfirmationSentAtLT

func ConfirmationSentAtLT(v time.Time) predicate.User

ConfirmationSentAtLT applies the LT predicate on the "confirmation_sent_at" field.

func ConfirmationSentAtLTE

func ConfirmationSentAtLTE(v time.Time) predicate.User

ConfirmationSentAtLTE applies the LTE predicate on the "confirmation_sent_at" field.

func ConfirmationSentAtNEQ

func ConfirmationSentAtNEQ(v time.Time) predicate.User

ConfirmationSentAtNEQ applies the NEQ predicate on the "confirmation_sent_at" field.

func ConfirmationSentAtNotIn

func ConfirmationSentAtNotIn(vs ...time.Time) predicate.User

ConfirmationSentAtNotIn applies the NotIn predicate on the "confirmation_sent_at" field.

func ConfirmationSentAtNotNil

func ConfirmationSentAtNotNil() predicate.User

ConfirmationSentAtNotNil applies the NotNil predicate on the "confirmation_sent_at" field.

func ConfirmationToken

func ConfirmationToken(v string) predicate.User

ConfirmationToken applies equality check predicate on the "confirmation_token" field. It's identical to ConfirmationTokenEQ.

func ConfirmationTokenContains

func ConfirmationTokenContains(v string) predicate.User

ConfirmationTokenContains applies the Contains predicate on the "confirmation_token" field.

func ConfirmationTokenContainsFold

func ConfirmationTokenContainsFold(v string) predicate.User

ConfirmationTokenContainsFold applies the ContainsFold predicate on the "confirmation_token" field.

func ConfirmationTokenEQ

func ConfirmationTokenEQ(v string) predicate.User

ConfirmationTokenEQ applies the EQ predicate on the "confirmation_token" field.

func ConfirmationTokenEqualFold

func ConfirmationTokenEqualFold(v string) predicate.User

ConfirmationTokenEqualFold applies the EqualFold predicate on the "confirmation_token" field.

func ConfirmationTokenGT

func ConfirmationTokenGT(v string) predicate.User

ConfirmationTokenGT applies the GT predicate on the "confirmation_token" field.

func ConfirmationTokenGTE

func ConfirmationTokenGTE(v string) predicate.User

ConfirmationTokenGTE applies the GTE predicate on the "confirmation_token" field.

func ConfirmationTokenHasPrefix

func ConfirmationTokenHasPrefix(v string) predicate.User

ConfirmationTokenHasPrefix applies the HasPrefix predicate on the "confirmation_token" field.

func ConfirmationTokenHasSuffix

func ConfirmationTokenHasSuffix(v string) predicate.User

ConfirmationTokenHasSuffix applies the HasSuffix predicate on the "confirmation_token" field.

func ConfirmationTokenIn

func ConfirmationTokenIn(vs ...string) predicate.User

ConfirmationTokenIn applies the In predicate on the "confirmation_token" field.

func ConfirmationTokenIsNil

func ConfirmationTokenIsNil() predicate.User

ConfirmationTokenIsNil applies the IsNil predicate on the "confirmation_token" field.

func ConfirmationTokenLT

func ConfirmationTokenLT(v string) predicate.User

ConfirmationTokenLT applies the LT predicate on the "confirmation_token" field.

func ConfirmationTokenLTE

func ConfirmationTokenLTE(v string) predicate.User

ConfirmationTokenLTE applies the LTE predicate on the "confirmation_token" field.

func ConfirmationTokenNEQ

func ConfirmationTokenNEQ(v string) predicate.User

ConfirmationTokenNEQ applies the NEQ predicate on the "confirmation_token" field.

func ConfirmationTokenNotIn

func ConfirmationTokenNotIn(vs ...string) predicate.User

ConfirmationTokenNotIn applies the NotIn predicate on the "confirmation_token" field.

func ConfirmationTokenNotNil

func ConfirmationTokenNotNil() predicate.User

ConfirmationTokenNotNil applies the NotNil predicate on the "confirmation_token" field.

func Confirmed

func Confirmed(v bool) predicate.User

Confirmed applies equality check predicate on the "confirmed" field. It's identical to ConfirmedEQ.

func ConfirmedEQ

func ConfirmedEQ(v bool) predicate.User

ConfirmedEQ applies the EQ predicate on the "confirmed" field.

func ConfirmedIsNil

func ConfirmedIsNil() predicate.User

ConfirmedIsNil applies the IsNil predicate on the "confirmed" field.

func ConfirmedNEQ

func ConfirmedNEQ(v bool) predicate.User

ConfirmedNEQ applies the NEQ predicate on the "confirmed" field.

func ConfirmedNotNil

func ConfirmedNotNil() predicate.User

ConfirmedNotNil applies the NotNil predicate on the "confirmed" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.User

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.User

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.User

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.User

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.User

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.User

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.User

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

func CreatedAtNotIn

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

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

func Email

func Email(v string) predicate.User

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

func EmailChange

func EmailChange(v string) predicate.User

EmailChange applies equality check predicate on the "email_change" field. It's identical to EmailChangeEQ.

func EmailChangeContains

func EmailChangeContains(v string) predicate.User

EmailChangeContains applies the Contains predicate on the "email_change" field.

func EmailChangeContainsFold

func EmailChangeContainsFold(v string) predicate.User

EmailChangeContainsFold applies the ContainsFold predicate on the "email_change" field.

func EmailChangeEQ

func EmailChangeEQ(v string) predicate.User

EmailChangeEQ applies the EQ predicate on the "email_change" field.

func EmailChangeEqualFold

func EmailChangeEqualFold(v string) predicate.User

EmailChangeEqualFold applies the EqualFold predicate on the "email_change" field.

func EmailChangeGT

func EmailChangeGT(v string) predicate.User

EmailChangeGT applies the GT predicate on the "email_change" field.

func EmailChangeGTE

func EmailChangeGTE(v string) predicate.User

EmailChangeGTE applies the GTE predicate on the "email_change" field.

func EmailChangeHasPrefix

func EmailChangeHasPrefix(v string) predicate.User

EmailChangeHasPrefix applies the HasPrefix predicate on the "email_change" field.

func EmailChangeHasSuffix

func EmailChangeHasSuffix(v string) predicate.User

EmailChangeHasSuffix applies the HasSuffix predicate on the "email_change" field.

func EmailChangeIn

func EmailChangeIn(vs ...string) predicate.User

EmailChangeIn applies the In predicate on the "email_change" field.

func EmailChangeIsNil

func EmailChangeIsNil() predicate.User

EmailChangeIsNil applies the IsNil predicate on the "email_change" field.

func EmailChangeLT

func EmailChangeLT(v string) predicate.User

EmailChangeLT applies the LT predicate on the "email_change" field.

func EmailChangeLTE

func EmailChangeLTE(v string) predicate.User

EmailChangeLTE applies the LTE predicate on the "email_change" field.

func EmailChangeNEQ

func EmailChangeNEQ(v string) predicate.User

EmailChangeNEQ applies the NEQ predicate on the "email_change" field.

func EmailChangeNotIn

func EmailChangeNotIn(vs ...string) predicate.User

EmailChangeNotIn applies the NotIn predicate on the "email_change" field.

func EmailChangeNotNil

func EmailChangeNotNil() predicate.User

EmailChangeNotNil applies the NotNil predicate on the "email_change" field.

func EmailChangeSentAt

func EmailChangeSentAt(v time.Time) predicate.User

EmailChangeSentAt applies equality check predicate on the "email_change_sent_at" field. It's identical to EmailChangeSentAtEQ.

func EmailChangeSentAtEQ

func EmailChangeSentAtEQ(v time.Time) predicate.User

EmailChangeSentAtEQ applies the EQ predicate on the "email_change_sent_at" field.

func EmailChangeSentAtGT

func EmailChangeSentAtGT(v time.Time) predicate.User

EmailChangeSentAtGT applies the GT predicate on the "email_change_sent_at" field.

func EmailChangeSentAtGTE

func EmailChangeSentAtGTE(v time.Time) predicate.User

EmailChangeSentAtGTE applies the GTE predicate on the "email_change_sent_at" field.

func EmailChangeSentAtIn

func EmailChangeSentAtIn(vs ...time.Time) predicate.User

EmailChangeSentAtIn applies the In predicate on the "email_change_sent_at" field.

func EmailChangeSentAtIsNil

func EmailChangeSentAtIsNil() predicate.User

EmailChangeSentAtIsNil applies the IsNil predicate on the "email_change_sent_at" field.

func EmailChangeSentAtLT

func EmailChangeSentAtLT(v time.Time) predicate.User

EmailChangeSentAtLT applies the LT predicate on the "email_change_sent_at" field.

func EmailChangeSentAtLTE

func EmailChangeSentAtLTE(v time.Time) predicate.User

EmailChangeSentAtLTE applies the LTE predicate on the "email_change_sent_at" field.

func EmailChangeSentAtNEQ

func EmailChangeSentAtNEQ(v time.Time) predicate.User

EmailChangeSentAtNEQ applies the NEQ predicate on the "email_change_sent_at" field.

func EmailChangeSentAtNotIn

func EmailChangeSentAtNotIn(vs ...time.Time) predicate.User

EmailChangeSentAtNotIn applies the NotIn predicate on the "email_change_sent_at" field.

func EmailChangeSentAtNotNil

func EmailChangeSentAtNotNil() predicate.User

EmailChangeSentAtNotNil applies the NotNil predicate on the "email_change_sent_at" field.

func EmailChangeToken

func EmailChangeToken(v string) predicate.User

EmailChangeToken applies equality check predicate on the "email_change_token" field. It's identical to EmailChangeTokenEQ.

func EmailChangeTokenContains

func EmailChangeTokenContains(v string) predicate.User

EmailChangeTokenContains applies the Contains predicate on the "email_change_token" field.

func EmailChangeTokenContainsFold

func EmailChangeTokenContainsFold(v string) predicate.User

EmailChangeTokenContainsFold applies the ContainsFold predicate on the "email_change_token" field.

func EmailChangeTokenEQ

func EmailChangeTokenEQ(v string) predicate.User

EmailChangeTokenEQ applies the EQ predicate on the "email_change_token" field.

func EmailChangeTokenEqualFold

func EmailChangeTokenEqualFold(v string) predicate.User

EmailChangeTokenEqualFold applies the EqualFold predicate on the "email_change_token" field.

func EmailChangeTokenGT

func EmailChangeTokenGT(v string) predicate.User

EmailChangeTokenGT applies the GT predicate on the "email_change_token" field.

func EmailChangeTokenGTE

func EmailChangeTokenGTE(v string) predicate.User

EmailChangeTokenGTE applies the GTE predicate on the "email_change_token" field.

func EmailChangeTokenHasPrefix

func EmailChangeTokenHasPrefix(v string) predicate.User

EmailChangeTokenHasPrefix applies the HasPrefix predicate on the "email_change_token" field.

func EmailChangeTokenHasSuffix

func EmailChangeTokenHasSuffix(v string) predicate.User

EmailChangeTokenHasSuffix applies the HasSuffix predicate on the "email_change_token" field.

func EmailChangeTokenIn

func EmailChangeTokenIn(vs ...string) predicate.User

EmailChangeTokenIn applies the In predicate on the "email_change_token" field.

func EmailChangeTokenIsNil

func EmailChangeTokenIsNil() predicate.User

EmailChangeTokenIsNil applies the IsNil predicate on the "email_change_token" field.

func EmailChangeTokenLT

func EmailChangeTokenLT(v string) predicate.User

EmailChangeTokenLT applies the LT predicate on the "email_change_token" field.

func EmailChangeTokenLTE

func EmailChangeTokenLTE(v string) predicate.User

EmailChangeTokenLTE applies the LTE predicate on the "email_change_token" field.

func EmailChangeTokenNEQ

func EmailChangeTokenNEQ(v string) predicate.User

EmailChangeTokenNEQ applies the NEQ predicate on the "email_change_token" field.

func EmailChangeTokenNotIn

func EmailChangeTokenNotIn(vs ...string) predicate.User

EmailChangeTokenNotIn applies the NotIn predicate on the "email_change_token" field.

func EmailChangeTokenNotNil

func EmailChangeTokenNotNil() predicate.User

EmailChangeTokenNotNil applies the NotNil predicate on the "email_change_token" field.

func EmailContains

func EmailContains(v string) predicate.User

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

func EmailContainsFold

func EmailContainsFold(v string) predicate.User

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

func EmailEQ

func EmailEQ(v string) predicate.User

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

func EmailEqualFold

func EmailEqualFold(v string) predicate.User

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

func EmailGT

func EmailGT(v string) predicate.User

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

func EmailGTE

func EmailGTE(v string) predicate.User

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

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.User

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

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.User

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

func EmailIn

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

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

func EmailLT

func EmailLT(v string) predicate.User

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

func EmailLTE

func EmailLTE(v string) predicate.User

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

func EmailNEQ

func EmailNEQ(v string) predicate.User

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

func EmailNotIn

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

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

func ID

func ID(id uuid.UUID) predicate.User

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id uuid.UUID) predicate.User

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.User

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.User

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.User

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.User

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.User

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.User

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.User

IDNotIn applies the NotIn predicate on the ID field.

func LastSigninAt

func LastSigninAt(v time.Time) predicate.User

LastSigninAt applies equality check predicate on the "last_signin_at" field. It's identical to LastSigninAtEQ.

func LastSigninAtEQ

func LastSigninAtEQ(v time.Time) predicate.User

LastSigninAtEQ applies the EQ predicate on the "last_signin_at" field.

func LastSigninAtGT

func LastSigninAtGT(v time.Time) predicate.User

LastSigninAtGT applies the GT predicate on the "last_signin_at" field.

func LastSigninAtGTE

func LastSigninAtGTE(v time.Time) predicate.User

LastSigninAtGTE applies the GTE predicate on the "last_signin_at" field.

func LastSigninAtIn

func LastSigninAtIn(vs ...time.Time) predicate.User

LastSigninAtIn applies the In predicate on the "last_signin_at" field.

func LastSigninAtIsNil

func LastSigninAtIsNil() predicate.User

LastSigninAtIsNil applies the IsNil predicate on the "last_signin_at" field.

func LastSigninAtLT

func LastSigninAtLT(v time.Time) predicate.User

LastSigninAtLT applies the LT predicate on the "last_signin_at" field.

func LastSigninAtLTE

func LastSigninAtLTE(v time.Time) predicate.User

LastSigninAtLTE applies the LTE predicate on the "last_signin_at" field.

func LastSigninAtNEQ

func LastSigninAtNEQ(v time.Time) predicate.User

LastSigninAtNEQ applies the NEQ predicate on the "last_signin_at" field.

func LastSigninAtNotIn

func LastSigninAtNotIn(vs ...time.Time) predicate.User

LastSigninAtNotIn applies the NotIn predicate on the "last_signin_at" field.

func LastSigninAtNotNil

func LastSigninAtNotNil() predicate.User

LastSigninAtNotNil applies the NotNil predicate on the "last_signin_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.User) predicate.User

Or groups list of predicates with the OR operator between them.

func Otp

func Otp(v string) predicate.User

Otp applies equality check predicate on the "otp" field. It's identical to OtpEQ.

func OtpContains

func OtpContains(v string) predicate.User

OtpContains applies the Contains predicate on the "otp" field.

func OtpContainsFold

func OtpContainsFold(v string) predicate.User

OtpContainsFold applies the ContainsFold predicate on the "otp" field.

func OtpEQ

func OtpEQ(v string) predicate.User

OtpEQ applies the EQ predicate on the "otp" field.

func OtpEqualFold

func OtpEqualFold(v string) predicate.User

OtpEqualFold applies the EqualFold predicate on the "otp" field.

func OtpGT

func OtpGT(v string) predicate.User

OtpGT applies the GT predicate on the "otp" field.

func OtpGTE

func OtpGTE(v string) predicate.User

OtpGTE applies the GTE predicate on the "otp" field.

func OtpHasPrefix

func OtpHasPrefix(v string) predicate.User

OtpHasPrefix applies the HasPrefix predicate on the "otp" field.

func OtpHasSuffix

func OtpHasSuffix(v string) predicate.User

OtpHasSuffix applies the HasSuffix predicate on the "otp" field.

func OtpIn

func OtpIn(vs ...string) predicate.User

OtpIn applies the In predicate on the "otp" field.

func OtpIsNil

func OtpIsNil() predicate.User

OtpIsNil applies the IsNil predicate on the "otp" field.

func OtpLT

func OtpLT(v string) predicate.User

OtpLT applies the LT predicate on the "otp" field.

func OtpLTE

func OtpLTE(v string) predicate.User

OtpLTE applies the LTE predicate on the "otp" field.

func OtpNEQ

func OtpNEQ(v string) predicate.User

OtpNEQ applies the NEQ predicate on the "otp" field.

func OtpNotIn

func OtpNotIn(vs ...string) predicate.User

OtpNotIn applies the NotIn predicate on the "otp" field.

func OtpNotNil

func OtpNotNil() predicate.User

OtpNotNil applies the NotNil predicate on the "otp" field.

func OtpSentAt

func OtpSentAt(v time.Time) predicate.User

OtpSentAt applies equality check predicate on the "otp_sent_at" field. It's identical to OtpSentAtEQ.

func OtpSentAtEQ

func OtpSentAtEQ(v time.Time) predicate.User

OtpSentAtEQ applies the EQ predicate on the "otp_sent_at" field.

func OtpSentAtGT

func OtpSentAtGT(v time.Time) predicate.User

OtpSentAtGT applies the GT predicate on the "otp_sent_at" field.

func OtpSentAtGTE

func OtpSentAtGTE(v time.Time) predicate.User

OtpSentAtGTE applies the GTE predicate on the "otp_sent_at" field.

func OtpSentAtIn

func OtpSentAtIn(vs ...time.Time) predicate.User

OtpSentAtIn applies the In predicate on the "otp_sent_at" field.

func OtpSentAtIsNil

func OtpSentAtIsNil() predicate.User

OtpSentAtIsNil applies the IsNil predicate on the "otp_sent_at" field.

func OtpSentAtLT

func OtpSentAtLT(v time.Time) predicate.User

OtpSentAtLT applies the LT predicate on the "otp_sent_at" field.

func OtpSentAtLTE

func OtpSentAtLTE(v time.Time) predicate.User

OtpSentAtLTE applies the LTE predicate on the "otp_sent_at" field.

func OtpSentAtNEQ

func OtpSentAtNEQ(v time.Time) predicate.User

OtpSentAtNEQ applies the NEQ predicate on the "otp_sent_at" field.

func OtpSentAtNotIn

func OtpSentAtNotIn(vs ...time.Time) predicate.User

OtpSentAtNotIn applies the NotIn predicate on the "otp_sent_at" field.

func OtpSentAtNotNil

func OtpSentAtNotNil() predicate.User

OtpSentAtNotNil applies the NotNil predicate on the "otp_sent_at" field.

func Password

func Password(v string) predicate.User

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.User

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.User

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.User

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.User

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.User

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.User

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.User

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.User

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.User

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.User

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.User

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.User

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.User

PasswordNotIn applies the NotIn predicate on the "password" field.

func Provider

func Provider(v string) predicate.User

Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.

func ProviderContains

func ProviderContains(v string) predicate.User

ProviderContains applies the Contains predicate on the "provider" field.

func ProviderContainsFold

func ProviderContainsFold(v string) predicate.User

ProviderContainsFold applies the ContainsFold predicate on the "provider" field.

func ProviderEQ

func ProviderEQ(v string) predicate.User

ProviderEQ applies the EQ predicate on the "provider" field.

func ProviderEqualFold

func ProviderEqualFold(v string) predicate.User

ProviderEqualFold applies the EqualFold predicate on the "provider" field.

func ProviderGT

func ProviderGT(v string) predicate.User

ProviderGT applies the GT predicate on the "provider" field.

func ProviderGTE

func ProviderGTE(v string) predicate.User

ProviderGTE applies the GTE predicate on the "provider" field.

func ProviderHasPrefix

func ProviderHasPrefix(v string) predicate.User

ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.

func ProviderHasSuffix

func ProviderHasSuffix(v string) predicate.User

ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.

func ProviderIn

func ProviderIn(vs ...string) predicate.User

ProviderIn applies the In predicate on the "provider" field.

func ProviderLT

func ProviderLT(v string) predicate.User

ProviderLT applies the LT predicate on the "provider" field.

func ProviderLTE

func ProviderLTE(v string) predicate.User

ProviderLTE applies the LTE predicate on the "provider" field.

func ProviderNEQ

func ProviderNEQ(v string) predicate.User

ProviderNEQ applies the NEQ predicate on the "provider" field.

func ProviderNotIn

func ProviderNotIn(vs ...string) predicate.User

ProviderNotIn applies the NotIn predicate on the "provider" field.

func RecoverySentAt

func RecoverySentAt(v time.Time) predicate.User

RecoverySentAt applies equality check predicate on the "recovery_sent_at" field. It's identical to RecoverySentAtEQ.

func RecoverySentAtEQ

func RecoverySentAtEQ(v time.Time) predicate.User

RecoverySentAtEQ applies the EQ predicate on the "recovery_sent_at" field.

func RecoverySentAtGT

func RecoverySentAtGT(v time.Time) predicate.User

RecoverySentAtGT applies the GT predicate on the "recovery_sent_at" field.

func RecoverySentAtGTE

func RecoverySentAtGTE(v time.Time) predicate.User

RecoverySentAtGTE applies the GTE predicate on the "recovery_sent_at" field.

func RecoverySentAtIn

func RecoverySentAtIn(vs ...time.Time) predicate.User

RecoverySentAtIn applies the In predicate on the "recovery_sent_at" field.

func RecoverySentAtIsNil

func RecoverySentAtIsNil() predicate.User

RecoverySentAtIsNil applies the IsNil predicate on the "recovery_sent_at" field.

func RecoverySentAtLT

func RecoverySentAtLT(v time.Time) predicate.User

RecoverySentAtLT applies the LT predicate on the "recovery_sent_at" field.

func RecoverySentAtLTE

func RecoverySentAtLTE(v time.Time) predicate.User

RecoverySentAtLTE applies the LTE predicate on the "recovery_sent_at" field.

func RecoverySentAtNEQ

func RecoverySentAtNEQ(v time.Time) predicate.User

RecoverySentAtNEQ applies the NEQ predicate on the "recovery_sent_at" field.

func RecoverySentAtNotIn

func RecoverySentAtNotIn(vs ...time.Time) predicate.User

RecoverySentAtNotIn applies the NotIn predicate on the "recovery_sent_at" field.

func RecoverySentAtNotNil

func RecoverySentAtNotNil() predicate.User

RecoverySentAtNotNil applies the NotNil predicate on the "recovery_sent_at" field.

func RecoveryToken

func RecoveryToken(v string) predicate.User

RecoveryToken applies equality check predicate on the "recovery_token" field. It's identical to RecoveryTokenEQ.

func RecoveryTokenContains

func RecoveryTokenContains(v string) predicate.User

RecoveryTokenContains applies the Contains predicate on the "recovery_token" field.

func RecoveryTokenContainsFold

func RecoveryTokenContainsFold(v string) predicate.User

RecoveryTokenContainsFold applies the ContainsFold predicate on the "recovery_token" field.

func RecoveryTokenEQ

func RecoveryTokenEQ(v string) predicate.User

RecoveryTokenEQ applies the EQ predicate on the "recovery_token" field.

func RecoveryTokenEqualFold

func RecoveryTokenEqualFold(v string) predicate.User

RecoveryTokenEqualFold applies the EqualFold predicate on the "recovery_token" field.

func RecoveryTokenGT

func RecoveryTokenGT(v string) predicate.User

RecoveryTokenGT applies the GT predicate on the "recovery_token" field.

func RecoveryTokenGTE

func RecoveryTokenGTE(v string) predicate.User

RecoveryTokenGTE applies the GTE predicate on the "recovery_token" field.

func RecoveryTokenHasPrefix

func RecoveryTokenHasPrefix(v string) predicate.User

RecoveryTokenHasPrefix applies the HasPrefix predicate on the "recovery_token" field.

func RecoveryTokenHasSuffix

func RecoveryTokenHasSuffix(v string) predicate.User

RecoveryTokenHasSuffix applies the HasSuffix predicate on the "recovery_token" field.

func RecoveryTokenIn

func RecoveryTokenIn(vs ...string) predicate.User

RecoveryTokenIn applies the In predicate on the "recovery_token" field.

func RecoveryTokenIsNil

func RecoveryTokenIsNil() predicate.User

RecoveryTokenIsNil applies the IsNil predicate on the "recovery_token" field.

func RecoveryTokenLT

func RecoveryTokenLT(v string) predicate.User

RecoveryTokenLT applies the LT predicate on the "recovery_token" field.

func RecoveryTokenLTE

func RecoveryTokenLTE(v string) predicate.User

RecoveryTokenLTE applies the LTE predicate on the "recovery_token" field.

func RecoveryTokenNEQ

func RecoveryTokenNEQ(v string) predicate.User

RecoveryTokenNEQ applies the NEQ predicate on the "recovery_token" field.

func RecoveryTokenNotIn

func RecoveryTokenNotIn(vs ...string) predicate.User

RecoveryTokenNotIn applies the NotIn predicate on the "recovery_token" field.

func RecoveryTokenNotNil

func RecoveryTokenNotNil() predicate.User

RecoveryTokenNotNil applies the NotNil predicate on the "recovery_token" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.User

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.User

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.User

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.User

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.User

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.User

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.User

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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