account

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the account type in the database.
	Label = "account"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "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"
	// FieldLocked holds the string denoting the locked field in the database.
	FieldLocked = "locked"
	// 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"
	// FieldAttributes holds the string denoting the attributes field in the database.
	FieldAttributes = "attributes"
	// FieldSensitiveAttributes holds the string denoting the sensitive_attributes field in the database.
	FieldSensitiveAttributes = "sensitive_attributes"
	// FieldAttributeBytes holds the string denoting the attribute_bytes field in the database.
	FieldAttributeBytes = "attribute_bytes"
	// 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 account in the database.
	Table = "accounts"
)

Variables

View Source
var (
	// 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
	// DefaultLocked holds the default value on creation for the "locked" field.
	DefaultLocked bool
	// 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 account fields.

Functions

func And

func And(predicates ...predicate.Account) predicate.Account

And groups predicates with the AND operator between them.

func AttributeBytes

func AttributeBytes(v []byte) predicate.Account

AttributeBytes applies equality check predicate on the "attribute_bytes" field. It's identical to AttributeBytesEQ.

func AttributeBytesEQ

func AttributeBytesEQ(v []byte) predicate.Account

AttributeBytesEQ applies the EQ predicate on the "attribute_bytes" field.

func AttributeBytesGT

func AttributeBytesGT(v []byte) predicate.Account

AttributeBytesGT applies the GT predicate on the "attribute_bytes" field.

func AttributeBytesGTE

func AttributeBytesGTE(v []byte) predicate.Account

AttributeBytesGTE applies the GTE predicate on the "attribute_bytes" field.

func AttributeBytesIn

func AttributeBytesIn(vs ...[]byte) predicate.Account

AttributeBytesIn applies the In predicate on the "attribute_bytes" field.

func AttributeBytesIsNil

func AttributeBytesIsNil() predicate.Account

AttributeBytesIsNil applies the IsNil predicate on the "attribute_bytes" field.

func AttributeBytesLT

func AttributeBytesLT(v []byte) predicate.Account

AttributeBytesLT applies the LT predicate on the "attribute_bytes" field.

func AttributeBytesLTE

func AttributeBytesLTE(v []byte) predicate.Account

AttributeBytesLTE applies the LTE predicate on the "attribute_bytes" field.

func AttributeBytesNEQ

func AttributeBytesNEQ(v []byte) predicate.Account

AttributeBytesNEQ applies the NEQ predicate on the "attribute_bytes" field.

func AttributeBytesNotIn

func AttributeBytesNotIn(vs ...[]byte) predicate.Account

AttributeBytesNotIn applies the NotIn predicate on the "attribute_bytes" field.

func AttributeBytesNotNil

func AttributeBytesNotNil() predicate.Account

AttributeBytesNotNil applies the NotNil predicate on the "attribute_bytes" field.

func AttributesIsNil

func AttributesIsNil() predicate.Account

AttributesIsNil applies the IsNil predicate on the "attributes" field.

func AttributesNotNil

func AttributesNotNil() predicate.Account

AttributesNotNil applies the NotNil predicate on the "attributes" field.

func ConfirmationSentAt

func ConfirmationSentAt(v time.Time) predicate.Account

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

func ConfirmationSentAtEQ

func ConfirmationSentAtEQ(v time.Time) predicate.Account

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

func ConfirmationSentAtGT

func ConfirmationSentAtGT(v time.Time) predicate.Account

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

func ConfirmationSentAtGTE

func ConfirmationSentAtGTE(v time.Time) predicate.Account

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

func ConfirmationSentAtIn

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

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

func ConfirmationSentAtIsNil

func ConfirmationSentAtIsNil() predicate.Account

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

func ConfirmationSentAtLT

func ConfirmationSentAtLT(v time.Time) predicate.Account

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

func ConfirmationSentAtLTE

func ConfirmationSentAtLTE(v time.Time) predicate.Account

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

func ConfirmationSentAtNEQ

func ConfirmationSentAtNEQ(v time.Time) predicate.Account

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

func ConfirmationSentAtNotIn

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

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

func ConfirmationSentAtNotNil

func ConfirmationSentAtNotNil() predicate.Account

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

func ConfirmationToken

func ConfirmationToken(v string) predicate.Account

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

func ConfirmationTokenContains

func ConfirmationTokenContains(v string) predicate.Account

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

func ConfirmationTokenContainsFold

func ConfirmationTokenContainsFold(v string) predicate.Account

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

func ConfirmationTokenEQ

func ConfirmationTokenEQ(v string) predicate.Account

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

func ConfirmationTokenEqualFold

func ConfirmationTokenEqualFold(v string) predicate.Account

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

func ConfirmationTokenGT

func ConfirmationTokenGT(v string) predicate.Account

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

func ConfirmationTokenGTE

func ConfirmationTokenGTE(v string) predicate.Account

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

func ConfirmationTokenHasPrefix

func ConfirmationTokenHasPrefix(v string) predicate.Account

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

func ConfirmationTokenHasSuffix

func ConfirmationTokenHasSuffix(v string) predicate.Account

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

func ConfirmationTokenIn

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

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

func ConfirmationTokenIsNil

func ConfirmationTokenIsNil() predicate.Account

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

func ConfirmationTokenLT

func ConfirmationTokenLT(v string) predicate.Account

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

func ConfirmationTokenLTE

func ConfirmationTokenLTE(v string) predicate.Account

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

func ConfirmationTokenNEQ

func ConfirmationTokenNEQ(v string) predicate.Account

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

func ConfirmationTokenNotIn

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

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

func ConfirmationTokenNotNil

func ConfirmationTokenNotNil() predicate.Account

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

func Confirmed

func Confirmed(v bool) predicate.Account

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

func ConfirmedEQ

func ConfirmedEQ(v bool) predicate.Account

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

func ConfirmedIsNil

func ConfirmedIsNil() predicate.Account

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

func ConfirmedNEQ

func ConfirmedNEQ(v bool) predicate.Account

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

func ConfirmedNotNil

func ConfirmedNotNil() predicate.Account

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

func CreatedAt

func CreatedAt(v time.Time) predicate.Account

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Account

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Account

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Account

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Account

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Account

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Account

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

func CreatedAtNotIn

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

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

func Email

func Email(v string) predicate.Account

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

func EmailChange

func EmailChange(v string) predicate.Account

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

func EmailChangeContains

func EmailChangeContains(v string) predicate.Account

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

func EmailChangeContainsFold

func EmailChangeContainsFold(v string) predicate.Account

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

func EmailChangeEQ

func EmailChangeEQ(v string) predicate.Account

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

func EmailChangeEqualFold

func EmailChangeEqualFold(v string) predicate.Account

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

func EmailChangeGT

func EmailChangeGT(v string) predicate.Account

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

func EmailChangeGTE

func EmailChangeGTE(v string) predicate.Account

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

func EmailChangeHasPrefix

func EmailChangeHasPrefix(v string) predicate.Account

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

func EmailChangeHasSuffix

func EmailChangeHasSuffix(v string) predicate.Account

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

func EmailChangeIn

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

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

func EmailChangeIsNil

func EmailChangeIsNil() predicate.Account

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

func EmailChangeLT

func EmailChangeLT(v string) predicate.Account

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

func EmailChangeLTE

func EmailChangeLTE(v string) predicate.Account

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

func EmailChangeNEQ

func EmailChangeNEQ(v string) predicate.Account

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

func EmailChangeNotIn

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

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

func EmailChangeNotNil

func EmailChangeNotNil() predicate.Account

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

func EmailChangeSentAt

func EmailChangeSentAt(v time.Time) predicate.Account

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.Account

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

func EmailChangeSentAtGT

func EmailChangeSentAtGT(v time.Time) predicate.Account

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

func EmailChangeSentAtGTE

func EmailChangeSentAtGTE(v time.Time) predicate.Account

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

func EmailChangeSentAtIn

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

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

func EmailChangeSentAtIsNil

func EmailChangeSentAtIsNil() predicate.Account

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

func EmailChangeSentAtLT

func EmailChangeSentAtLT(v time.Time) predicate.Account

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

func EmailChangeSentAtLTE

func EmailChangeSentAtLTE(v time.Time) predicate.Account

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

func EmailChangeSentAtNEQ

func EmailChangeSentAtNEQ(v time.Time) predicate.Account

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

func EmailChangeSentAtNotIn

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

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

func EmailChangeSentAtNotNil

func EmailChangeSentAtNotNil() predicate.Account

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

func EmailChangeToken

func EmailChangeToken(v string) predicate.Account

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

func EmailChangeTokenContains

func EmailChangeTokenContains(v string) predicate.Account

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

func EmailChangeTokenContainsFold

func EmailChangeTokenContainsFold(v string) predicate.Account

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

func EmailChangeTokenEQ

func EmailChangeTokenEQ(v string) predicate.Account

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

func EmailChangeTokenEqualFold

func EmailChangeTokenEqualFold(v string) predicate.Account

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

func EmailChangeTokenGT

func EmailChangeTokenGT(v string) predicate.Account

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

func EmailChangeTokenGTE

func EmailChangeTokenGTE(v string) predicate.Account

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

func EmailChangeTokenHasPrefix

func EmailChangeTokenHasPrefix(v string) predicate.Account

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

func EmailChangeTokenHasSuffix

func EmailChangeTokenHasSuffix(v string) predicate.Account

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

func EmailChangeTokenIn

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

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

func EmailChangeTokenIsNil

func EmailChangeTokenIsNil() predicate.Account

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

func EmailChangeTokenLT

func EmailChangeTokenLT(v string) predicate.Account

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

func EmailChangeTokenLTE

func EmailChangeTokenLTE(v string) predicate.Account

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

func EmailChangeTokenNEQ

func EmailChangeTokenNEQ(v string) predicate.Account

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

func EmailChangeTokenNotIn

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

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

func EmailChangeTokenNotNil

func EmailChangeTokenNotNil() predicate.Account

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

func EmailContains

func EmailContains(v string) predicate.Account

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

func EmailContainsFold

func EmailContainsFold(v string) predicate.Account

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

func EmailEQ

func EmailEQ(v string) predicate.Account

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

func EmailEqualFold

func EmailEqualFold(v string) predicate.Account

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

func EmailGT

func EmailGT(v string) predicate.Account

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

func EmailGTE

func EmailGTE(v string) predicate.Account

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

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.Account

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

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.Account

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

func EmailIn

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

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

func EmailLT

func EmailLT(v string) predicate.Account

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

func EmailLTE

func EmailLTE(v string) predicate.Account

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

func EmailNEQ

func EmailNEQ(v string) predicate.Account

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

func EmailNotIn

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

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

func ID

func ID(id uuid.UUID) predicate.Account

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Account

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Account

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Account

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Account

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Account

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Account

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LastSigninAt

func LastSigninAt(v time.Time) predicate.Account

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

func LastSigninAtEQ

func LastSigninAtEQ(v time.Time) predicate.Account

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

func LastSigninAtGT

func LastSigninAtGT(v time.Time) predicate.Account

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

func LastSigninAtGTE

func LastSigninAtGTE(v time.Time) predicate.Account

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

func LastSigninAtIn

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

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

func LastSigninAtIsNil

func LastSigninAtIsNil() predicate.Account

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

func LastSigninAtLT

func LastSigninAtLT(v time.Time) predicate.Account

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

func LastSigninAtLTE

func LastSigninAtLTE(v time.Time) predicate.Account

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

func LastSigninAtNEQ

func LastSigninAtNEQ(v time.Time) predicate.Account

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

func LastSigninAtNotIn

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

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

func LastSigninAtNotNil

func LastSigninAtNotNil() predicate.Account

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

func Locked

func Locked(v bool) predicate.Account

Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.

func LockedEQ

func LockedEQ(v bool) predicate.Account

LockedEQ applies the EQ predicate on the "locked" field.

func LockedNEQ

func LockedNEQ(v bool) predicate.Account

LockedNEQ applies the NEQ predicate on the "locked" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Account) predicate.Account

