Documentation
¶
Index ¶
- Constants
- Variables
- func AccessToken(v string) predicate.User
- func AccessTokenContains(v string) predicate.User
- func AccessTokenContainsFold(v string) predicate.User
- func AccessTokenEQ(v string) predicate.User
- func AccessTokenEqualFold(v string) predicate.User
- func AccessTokenGT(v string) predicate.User
- func AccessTokenGTE(v string) predicate.User
- func AccessTokenHasPrefix(v string) predicate.User
- func AccessTokenHasSuffix(v string) predicate.User
- func AccessTokenIn(vs ...string) predicate.User
- func AccessTokenIsNil() predicate.User
- func AccessTokenLT(v string) predicate.User
- func AccessTokenLTE(v string) predicate.User
- func AccessTokenNEQ(v string) predicate.User
- func AccessTokenNotIn(vs ...string) predicate.User
- func AccessTokenNotNil() predicate.User
- func And(predicates ...predicate.User) predicate.User
- func CertClearPassword(v string) predicate.User
- func CertClearPasswordContains(v string) predicate.User
- func CertClearPasswordContainsFold(v string) predicate.User
- func CertClearPasswordEQ(v string) predicate.User
- func CertClearPasswordEqualFold(v string) predicate.User
- func CertClearPasswordGT(v string) predicate.User
- func CertClearPasswordGTE(v string) predicate.User
- func CertClearPasswordHasPrefix(v string) predicate.User
- func CertClearPasswordHasSuffix(v string) predicate.User
- func CertClearPasswordIn(vs ...string) predicate.User
- func CertClearPasswordIsNil() predicate.User
- func CertClearPasswordLT(v string) predicate.User
- func CertClearPasswordLTE(v string) predicate.User
- func CertClearPasswordNEQ(v string) predicate.User
- func CertClearPasswordNotIn(vs ...string) predicate.User
- func CertClearPasswordNotNil() predicate.User
- func Country(v string) predicate.User
- func CountryContains(v string) predicate.User
- func CountryContainsFold(v string) predicate.User
- func CountryEQ(v string) predicate.User
- func CountryEqualFold(v string) predicate.User
- func CountryGT(v string) predicate.User
- func CountryGTE(v string) predicate.User
- func CountryHasPrefix(v string) predicate.User
- func CountryHasSuffix(v string) predicate.User
- func CountryIn(vs ...string) predicate.User
- func CountryIsNil() predicate.User
- func CountryLT(v string) predicate.User
- func CountryLTE(v string) predicate.User
- func CountryNEQ(v string) predicate.User
- func CountryNotIn(vs ...string) predicate.User
- func CountryNotNil() predicate.User
- func Created(v time.Time) predicate.User
- func CreatedEQ(v time.Time) predicate.User
- func CreatedGT(v time.Time) predicate.User
- func CreatedGTE(v time.Time) predicate.User
- func CreatedIn(vs ...time.Time) predicate.User
- func CreatedIsNil() predicate.User
- func CreatedLT(v time.Time) predicate.User
- func CreatedLTE(v time.Time) predicate.User
- func CreatedNEQ(v time.Time) predicate.User
- func CreatedNotIn(vs ...time.Time) predicate.User
- func CreatedNotNil() predicate.User
- func Email(v string) predicate.User
- func EmailContains(v string) predicate.User
- func EmailContainsFold(v string) predicate.User
- func EmailEQ(v string) predicate.User
- func EmailEqualFold(v string) predicate.User
- func EmailGT(v string) predicate.User
- func EmailGTE(v string) predicate.User
- func EmailHasPrefix(v string) predicate.User
- func EmailHasSuffix(v string) predicate.User
- func EmailIn(vs ...string) predicate.User
- func EmailIsNil() predicate.User
- func EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func EmailNotNil() predicate.User
- func EmailVerified(v bool) predicate.User
- func EmailVerifiedEQ(v bool) predicate.User
- func EmailVerifiedNEQ(v bool) predicate.User
- func Expiry(v time.Time) predicate.User
- func ExpiryEQ(v time.Time) predicate.User
- func ExpiryGT(v time.Time) predicate.User
- func ExpiryGTE(v time.Time) predicate.User
- func ExpiryIn(vs ...time.Time) predicate.User
- func ExpiryIsNil() predicate.User
- func ExpiryLT(v time.Time) predicate.User
- func ExpiryLTE(v time.Time) predicate.User
- func ExpiryNEQ(v time.Time) predicate.User
- func ExpiryNotIn(vs ...time.Time) predicate.User
- func ExpiryNotNil() predicate.User
- func ForgotPasswordCode(v string) predicate.User
- func ForgotPasswordCodeContains(v string) predicate.User
- func ForgotPasswordCodeContainsFold(v string) predicate.User
- func ForgotPasswordCodeEQ(v string) predicate.User
- func ForgotPasswordCodeEqualFold(v string) predicate.User
- func ForgotPasswordCodeExpiresAt(v time.Time) predicate.User
- func ForgotPasswordCodeExpiresAtEQ(v time.Time) predicate.User
- func ForgotPasswordCodeExpiresAtGT(v time.Time) predicate.User
- func ForgotPasswordCodeExpiresAtGTE(v time.Time) predicate.User
- func ForgotPasswordCodeExpiresAtIn(vs ...time.Time) predicate.User
- func ForgotPasswordCodeExpiresAtIsNil() predicate.User
- func ForgotPasswordCodeExpiresAtLT(v time.Time) predicate.User
- func ForgotPasswordCodeExpiresAtLTE(v time.Time) predicate.User
- func ForgotPasswordCodeExpiresAtNEQ(v time.Time) predicate.User
- func ForgotPasswordCodeExpiresAtNotIn(vs ...time.Time) predicate.User
- func ForgotPasswordCodeExpiresAtNotNil() predicate.User
- func ForgotPasswordCodeGT(v string) predicate.User
- func ForgotPasswordCodeGTE(v string) predicate.User
- func ForgotPasswordCodeHasPrefix(v string) predicate.User
- func ForgotPasswordCodeHasSuffix(v string) predicate.User
- func ForgotPasswordCodeIn(vs ...string) predicate.User
- func ForgotPasswordCodeIsNil() predicate.User
- func ForgotPasswordCodeLT(v string) predicate.User
- func ForgotPasswordCodeLTE(v string) predicate.User
- func ForgotPasswordCodeNEQ(v string) predicate.User
- func ForgotPasswordCodeNotIn(vs ...string) predicate.User
- func ForgotPasswordCodeNotNil() predicate.User
- func HasRecoverycodes() predicate.User
- func HasRecoverycodesWith(preds ...predicate.RecoveryCode) predicate.User
- func HasSessions() predicate.User
- func HasSessionsWith(preds ...predicate.Sessions) predicate.User
- func Hash(v string) predicate.User
- func HashContains(v string) predicate.User
- func HashContainsFold(v string) predicate.User
- func HashEQ(v string) predicate.User
- func HashEqualFold(v string) predicate.User
- func HashGT(v string) predicate.User
- func HashGTE(v string) predicate.User
- func HashHasPrefix(v string) predicate.User
- func HashHasSuffix(v string) predicate.User
- func HashIn(vs ...string) predicate.User
- func HashIsNil() predicate.User
- func HashLT(v string) predicate.User
- func HashLTE(v string) predicate.User
- func HashNEQ(v string) predicate.User
- func HashNotIn(vs ...string) predicate.User
- func HashNotNil() predicate.User
- func ID(id string) predicate.User
- func IDContainsFold(id string) predicate.User
- func IDEQ(id string) predicate.User
- func IDEqualFold(id string) predicate.User
- func IDGT(id string) predicate.User
- func IDGTE(id string) predicate.User
- func IDIn(ids ...string) predicate.User
- func IDLT(id string) predicate.User
- func IDLTE(id string) predicate.User
- func IDNEQ(id string) predicate.User
- func IDNotIn(ids ...string) predicate.User
- func IDToken(v string) predicate.User
- func IDTokenContains(v string) predicate.User
- func IDTokenContainsFold(v string) predicate.User
- func IDTokenEQ(v string) predicate.User
- func IDTokenEqualFold(v string) predicate.User
- func IDTokenGT(v string) predicate.User
- func IDTokenGTE(v string) predicate.User
- func IDTokenHasPrefix(v string) predicate.User
- func IDTokenHasSuffix(v string) predicate.User
- func IDTokenIn(vs ...string) predicate.User
- func IDTokenIsNil() predicate.User
- func IDTokenLT(v string) predicate.User
- func IDTokenLTE(v string) predicate.User
- func IDTokenNEQ(v string) predicate.User
- func IDTokenNotIn(vs ...string) predicate.User
- func IDTokenNotNil() predicate.User
- func Modified(v time.Time) predicate.User
- func ModifiedEQ(v time.Time) predicate.User
- func ModifiedGT(v time.Time) predicate.User
- func ModifiedGTE(v time.Time) predicate.User
- func ModifiedIn(vs ...time.Time) predicate.User
- func ModifiedIsNil() predicate.User
- func ModifiedLT(v time.Time) predicate.User
- func ModifiedLTE(v time.Time) predicate.User
- func ModifiedNEQ(v time.Time) predicate.User
- func ModifiedNotIn(vs ...time.Time) predicate.User
- func ModifiedNotNil() predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) predicate.User
- func NewUserToken(v string) predicate.User
- func NewUserTokenContains(v string) predicate.User
- func NewUserTokenContainsFold(v string) predicate.User
- func NewUserTokenEQ(v string) predicate.User
- func NewUserTokenEqualFold(v string) predicate.User
- func NewUserTokenGT(v string) predicate.User
- func NewUserTokenGTE(v string) predicate.User
- func NewUserTokenHasPrefix(v string) predicate.User
- func NewUserTokenHasSuffix(v string) predicate.User
- func NewUserTokenIn(vs ...string) predicate.User
- func NewUserTokenIsNil() predicate.User
- func NewUserTokenLT(v string) predicate.User
- func NewUserTokenLTE(v string) predicate.User
- func NewUserTokenNEQ(v string) predicate.User
- func NewUserTokenNotIn(vs ...string) predicate.User
- func NewUserTokenNotNil() predicate.User
- func Not(p predicate.User) predicate.User
- func Openid(v bool) predicate.User
- func OpenidEQ(v bool) predicate.User
- func OpenidIsNil() predicate.User
- func OpenidNEQ(v bool) predicate.User
- func OpenidNotNil() predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Passwd(v bool) predicate.User
- func PasswdEQ(v bool) predicate.User
- func PasswdIsNil() predicate.User
- func PasswdNEQ(v bool) predicate.User
- func PasswdNotNil() predicate.User
- func Phone(v string) predicate.User
- func PhoneContains(v string) predicate.User
- func PhoneContainsFold(v string) predicate.User
- func PhoneEQ(v string) predicate.User
- func PhoneEqualFold(v string) predicate.User
- func PhoneGT(v string) predicate.User
- func PhoneGTE(v string) predicate.User
- func PhoneHasPrefix(v string) predicate.User
- func PhoneHasSuffix(v string) predicate.User
- func PhoneIn(vs ...string) predicate.User
- func PhoneIsNil() predicate.User
- func PhoneLT(v string) predicate.User
- func PhoneLTE(v string) predicate.User
- func PhoneNEQ(v string) predicate.User
- func PhoneNotIn(vs ...string) predicate.User
- func PhoneNotNil() predicate.User
- func RefreshToken(v string) predicate.User
- func RefreshTokenContains(v string) predicate.User
- func RefreshTokenContainsFold(v string) predicate.User
- func RefreshTokenEQ(v string) predicate.User
- func RefreshTokenEqualFold(v string) predicate.User
- func RefreshTokenGT(v string) predicate.User
- func RefreshTokenGTE(v string) predicate.User
- func RefreshTokenHasPrefix(v string) predicate.User
- func RefreshTokenHasSuffix(v string) predicate.User
- func RefreshTokenIn(vs ...string) predicate.User
- func RefreshTokenIsNil() predicate.User
- func RefreshTokenLT(v string) predicate.User
- func RefreshTokenLTE(v string) predicate.User
- func RefreshTokenNEQ(v string) predicate.User
- func RefreshTokenNotIn(vs ...string) predicate.User
- func RefreshTokenNotNil() predicate.User
- func Register(v string) predicate.User
- func RegisterContains(v string) predicate.User
- func RegisterContainsFold(v string) predicate.User
- func RegisterEQ(v string) predicate.User
- func RegisterEqualFold(v string) predicate.User
- func RegisterGT(v string) predicate.User
- func RegisterGTE(v string) predicate.User
- func RegisterHasPrefix(v string) predicate.User
- func RegisterHasSuffix(v string) predicate.User
- func RegisterIn(vs ...string) predicate.User
- func RegisterLT(v string) predicate.User
- func RegisterLTE(v string) predicate.User
- func RegisterNEQ(v string) predicate.User
- func RegisterNotIn(vs ...string) predicate.User
- func TokenExpiry(v int) predicate.User
- func TokenExpiryEQ(v int) predicate.User
- func TokenExpiryGT(v int) predicate.User
- func TokenExpiryGTE(v int) predicate.User
- func TokenExpiryIn(vs ...int) predicate.User
- func TokenExpiryIsNil() predicate.User
- func TokenExpiryLT(v int) predicate.User
- func TokenExpiryLTE(v int) predicate.User
- func TokenExpiryNEQ(v int) predicate.User
- func TokenExpiryNotIn(vs ...int) predicate.User
- func TokenExpiryNotNil() predicate.User
- func TokenType(v string) predicate.User
- func TokenTypeContains(v string) predicate.User
- func TokenTypeContainsFold(v string) predicate.User
- func TokenTypeEQ(v string) predicate.User
- func TokenTypeEqualFold(v string) predicate.User
- func TokenTypeGT(v string) predicate.User
- func TokenTypeGTE(v string) predicate.User
- func TokenTypeHasPrefix(v string) predicate.User
- func TokenTypeHasSuffix(v string) predicate.User
- func TokenTypeIn(vs ...string) predicate.User
- func TokenTypeIsNil() predicate.User
- func TokenTypeLT(v string) predicate.User
- func TokenTypeLTE(v string) predicate.User
- func TokenTypeNEQ(v string) predicate.User
- func TokenTypeNotIn(vs ...string) predicate.User
- func TokenTypeNotNil() predicate.User
- func TotpSecret(v string) predicate.User
- func TotpSecretConfirmed(v bool) predicate.User
- func TotpSecretConfirmedEQ(v bool) predicate.User
- func TotpSecretConfirmedIsNil() predicate.User
- func TotpSecretConfirmedNEQ(v bool) predicate.User
- func TotpSecretConfirmedNotNil() predicate.User
- func TotpSecretContains(v string) predicate.User
- func TotpSecretContainsFold(v string) predicate.User
- func TotpSecretEQ(v string) predicate.User
- func TotpSecretEqualFold(v string) predicate.User
- func TotpSecretGT(v string) predicate.User
- func TotpSecretGTE(v string) predicate.User
- func TotpSecretHasPrefix(v string) predicate.User
- func TotpSecretHasSuffix(v string) predicate.User
- func TotpSecretIn(vs ...string) predicate.User
- func TotpSecretIsNil() predicate.User
- func TotpSecretLT(v string) predicate.User
- func TotpSecretLTE(v string) predicate.User
- func TotpSecretNEQ(v string) predicate.User
- func TotpSecretNotIn(vs ...string) predicate.User
- func TotpSecretNotNil() predicate.User
- func Use2fa(v bool) predicate.User
- func Use2faEQ(v bool) predicate.User
- func Use2faIsNil() predicate.User
- func Use2faNEQ(v bool) predicate.User
- func Use2faNotNil() predicate.User
- func ValidColumn(column string) bool
- type OrderOption
- func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
- func ByCertClearPassword(opts ...sql.OrderTermOption) OrderOption
- func ByCountry(opts ...sql.OrderTermOption) OrderOption
- func ByCreated(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEmailVerified(opts ...sql.OrderTermOption) OrderOption
- func ByExpiry(opts ...sql.OrderTermOption) OrderOption
- func ByForgotPasswordCode(opts ...sql.OrderTermOption) OrderOption
- func ByForgotPasswordCodeExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByHash(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIDToken(opts ...sql.OrderTermOption) OrderOption
- func ByModified(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNewUserToken(opts ...sql.OrderTermOption) OrderOption
- func ByOpenid(opts ...sql.OrderTermOption) OrderOption
- func ByPasswd(opts ...sql.OrderTermOption) OrderOption
- func ByPhone(opts ...sql.OrderTermOption) OrderOption
- func ByRecoverycodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRecoverycodesCount(opts ...sql.OrderTermOption) OrderOption
- func ByRefreshToken(opts ...sql.OrderTermOption) OrderOption
- func ByRegister(opts ...sql.OrderTermOption) OrderOption
- func BySessions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySessionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTokenExpiry(opts ...sql.OrderTermOption) OrderOption
- func ByTokenType(opts ...sql.OrderTermOption) OrderOption
- func ByTotpSecret(opts ...sql.OrderTermOption) OrderOption
- func ByTotpSecretConfirmed(opts ...sql.OrderTermOption) OrderOption
- func ByUse2fa(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 = "uid" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // FieldEmailVerified holds the string denoting the email_verified field in the database. FieldEmailVerified = "email_verified" // FieldRegister holds the string denoting the register field in the database. FieldRegister = "register" // FieldCertClearPassword holds the string denoting the cert_clear_password field in the database. FieldCertClearPassword = "cert_clear_password" // FieldExpiry holds the string denoting the expiry field in the database. FieldExpiry = "expiry" // FieldOpenid holds the string denoting the openid field in the database. FieldOpenid = "openid" // FieldPasswd holds the string denoting the passwd field in the database. FieldPasswd = "passwd" // FieldUse2fa holds the string denoting the use2fa field in the database. FieldUse2fa = "use2fa" // FieldCreated holds the string denoting the created field in the database. FieldCreated = "created" // FieldModified holds the string denoting the modified field in the database. FieldModified = "modified" // FieldAccessToken holds the string denoting the access_token field in the database. FieldAccessToken = "access_token" // FieldRefreshToken holds the string denoting the refresh_token field in the database. FieldRefreshToken = "refresh_token" // FieldIDToken holds the string denoting the id_token field in the database. FieldIDToken = "id_token" // FieldTokenType holds the string denoting the token_type field in the database. FieldTokenType = "token_type" // FieldTokenExpiry holds the string denoting the token_expiry field in the database. FieldTokenExpiry = "token_expiry" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // FieldTotpSecret holds the string denoting the totp_secret field in the database. FieldTotpSecret = "totp_secret" // FieldTotpSecretConfirmed holds the string denoting the totp_secret_confirmed field in the database. FieldTotpSecretConfirmed = "totp_secret_confirmed" // FieldForgotPasswordCode holds the string denoting the forgot_password_code field in the database. FieldForgotPasswordCode = "forgot_password_code" // FieldForgotPasswordCodeExpiresAt holds the string denoting the forgot_password_code_expires_at field in the database. FieldForgotPasswordCodeExpiresAt = "forgot_password_code_expires_at" // FieldNewUserToken holds the string denoting the new_user_token field in the database. FieldNewUserToken = "new_user_token" // EdgeSessions holds the string denoting the sessions edge name in mutations. EdgeSessions = "sessions" // EdgeRecoverycodes holds the string denoting the recoverycodes edge name in mutations. EdgeRecoverycodes = "recoverycodes" // SessionsFieldID holds the string denoting the ID field of the Sessions. SessionsFieldID = "token" // RecoveryCodeFieldID holds the string denoting the ID field of the RecoveryCode. RecoveryCodeFieldID = "id" // Table holds the table name of the user in the database. Table = "users" // SessionsTable is the table that holds the sessions relation/edge. SessionsTable = "sessions" // SessionsInverseTable is the table name for the Sessions entity. // It exists in this package in order to avoid circular dependency with the "sessions" package. SessionsInverseTable = "sessions" // SessionsColumn is the table column denoting the sessions relation/edge. SessionsColumn = "user_sessions" // RecoverycodesTable is the table that holds the recoverycodes relation/edge. RecoverycodesTable = "recovery_codes" // RecoverycodesInverseTable is the table name for the RecoveryCode entity. // It exists in this package in order to avoid circular dependency with the "recoverycode" package. RecoverycodesInverseTable = "recovery_codes" // RecoverycodesColumn is the table column denoting the recoverycodes relation/edge. RecoverycodesColumn = "user_recoverycodes" )
Variables ¶
var ( // DefaultEmailVerified holds the default value on creation for the "email_verified" field. DefaultEmailVerified bool // DefaultRegister holds the default value on creation for the "register" field. DefaultRegister string // DefaultOpenid holds the default value on creation for the "openid" field. DefaultOpenid bool // DefaultPasswd holds the default value on creation for the "passwd" field. DefaultPasswd bool // DefaultUse2fa holds the default value on creation for the "use2fa" field. DefaultUse2fa bool // DefaultCreated holds the default value on creation for the "created" field. DefaultCreated func() time.Time // DefaultModified holds the default value on creation for the "modified" field. DefaultModified func() time.Time // UpdateDefaultModified holds the default value on update for the "modified" field. UpdateDefaultModified func() time.Time // DefaultAccessToken holds the default value on creation for the "access_token" field. DefaultAccessToken string // DefaultRefreshToken holds the default value on creation for the "refresh_token" field. DefaultRefreshToken string // DefaultIDToken holds the default value on creation for the "id_token" field. DefaultIDToken string // DefaultTokenType holds the default value on creation for the "token_type" field. DefaultTokenType string // DefaultTokenExpiry holds the default value on creation for the "token_expiry" field. DefaultTokenExpiry int // DefaultHash holds the default value on creation for the "hash" field. DefaultHash string // DefaultTotpSecret holds the default value on creation for the "totp_secret" field. DefaultTotpSecret string // DefaultTotpSecretConfirmed holds the default value on creation for the "totp_secret_confirmed" field. DefaultTotpSecretConfirmed bool // DefaultForgotPasswordCode holds the default value on creation for the "forgot_password_code" field. DefaultForgotPasswordCode string // DefaultForgotPasswordCodeExpiresAt holds the default value on creation for the "forgot_password_code_expires_at" field. DefaultForgotPasswordCodeExpiresAt func() time.Time // DefaultNewUserToken holds the default value on creation for the "new_user_token" field. DefaultNewUserToken string // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldName, FieldEmail, FieldPhone, FieldCountry, FieldEmailVerified, FieldRegister, FieldCertClearPassword, FieldExpiry, FieldOpenid, FieldPasswd, FieldUse2fa, FieldCreated, FieldModified, FieldAccessToken, FieldRefreshToken, FieldIDToken, FieldTokenType, FieldTokenExpiry, FieldHash, FieldTotpSecret, FieldTotpSecretConfirmed, FieldForgotPasswordCode, FieldForgotPasswordCodeExpiresAt, FieldNewUserToken, }
Columns holds all SQL columns for user fields.
Functions ¶
func AccessToken ¶
AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ.
func AccessTokenContains ¶
AccessTokenContains applies the Contains predicate on the "access_token" field.
func AccessTokenContainsFold ¶
AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field.
func AccessTokenEQ ¶
AccessTokenEQ applies the EQ predicate on the "access_token" field.
func AccessTokenEqualFold ¶
AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field.
func AccessTokenGT ¶
AccessTokenGT applies the GT predicate on the "access_token" field.
func AccessTokenGTE ¶
AccessTokenGTE applies the GTE predicate on the "access_token" field.
func AccessTokenHasPrefix ¶
AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field.
func AccessTokenHasSuffix ¶
AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field.
func AccessTokenIn ¶
AccessTokenIn applies the In predicate on the "access_token" field.
func AccessTokenIsNil ¶
AccessTokenIsNil applies the IsNil predicate on the "access_token" field.
func AccessTokenLT ¶
AccessTokenLT applies the LT predicate on the "access_token" field.
func AccessTokenLTE ¶
AccessTokenLTE applies the LTE predicate on the "access_token" field.
func AccessTokenNEQ ¶
AccessTokenNEQ applies the NEQ predicate on the "access_token" field.
func AccessTokenNotIn ¶
AccessTokenNotIn applies the NotIn predicate on the "access_token" field.
func AccessTokenNotNil ¶
AccessTokenNotNil applies the NotNil predicate on the "access_token" field.
func CertClearPassword ¶
CertClearPassword applies equality check predicate on the "cert_clear_password" field. It's identical to CertClearPasswordEQ.
func CertClearPasswordContains ¶
CertClearPasswordContains applies the Contains predicate on the "cert_clear_password" field.
func CertClearPasswordContainsFold ¶
CertClearPasswordContainsFold applies the ContainsFold predicate on the "cert_clear_password" field.
func CertClearPasswordEQ ¶
CertClearPasswordEQ applies the EQ predicate on the "cert_clear_password" field.
func CertClearPasswordEqualFold ¶
CertClearPasswordEqualFold applies the EqualFold predicate on the "cert_clear_password" field.
func CertClearPasswordGT ¶
CertClearPasswordGT applies the GT predicate on the "cert_clear_password" field.
func CertClearPasswordGTE ¶
CertClearPasswordGTE applies the GTE predicate on the "cert_clear_password" field.
func CertClearPasswordHasPrefix ¶
CertClearPasswordHasPrefix applies the HasPrefix predicate on the "cert_clear_password" field.
func CertClearPasswordHasSuffix ¶
CertClearPasswordHasSuffix applies the HasSuffix predicate on the "cert_clear_password" field.
func CertClearPasswordIn ¶
CertClearPasswordIn applies the In predicate on the "cert_clear_password" field.
func CertClearPasswordIsNil ¶
CertClearPasswordIsNil applies the IsNil predicate on the "cert_clear_password" field.
func CertClearPasswordLT ¶
CertClearPasswordLT applies the LT predicate on the "cert_clear_password" field.
func CertClearPasswordLTE ¶
CertClearPasswordLTE applies the LTE predicate on the "cert_clear_password" field.
func CertClearPasswordNEQ ¶
CertClearPasswordNEQ applies the NEQ predicate on the "cert_clear_password" field.
func CertClearPasswordNotIn ¶
CertClearPasswordNotIn applies the NotIn predicate on the "cert_clear_password" field.
func CertClearPasswordNotNil ¶
CertClearPasswordNotNil applies the NotNil predicate on the "cert_clear_password" field.
func Country ¶
Country applies equality check predicate on the "country" field. It's identical to CountryEQ.
func CountryContains ¶
CountryContains applies the Contains predicate on the "country" field.
func CountryContainsFold ¶
CountryContainsFold applies the ContainsFold predicate on the "country" field.
func CountryEqualFold ¶
CountryEqualFold applies the EqualFold predicate on the "country" field.
func CountryGTE ¶
CountryGTE applies the GTE predicate on the "country" field.
func CountryHasPrefix ¶
CountryHasPrefix applies the HasPrefix predicate on the "country" field.
func CountryHasSuffix ¶
CountryHasSuffix applies the HasSuffix predicate on the "country" field.
func CountryIsNil ¶
CountryIsNil applies the IsNil predicate on the "country" field.
func CountryLTE ¶
CountryLTE applies the LTE predicate on the "country" field.
func CountryNEQ ¶
CountryNEQ applies the NEQ predicate on the "country" field.
func CountryNotIn ¶
CountryNotIn applies the NotIn predicate on the "country" field.
func CountryNotNil ¶
CountryNotNil applies the NotNil predicate on the "country" field.
func Created ¶
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedGTE ¶
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedIsNil ¶
CreatedIsNil applies the IsNil predicate on the "created" field.
func CreatedLTE ¶
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
CreatedNotIn applies the NotIn predicate on the "created" field.
func CreatedNotNil ¶
CreatedNotNil applies the NotNil predicate on the "created" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func EmailVerified ¶
EmailVerified applies equality check predicate on the "email_verified" field. It's identical to EmailVerifiedEQ.
func EmailVerifiedEQ ¶
EmailVerifiedEQ applies the EQ predicate on the "email_verified" field.
func EmailVerifiedNEQ ¶
EmailVerifiedNEQ applies the NEQ predicate on the "email_verified" field.
func Expiry ¶
Expiry applies equality check predicate on the "expiry" field. It's identical to ExpiryEQ.
func ExpiryIsNil ¶
ExpiryIsNil applies the IsNil predicate on the "expiry" field.
func ExpiryNotIn ¶
ExpiryNotIn applies the NotIn predicate on the "expiry" field.
func ExpiryNotNil ¶
ExpiryNotNil applies the NotNil predicate on the "expiry" field.
func ForgotPasswordCode ¶
ForgotPasswordCode applies equality check predicate on the "forgot_password_code" field. It's identical to ForgotPasswordCodeEQ.
func ForgotPasswordCodeContains ¶
ForgotPasswordCodeContains applies the Contains predicate on the "forgot_password_code" field.
func ForgotPasswordCodeContainsFold ¶
ForgotPasswordCodeContainsFold applies the ContainsFold predicate on the "forgot_password_code" field.
func ForgotPasswordCodeEQ ¶
ForgotPasswordCodeEQ applies the EQ predicate on the "forgot_password_code" field.
func ForgotPasswordCodeEqualFold ¶
ForgotPasswordCodeEqualFold applies the EqualFold predicate on the "forgot_password_code" field.
func ForgotPasswordCodeExpiresAt ¶
ForgotPasswordCodeExpiresAt applies equality check predicate on the "forgot_password_code_expires_at" field. It's identical to ForgotPasswordCodeExpiresAtEQ.
func ForgotPasswordCodeExpiresAtEQ ¶
ForgotPasswordCodeExpiresAtEQ applies the EQ predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeExpiresAtGT ¶
ForgotPasswordCodeExpiresAtGT applies the GT predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeExpiresAtGTE ¶
ForgotPasswordCodeExpiresAtGTE applies the GTE predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeExpiresAtIn ¶
ForgotPasswordCodeExpiresAtIn applies the In predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeExpiresAtIsNil ¶
ForgotPasswordCodeExpiresAtIsNil applies the IsNil predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeExpiresAtLT ¶
ForgotPasswordCodeExpiresAtLT applies the LT predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeExpiresAtLTE ¶
ForgotPasswordCodeExpiresAtLTE applies the LTE predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeExpiresAtNEQ ¶
ForgotPasswordCodeExpiresAtNEQ applies the NEQ predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeExpiresAtNotIn ¶
ForgotPasswordCodeExpiresAtNotIn applies the NotIn predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeExpiresAtNotNil ¶
ForgotPasswordCodeExpiresAtNotNil applies the NotNil predicate on the "forgot_password_code_expires_at" field.
func ForgotPasswordCodeGT ¶
ForgotPasswordCodeGT applies the GT predicate on the "forgot_password_code" field.
func ForgotPasswordCodeGTE ¶
ForgotPasswordCodeGTE applies the GTE predicate on the "forgot_password_code" field.
func ForgotPasswordCodeHasPrefix ¶
ForgotPasswordCodeHasPrefix applies the HasPrefix predicate on the "forgot_password_code" field.
func ForgotPasswordCodeHasSuffix ¶
ForgotPasswordCodeHasSuffix applies the HasSuffix predicate on the "forgot_password_code" field.
func ForgotPasswordCodeIn ¶
ForgotPasswordCodeIn applies the In predicate on the "forgot_password_code" field.
func ForgotPasswordCodeIsNil ¶
ForgotPasswordCodeIsNil applies the IsNil predicate on the "forgot_password_code" field.
func ForgotPasswordCodeLT ¶
ForgotPasswordCodeLT applies the LT predicate on the "forgot_password_code" field.
func ForgotPasswordCodeLTE ¶
ForgotPasswordCodeLTE applies the LTE predicate on the "forgot_password_code" field.
func ForgotPasswordCodeNEQ ¶
ForgotPasswordCodeNEQ applies the NEQ predicate on the "forgot_password_code" field.
func ForgotPasswordCodeNotIn ¶
ForgotPasswordCodeNotIn applies the NotIn predicate on the "forgot_password_code" field.
func ForgotPasswordCodeNotNil ¶
ForgotPasswordCodeNotNil applies the NotNil predicate on the "forgot_password_code" field.
func HasRecoverycodes ¶
HasRecoverycodes applies the HasEdge predicate on the "recoverycodes" edge.
func HasRecoverycodesWith ¶
func HasRecoverycodesWith(preds ...predicate.RecoveryCode) predicate.User
HasRecoverycodesWith applies the HasEdge predicate on the "recoverycodes" edge with a given conditions (other predicates).
func HasSessions ¶
HasSessions applies the HasEdge predicate on the "sessions" edge.
func HasSessionsWith ¶
HasSessionsWith applies the HasEdge predicate on the "sessions" edge with a given conditions (other predicates).
func HashContains ¶
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEqualFold ¶
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashHasPrefix ¶
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func HashNotNil ¶
HashNotNil applies the NotNil predicate on the "hash" field.
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IDToken ¶
IDToken applies equality check predicate on the "id_token" field. It's identical to IDTokenEQ.
func IDTokenContains ¶
IDTokenContains applies the Contains predicate on the "id_token" field.
func IDTokenContainsFold ¶
IDTokenContainsFold applies the ContainsFold predicate on the "id_token" field.
func IDTokenEqualFold ¶
IDTokenEqualFold applies the EqualFold predicate on the "id_token" field.
func IDTokenGTE ¶
IDTokenGTE applies the GTE predicate on the "id_token" field.
func IDTokenHasPrefix ¶
IDTokenHasPrefix applies the HasPrefix predicate on the "id_token" field.
func IDTokenHasSuffix ¶
IDTokenHasSuffix applies the HasSuffix predicate on the "id_token" field.
func IDTokenIsNil ¶
IDTokenIsNil applies the IsNil predicate on the "id_token" field.
func IDTokenLTE ¶
IDTokenLTE applies the LTE predicate on the "id_token" field.
func IDTokenNEQ ¶
IDTokenNEQ applies the NEQ predicate on the "id_token" field.
func IDTokenNotIn ¶
IDTokenNotIn applies the NotIn predicate on the "id_token" field.
func IDTokenNotNil ¶
IDTokenNotNil applies the NotNil predicate on the "id_token" field.
func Modified ¶
Modified applies equality check predicate on the "modified" field. It's identical to ModifiedEQ.
func ModifiedEQ ¶
ModifiedEQ applies the EQ predicate on the "modified" field.
func ModifiedGT ¶
ModifiedGT applies the GT predicate on the "modified" field.
func ModifiedGTE ¶
ModifiedGTE applies the GTE predicate on the "modified" field.
func ModifiedIn ¶
ModifiedIn applies the In predicate on the "modified" field.
func ModifiedIsNil ¶
ModifiedIsNil applies the IsNil predicate on the "modified" field.
func ModifiedLT ¶
ModifiedLT applies the LT predicate on the "modified" field.
func ModifiedLTE ¶
ModifiedLTE applies the LTE predicate on the "modified" field.
func ModifiedNEQ ¶
ModifiedNEQ applies the NEQ predicate on the "modified" field.
func ModifiedNotIn ¶
ModifiedNotIn applies the NotIn predicate on the "modified" field.
func ModifiedNotNil ¶
ModifiedNotNil applies the NotNil predicate on the "modified" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NewUserToken ¶
NewUserToken applies equality check predicate on the "new_user_token" field. It's identical to NewUserTokenEQ.
func NewUserTokenContains ¶
NewUserTokenContains applies the Contains predicate on the "new_user_token" field.
func NewUserTokenContainsFold ¶
NewUserTokenContainsFold applies the ContainsFold predicate on the "new_user_token" field.
func NewUserTokenEQ ¶
NewUserTokenEQ applies the EQ predicate on the "new_user_token" field.
func NewUserTokenEqualFold ¶
NewUserTokenEqualFold applies the EqualFold predicate on the "new_user_token" field.
func NewUserTokenGT ¶
NewUserTokenGT applies the GT predicate on the "new_user_token" field.
func NewUserTokenGTE ¶
NewUserTokenGTE applies the GTE predicate on the "new_user_token" field.
func NewUserTokenHasPrefix ¶
NewUserTokenHasPrefix applies the HasPrefix predicate on the "new_user_token" field.
func NewUserTokenHasSuffix ¶
NewUserTokenHasSuffix applies the HasSuffix predicate on the "new_user_token" field.
func NewUserTokenIn ¶
NewUserTokenIn applies the In predicate on the "new_user_token" field.
func NewUserTokenIsNil ¶
NewUserTokenIsNil applies the IsNil predicate on the "new_user_token" field.
func NewUserTokenLT ¶
NewUserTokenLT applies the LT predicate on the "new_user_token" field.
func NewUserTokenLTE ¶
NewUserTokenLTE applies the LTE predicate on the "new_user_token" field.
func NewUserTokenNEQ ¶
NewUserTokenNEQ applies the NEQ predicate on the "new_user_token" field.
func NewUserTokenNotIn ¶
NewUserTokenNotIn applies the NotIn predicate on the "new_user_token" field.
func NewUserTokenNotNil ¶
NewUserTokenNotNil applies the NotNil predicate on the "new_user_token" field.
func Openid ¶
Openid applies equality check predicate on the "openid" field. It's identical to OpenidEQ.
func OpenidIsNil ¶
OpenidIsNil applies the IsNil predicate on the "openid" field.
func OpenidNotNil ¶
OpenidNotNil applies the NotNil predicate on the "openid" field.
func Passwd ¶
Passwd applies equality check predicate on the "passwd" field. It's identical to PasswdEQ.
func PasswdIsNil ¶
PasswdIsNil applies the IsNil predicate on the "passwd" field.
func PasswdNotNil ¶
PasswdNotNil applies the NotNil predicate on the "passwd" field.
func Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneIsNil ¶
PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotNil ¶
PhoneNotNil applies the NotNil predicate on the "phone" field.
func RefreshToken ¶
RefreshToken applies equality check predicate on the "refresh_token" field. It's identical to RefreshTokenEQ.
func RefreshTokenContains ¶
RefreshTokenContains applies the Contains predicate on the "refresh_token" field.
func RefreshTokenContainsFold ¶
RefreshTokenContainsFold applies the ContainsFold predicate on the "refresh_token" field.
func RefreshTokenEQ ¶
RefreshTokenEQ applies the EQ predicate on the "refresh_token" field.
func RefreshTokenEqualFold ¶
RefreshTokenEqualFold applies the EqualFold predicate on the "refresh_token" field.
func RefreshTokenGT ¶
RefreshTokenGT applies the GT predicate on the "refresh_token" field.
func RefreshTokenGTE ¶
RefreshTokenGTE applies the GTE predicate on the "refresh_token" field.
func RefreshTokenHasPrefix ¶
RefreshTokenHasPrefix applies the HasPrefix predicate on the "refresh_token" field.
func RefreshTokenHasSuffix ¶
RefreshTokenHasSuffix applies the HasSuffix predicate on the "refresh_token" field.
func RefreshTokenIn ¶
RefreshTokenIn applies the In predicate on the "refresh_token" field.
func RefreshTokenIsNil ¶
RefreshTokenIsNil applies the IsNil predicate on the "refresh_token" field.
func RefreshTokenLT ¶
RefreshTokenLT applies the LT predicate on the "refresh_token" field.
func RefreshTokenLTE ¶
RefreshTokenLTE applies the LTE predicate on the "refresh_token" field.
func RefreshTokenNEQ ¶
RefreshTokenNEQ applies the NEQ predicate on the "refresh_token" field.
func RefreshTokenNotIn ¶
RefreshTokenNotIn applies the NotIn predicate on the "refresh_token" field.
func RefreshTokenNotNil ¶
RefreshTokenNotNil applies the NotNil predicate on the "refresh_token" field.
func Register ¶
Register applies equality check predicate on the "register" field. It's identical to RegisterEQ.
func RegisterContains ¶
RegisterContains applies the Contains predicate on the "register" field.
func RegisterContainsFold ¶
RegisterContainsFold applies the ContainsFold predicate on the "register" field.
func RegisterEQ ¶
RegisterEQ applies the EQ predicate on the "register" field.
func RegisterEqualFold ¶
RegisterEqualFold applies the EqualFold predicate on the "register" field.
func RegisterGT ¶
RegisterGT applies the GT predicate on the "register" field.
func RegisterGTE ¶
RegisterGTE applies the GTE predicate on the "register" field.
func RegisterHasPrefix ¶
RegisterHasPrefix applies the HasPrefix predicate on the "register" field.
func RegisterHasSuffix ¶
RegisterHasSuffix applies the HasSuffix predicate on the "register" field.
func RegisterIn ¶
RegisterIn applies the In predicate on the "register" field.
func RegisterLT ¶
RegisterLT applies the LT predicate on the "register" field.
func RegisterLTE ¶
RegisterLTE applies the LTE predicate on the "register" field.
func RegisterNEQ ¶
RegisterNEQ applies the NEQ predicate on the "register" field.
func RegisterNotIn ¶
RegisterNotIn applies the NotIn predicate on the "register" field.
func TokenExpiry ¶
TokenExpiry applies equality check predicate on the "token_expiry" field. It's identical to TokenExpiryEQ.
func TokenExpiryEQ ¶
TokenExpiryEQ applies the EQ predicate on the "token_expiry" field.
func TokenExpiryGT ¶
TokenExpiryGT applies the GT predicate on the "token_expiry" field.
func TokenExpiryGTE ¶
TokenExpiryGTE applies the GTE predicate on the "token_expiry" field.
func TokenExpiryIn ¶
TokenExpiryIn applies the In predicate on the "token_expiry" field.
func TokenExpiryIsNil ¶
TokenExpiryIsNil applies the IsNil predicate on the "token_expiry" field.
func TokenExpiryLT ¶
TokenExpiryLT applies the LT predicate on the "token_expiry" field.
func TokenExpiryLTE ¶
TokenExpiryLTE applies the LTE predicate on the "token_expiry" field.
func TokenExpiryNEQ ¶
TokenExpiryNEQ applies the NEQ predicate on the "token_expiry" field.
func TokenExpiryNotIn ¶
TokenExpiryNotIn applies the NotIn predicate on the "token_expiry" field.
func TokenExpiryNotNil ¶
TokenExpiryNotNil applies the NotNil predicate on the "token_expiry" field.
func TokenType ¶
TokenType applies equality check predicate on the "token_type" field. It's identical to TokenTypeEQ.
func TokenTypeContains ¶
TokenTypeContains applies the Contains predicate on the "token_type" field.
func TokenTypeContainsFold ¶
TokenTypeContainsFold applies the ContainsFold predicate on the "token_type" field.
func TokenTypeEQ ¶
TokenTypeEQ applies the EQ predicate on the "token_type" field.
func TokenTypeEqualFold ¶
TokenTypeEqualFold applies the EqualFold predicate on the "token_type" field.
func TokenTypeGT ¶
TokenTypeGT applies the GT predicate on the "token_type" field.
func TokenTypeGTE ¶
TokenTypeGTE applies the GTE predicate on the "token_type" field.
func TokenTypeHasPrefix ¶
TokenTypeHasPrefix applies the HasPrefix predicate on the "token_type" field.
func TokenTypeHasSuffix ¶
TokenTypeHasSuffix applies the HasSuffix predicate on the "token_type" field.
func TokenTypeIn ¶
TokenTypeIn applies the In predicate on the "token_type" field.
func TokenTypeIsNil ¶
TokenTypeIsNil applies the IsNil predicate on the "token_type" field.
func TokenTypeLT ¶
TokenTypeLT applies the LT predicate on the "token_type" field.
func TokenTypeLTE ¶
TokenTypeLTE applies the LTE predicate on the "token_type" field.
func TokenTypeNEQ ¶
TokenTypeNEQ applies the NEQ predicate on the "token_type" field.
func TokenTypeNotIn ¶
TokenTypeNotIn applies the NotIn predicate on the "token_type" field.
func TokenTypeNotNil ¶
TokenTypeNotNil applies the NotNil predicate on the "token_type" field.
func TotpSecret ¶
TotpSecret applies equality check predicate on the "totp_secret" field. It's identical to TotpSecretEQ.
func TotpSecretConfirmed ¶
TotpSecretConfirmed applies equality check predicate on the "totp_secret_confirmed" field. It's identical to TotpSecretConfirmedEQ.
func TotpSecretConfirmedEQ ¶
TotpSecretConfirmedEQ applies the EQ predicate on the "totp_secret_confirmed" field.
func TotpSecretConfirmedIsNil ¶
TotpSecretConfirmedIsNil applies the IsNil predicate on the "totp_secret_confirmed" field.
func TotpSecretConfirmedNEQ ¶
TotpSecretConfirmedNEQ applies the NEQ predicate on the "totp_secret_confirmed" field.
func TotpSecretConfirmedNotNil ¶
TotpSecretConfirmedNotNil applies the NotNil predicate on the "totp_secret_confirmed" field.
func TotpSecretContains ¶
TotpSecretContains applies the Contains predicate on the "totp_secret" field.
func TotpSecretContainsFold ¶
TotpSecretContainsFold applies the ContainsFold predicate on the "totp_secret" field.
func TotpSecretEQ ¶
TotpSecretEQ applies the EQ predicate on the "totp_secret" field.
func TotpSecretEqualFold ¶
TotpSecretEqualFold applies the EqualFold predicate on the "totp_secret" field.
func TotpSecretGT ¶
TotpSecretGT applies the GT predicate on the "totp_secret" field.
func TotpSecretGTE ¶
TotpSecretGTE applies the GTE predicate on the "totp_secret" field.
func TotpSecretHasPrefix ¶
TotpSecretHasPrefix applies the HasPrefix predicate on the "totp_secret" field.
func TotpSecretHasSuffix ¶
TotpSecretHasSuffix applies the HasSuffix predicate on the "totp_secret" field.
func TotpSecretIn ¶
TotpSecretIn applies the In predicate on the "totp_secret" field.
func TotpSecretIsNil ¶
TotpSecretIsNil applies the IsNil predicate on the "totp_secret" field.
func TotpSecretLT ¶
TotpSecretLT applies the LT predicate on the "totp_secret" field.
func TotpSecretLTE ¶
TotpSecretLTE applies the LTE predicate on the "totp_secret" field.
func TotpSecretNEQ ¶
TotpSecretNEQ applies the NEQ predicate on the "totp_secret" field.
func TotpSecretNotIn ¶
TotpSecretNotIn applies the NotIn predicate on the "totp_secret" field.
func TotpSecretNotNil ¶
TotpSecretNotNil applies the NotNil predicate on the "totp_secret" field.
func Use2fa ¶
Use2fa applies equality check predicate on the "use2fa" field. It's identical to Use2faEQ.
func Use2faIsNil ¶
Use2faIsNil applies the IsNil predicate on the "use2fa" field.
func Use2faNotNil ¶
Use2faNotNil applies the NotNil predicate on the "use2fa" 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 User queries.
func ByAccessToken ¶
func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
ByAccessToken orders the results by the access_token field.
func ByCertClearPassword ¶
func ByCertClearPassword(opts ...sql.OrderTermOption) OrderOption
ByCertClearPassword orders the results by the cert_clear_password field.
func ByCountry ¶
func ByCountry(opts ...sql.OrderTermOption) OrderOption
ByCountry orders the results by the country field.
func ByCreated ¶
func ByCreated(opts ...sql.OrderTermOption) OrderOption
ByCreated orders the results by the created field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByEmailVerified ¶
func ByEmailVerified(opts ...sql.OrderTermOption) OrderOption
ByEmailVerified orders the results by the email_verified field.
func ByExpiry ¶
func ByExpiry(opts ...sql.OrderTermOption) OrderOption
ByExpiry orders the results by the expiry field.
func ByForgotPasswordCode ¶
func ByForgotPasswordCode(opts ...sql.OrderTermOption) OrderOption
ByForgotPasswordCode orders the results by the forgot_password_code field.
func ByForgotPasswordCodeExpiresAt ¶
func ByForgotPasswordCodeExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByForgotPasswordCodeExpiresAt orders the results by the forgot_password_code_expires_at field.
func ByHash ¶
func ByHash(opts ...sql.OrderTermOption) OrderOption
ByHash orders the results by the hash field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIDToken ¶
func ByIDToken(opts ...sql.OrderTermOption) OrderOption
ByIDToken orders the results by the id_token field.
func ByModified ¶
func ByModified(opts ...sql.OrderTermOption) OrderOption
ByModified orders the results by the modified field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNewUserToken ¶
func ByNewUserToken(opts ...sql.OrderTermOption) OrderOption
ByNewUserToken orders the results by the new_user_token field.
func ByOpenid ¶
func ByOpenid(opts ...sql.OrderTermOption) OrderOption
ByOpenid orders the results by the openid field.
func ByPasswd ¶
func ByPasswd(opts ...sql.OrderTermOption) OrderOption
ByPasswd orders the results by the passwd field.
func ByPhone ¶
func ByPhone(opts ...sql.OrderTermOption) OrderOption
ByPhone orders the results by the phone field.
func ByRecoverycodes ¶
func ByRecoverycodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRecoverycodes orders the results by recoverycodes terms.
func ByRecoverycodesCount ¶
func ByRecoverycodesCount(opts ...sql.OrderTermOption) OrderOption
ByRecoverycodesCount orders the results by recoverycodes count.
func ByRefreshToken ¶
func ByRefreshToken(opts ...sql.OrderTermOption) OrderOption
ByRefreshToken orders the results by the refresh_token field.
func ByRegister ¶
func ByRegister(opts ...sql.OrderTermOption) OrderOption
ByRegister orders the results by the register field.
func BySessions ¶
func BySessions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySessions orders the results by sessions terms.
func BySessionsCount ¶
func BySessionsCount(opts ...sql.OrderTermOption) OrderOption
BySessionsCount orders the results by sessions count.
func ByTokenExpiry ¶
func ByTokenExpiry(opts ...sql.OrderTermOption) OrderOption
ByTokenExpiry orders the results by the token_expiry field.
func ByTokenType ¶
func ByTokenType(opts ...sql.OrderTermOption) OrderOption
ByTokenType orders the results by the token_type field.
func ByTotpSecret ¶
func ByTotpSecret(opts ...sql.OrderTermOption) OrderOption
ByTotpSecret orders the results by the totp_secret field.
func ByTotpSecretConfirmed ¶
func ByTotpSecretConfirmed(opts ...sql.OrderTermOption) OrderOption
ByTotpSecretConfirmed orders the results by the totp_secret_confirmed field.
func ByUse2fa ¶
func ByUse2fa(opts ...sql.OrderTermOption) OrderOption
ByUse2fa orders the results by the use2fa field.