Or groups predicates with the OR operator between them.

func Otp

func Otp(v string) predicate.Account

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

func OtpContains

func OtpContains(v string) predicate.Account

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

func OtpContainsFold

func OtpContainsFold(v string) predicate.Account

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

func OtpEQ

func OtpEQ(v string) predicate.Account

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

func OtpEqualFold

func OtpEqualFold(v string) predicate.Account

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

func OtpGT

func OtpGT(v string) predicate.Account

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

func OtpGTE

func OtpGTE(v string) predicate.Account

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

func OtpHasPrefix

func OtpHasPrefix(v string) predicate.Account

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

func OtpHasSuffix

func OtpHasSuffix(v string) predicate.Account

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

func OtpIn

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

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

func OtpIsNil

func OtpIsNil() predicate.Account

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

func OtpLT

func OtpLT(v string) predicate.Account

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

func OtpLTE

func OtpLTE(v string) predicate.Account

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

func OtpNEQ

func OtpNEQ(v string) predicate.Account

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

func OtpNotIn

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

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

func OtpNotNil

func OtpNotNil() predicate.Account

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

func OtpSentAt

func OtpSentAt(v time.Time) predicate.Account

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

func OtpSentAtEQ

func OtpSentAtEQ(v time.Time) predicate.Account

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

func OtpSentAtGT

func OtpSentAtGT(v time.Time) predicate.Account

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

func OtpSentAtGTE

func OtpSentAtGTE(v time.Time) predicate.Account

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

func OtpSentAtIn

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

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

func OtpSentAtIsNil

func OtpSentAtIsNil() predicate.Account

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

func OtpSentAtLT

func OtpSentAtLT(v time.Time) predicate.Account

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

func OtpSentAtLTE

func OtpSentAtLTE(v time.Time) predicate.Account

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

func OtpSentAtNEQ

func OtpSentAtNEQ(v time.Time) predicate.Account

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

func OtpSentAtNotIn

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

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

func OtpSentAtNotNil

func OtpSentAtNotNil() predicate.Account

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

func Password

func Password(v string) predicate.Account

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

func PasswordContains

func PasswordContains(v string) predicate.Account

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

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.Account

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

func PasswordEQ

func PasswordEQ(v string) predicate.Account

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

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.Account

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

func PasswordGT

func PasswordGT(v string) predicate.Account

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

func PasswordGTE

func PasswordGTE(v string) predicate.Account

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

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.Account

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

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.Account

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

func PasswordIn

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

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

func PasswordLT

func PasswordLT(v string) predicate.Account

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

func PasswordLTE

func PasswordLTE(v string) predicate.Account

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

func PasswordNEQ

func PasswordNEQ(v string) predicate.Account

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

func PasswordNotIn

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

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

func Provider

func Provider(v string) predicate.Account

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

func ProviderContains

func ProviderContains(v string) predicate.Account

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

func ProviderContainsFold

func ProviderContainsFold(v string) predicate.Account

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

func ProviderEQ

func ProviderEQ(v string) predicate.Account

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

func ProviderEqualFold

func ProviderEqualFold(v string) predicate.Account

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

func ProviderGT

func ProviderGT(v string) predicate.Account

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

func ProviderGTE

func ProviderGTE(v string) predicate.Account

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

func ProviderHasPrefix

func ProviderHasPrefix(v string) predicate.Account

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

func ProviderHasSuffix

func ProviderHasSuffix(v string) predicate.Account

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

func ProviderIn

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

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

func ProviderLT

func ProviderLT(v string) predicate.Account

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

func ProviderLTE

func ProviderLTE(v string) predicate.Account

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

func ProviderNEQ

func ProviderNEQ(v string) predicate.Account

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

func ProviderNotIn

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

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

func RecoverySentAt

func RecoverySentAt(v time.Time) predicate.Account

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

func RecoverySentAtEQ

func RecoverySentAtEQ(v time.Time) predicate.Account

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

func RecoverySentAtGT

func RecoverySentAtGT(v time.Time) predicate.Account

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

func RecoverySentAtGTE

func RecoverySentAtGTE(v time.Time) predicate.Account

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

func RecoverySentAtIn

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

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

func RecoverySentAtIsNil

func RecoverySentAtIsNil() predicate.Account

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

func RecoverySentAtLT

func RecoverySentAtLT(v time.Time) predicate.Account

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

func RecoverySentAtLTE

func RecoverySentAtLTE(v time.Time) predicate.Account

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

func RecoverySentAtNEQ

func RecoverySentAtNEQ(v time.Time) predicate.Account

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

func RecoverySentAtNotIn

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

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

func RecoverySentAtNotNil

func RecoverySentAtNotNil() predicate.Account

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

func RecoveryToken

func RecoveryToken(v string) predicate.Account

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

func RecoveryTokenContains

func RecoveryTokenContains(v string) predicate.Account

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

func RecoveryTokenContainsFold

func RecoveryTokenContainsFold(v string) predicate.Account

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

func RecoveryTokenEQ

func RecoveryTokenEQ(v string) predicate.Account

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

func RecoveryTokenEqualFold

func RecoveryTokenEqualFold(v string) predicate.Account

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

func RecoveryTokenGT

func RecoveryTokenGT(v string) predicate.Account

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

func RecoveryTokenGTE

func RecoveryTokenGTE(v string) predicate.Account

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

func RecoveryTokenHasPrefix

func RecoveryTokenHasPrefix(v string) predicate.Account

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

func RecoveryTokenHasSuffix

func RecoveryTokenHasSuffix(v string) predicate.Account

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

func RecoveryTokenIn

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

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

func RecoveryTokenIsNil

func RecoveryTokenIsNil() predicate.Account

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

func RecoveryTokenLT

func RecoveryTokenLT(v string) predicate.Account

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

func RecoveryTokenLTE

func RecoveryTokenLTE(v string) predicate.Account

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

func RecoveryTokenNEQ

func RecoveryTokenNEQ(v string) predicate.Account

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

func RecoveryTokenNotIn

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

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

func RecoveryTokenNotNil

func RecoveryTokenNotNil() predicate.Account

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

func SensitiveAttributesIsNil

func SensitiveAttributesIsNil() predicate.Account

SensitiveAttributesIsNil applies the IsNil predicate on the "sensitive_attributes" field.

func SensitiveAttributesNotNil

func SensitiveAttributesNotNil() predicate.Account

SensitiveAttributesNotNil applies the NotNil predicate on the "sensitive_attributes" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Account

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Account

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Account

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Account

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Account

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Account

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Account

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

func UpdatedAtNotIn

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

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