Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func CreatedAt(v time.Time) predicate.User
- func CreatedAtEQ(v time.Time) predicate.User
- func CreatedAtGT(v time.Time) predicate.User
- func CreatedAtGTE(v time.Time) predicate.User
- func CreatedAtIn(vs ...time.Time) predicate.User
- func CreatedAtLT(v time.Time) predicate.User
- func CreatedAtLTE(v time.Time) predicate.User
- func CreatedAtNEQ(v time.Time) predicate.User
- func CreatedAtNotIn(vs ...time.Time) 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 EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func EmailProvenAt(v time.Time) predicate.User
- func EmailProvenAtEQ(v time.Time) predicate.User
- func EmailProvenAtGT(v time.Time) predicate.User
- func EmailProvenAtGTE(v time.Time) predicate.User
- func EmailProvenAtIn(vs ...time.Time) predicate.User
- func EmailProvenAtIsNil() predicate.User
- func EmailProvenAtLT(v time.Time) predicate.User
- func EmailProvenAtLTE(v time.Time) predicate.User
- func EmailProvenAtNEQ(v time.Time) predicate.User
- func EmailProvenAtNotIn(vs ...time.Time) predicate.User
- func EmailProvenAtNotNil() predicate.User
- func EmailVerifiedAt(v time.Time) predicate.User
- func EmailVerifiedAtEQ(v time.Time) predicate.User
- func EmailVerifiedAtGT(v time.Time) predicate.User
- func EmailVerifiedAtGTE(v time.Time) predicate.User
- func EmailVerifiedAtIn(vs ...time.Time) predicate.User
- func EmailVerifiedAtIsNil() predicate.User
- func EmailVerifiedAtLT(v time.Time) predicate.User
- func EmailVerifiedAtLTE(v time.Time) predicate.User
- func EmailVerifiedAtNEQ(v time.Time) predicate.User
- func EmailVerifiedAtNotIn(vs ...time.Time) predicate.User
- func EmailVerifiedAtNotNil() predicate.User
- func HasIdentities() predicate.User
- func HasIdentitiesWith(preds ...predicate.UserIdentity) predicate.User
- func HasMemberships() predicate.User
- func HasMembershipsWith(preds ...predicate.Membership) predicate.User
- func HasPasskeys() predicate.User
- func HasPasskeysWith(preds ...predicate.Passkey) predicate.User
- func HasRecoveryCodes() predicate.User
- func HasRecoveryCodesWith(preds ...predicate.RecoveryCode) predicate.User
- func HasSentInvitations() predicate.User
- func HasSentInvitationsWith(preds ...predicate.Invitation) predicate.User
- func HasSignupSurveyResponse() predicate.User
- func HasSignupSurveyResponseWith(preds ...predicate.SignupSurveyResponse) predicate.User
- func ID(id int64) predicate.User
- func IDEQ(id int64) predicate.User
- func IDGT(id int64) predicate.User
- func IDGTE(id int64) predicate.User
- func IDIn(ids ...int64) predicate.User
- func IDLT(id int64) predicate.User
- func IDLTE(id int64) predicate.User
- func IDNEQ(id int64) predicate.User
- func IDNotIn(ids ...int64) 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 Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func PasswordHash(v string) predicate.User
- func PasswordHashContains(v string) predicate.User
- func PasswordHashContainsFold(v string) predicate.User
- func PasswordHashEQ(v string) predicate.User
- func PasswordHashEqualFold(v string) predicate.User
- func PasswordHashGT(v string) predicate.User
- func PasswordHashGTE(v string) predicate.User
- func PasswordHashHasPrefix(v string) predicate.User
- func PasswordHashHasSuffix(v string) predicate.User
- func PasswordHashIn(vs ...string) predicate.User
- func PasswordHashIsNil() predicate.User
- func PasswordHashLT(v string) predicate.User
- func PasswordHashLTE(v string) predicate.User
- func PasswordHashNEQ(v string) predicate.User
- func PasswordHashNotIn(vs ...string) predicate.User
- func PasswordHashNotNil() predicate.User
- func SecondFactorConfirmedAt(v time.Time) predicate.User
- func SecondFactorConfirmedAtEQ(v time.Time) predicate.User
- func SecondFactorConfirmedAtGT(v time.Time) predicate.User
- func SecondFactorConfirmedAtGTE(v time.Time) predicate.User
- func SecondFactorConfirmedAtIn(vs ...time.Time) predicate.User
- func SecondFactorConfirmedAtIsNil() predicate.User
- func SecondFactorConfirmedAtLT(v time.Time) predicate.User
- func SecondFactorConfirmedAtLTE(v time.Time) predicate.User
- func SecondFactorConfirmedAtNEQ(v time.Time) predicate.User
- func SecondFactorConfirmedAtNotIn(vs ...time.Time) predicate.User
- func SecondFactorConfirmedAtNotNil() predicate.User
- func SecondFactorLastStep(v int64) predicate.User
- func SecondFactorLastStepEQ(v int64) predicate.User
- func SecondFactorLastStepGT(v int64) predicate.User
- func SecondFactorLastStepGTE(v int64) predicate.User
- func SecondFactorLastStepIn(vs ...int64) predicate.User
- func SecondFactorLastStepLT(v int64) predicate.User
- func SecondFactorLastStepLTE(v int64) predicate.User
- func SecondFactorLastStepNEQ(v int64) predicate.User
- func SecondFactorLastStepNotIn(vs ...int64) predicate.User
- func SecondFactorSecretEncrypted(v string) predicate.User
- func SecondFactorSecretEncryptedContains(v string) predicate.User
- func SecondFactorSecretEncryptedContainsFold(v string) predicate.User
- func SecondFactorSecretEncryptedEQ(v string) predicate.User
- func SecondFactorSecretEncryptedEqualFold(v string) predicate.User
- func SecondFactorSecretEncryptedGT(v string) predicate.User
- func SecondFactorSecretEncryptedGTE(v string) predicate.User
- func SecondFactorSecretEncryptedHasPrefix(v string) predicate.User
- func SecondFactorSecretEncryptedHasSuffix(v string) predicate.User
- func SecondFactorSecretEncryptedIn(vs ...string) predicate.User
- func SecondFactorSecretEncryptedIsNil() predicate.User
- func SecondFactorSecretEncryptedLT(v string) predicate.User
- func SecondFactorSecretEncryptedLTE(v string) predicate.User
- func SecondFactorSecretEncryptedNEQ(v string) predicate.User
- func SecondFactorSecretEncryptedNotIn(vs ...string) predicate.User
- func SecondFactorSecretEncryptedNotNil() predicate.User
- func SessionEpoch(v int64) predicate.User
- func SessionEpochEQ(v int64) predicate.User
- func SessionEpochGT(v int64) predicate.User
- func SessionEpochGTE(v int64) predicate.User
- func SessionEpochIn(vs ...int64) predicate.User
- func SessionEpochLT(v int64) predicate.User
- func SessionEpochLTE(v int64) predicate.User
- func SessionEpochNEQ(v int64) predicate.User
- func SessionEpochNotIn(vs ...int64) predicate.User
- func SignupSurveyDueAt(v time.Time) predicate.User
- func SignupSurveyDueAtEQ(v time.Time) predicate.User
- func SignupSurveyDueAtGT(v time.Time) predicate.User
- func SignupSurveyDueAtGTE(v time.Time) predicate.User
- func SignupSurveyDueAtIn(vs ...time.Time) predicate.User
- func SignupSurveyDueAtIsNil() predicate.User
- func SignupSurveyDueAtLT(v time.Time) predicate.User
- func SignupSurveyDueAtLTE(v time.Time) predicate.User
- func SignupSurveyDueAtNEQ(v time.Time) predicate.User
- func SignupSurveyDueAtNotIn(vs ...time.Time) predicate.User
- func SignupSurveyDueAtNotNil() predicate.User
- func UpdatedAt(v time.Time) predicate.User
- func UpdatedAtEQ(v time.Time) predicate.User
- func UpdatedAtGT(v time.Time) predicate.User
- func UpdatedAtGTE(v time.Time) predicate.User
- func UpdatedAtIn(vs ...time.Time) predicate.User
- func UpdatedAtLT(v time.Time) predicate.User
- func UpdatedAtLTE(v time.Time) predicate.User
- func UpdatedAtNEQ(v time.Time) predicate.User
- func UpdatedAtNotIn(vs ...time.Time) predicate.User
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEmailProvenAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmailVerifiedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdentities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIdentitiesCount(opts ...sql.OrderTermOption) OrderOption
- func ByMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembershipsCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPasskeys(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPasskeysCount(opts ...sql.OrderTermOption) OrderOption
- func ByPasswordHash(opts ...sql.OrderTermOption) OrderOption
- func ByRecoveryCodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRecoveryCodesCount(opts ...sql.OrderTermOption) OrderOption
- func BySecondFactorConfirmedAt(opts ...sql.OrderTermOption) OrderOption
- func BySecondFactorLastStep(opts ...sql.OrderTermOption) OrderOption
- func BySecondFactorSecretEncrypted(opts ...sql.OrderTermOption) OrderOption
- func BySentInvitations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySentInvitationsCount(opts ...sql.OrderTermOption) OrderOption
- func BySessionEpoch(opts ...sql.OrderTermOption) OrderOption
- func BySignupSurveyDueAt(opts ...sql.OrderTermOption) OrderOption
- func BySignupSurveyResponseField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(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 = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // 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" // FieldPasswordHash holds the string denoting the password_hash field in the database. FieldPasswordHash = "password_hash" // FieldEmailVerifiedAt holds the string denoting the email_verified_at field in the database. FieldEmailVerifiedAt = "email_verified_at" // FieldEmailProvenAt holds the string denoting the email_proven_at field in the database. FieldEmailProvenAt = "email_proven_at" // FieldSessionEpoch holds the string denoting the session_epoch field in the database. FieldSessionEpoch = "session_epoch" // FieldSecondFactorSecretEncrypted holds the string denoting the second_factor_secret_encrypted field in the database. FieldSecondFactorSecretEncrypted = "second_factor_secret_encrypted" // FieldSecondFactorConfirmedAt holds the string denoting the second_factor_confirmed_at field in the database. FieldSecondFactorConfirmedAt = "second_factor_confirmed_at" // FieldSecondFactorLastStep holds the string denoting the second_factor_last_step field in the database. FieldSecondFactorLastStep = "second_factor_last_step" // FieldSignupSurveyDueAt holds the string denoting the signup_survey_due_at field in the database. FieldSignupSurveyDueAt = "signup_survey_due_at" // EdgeMemberships holds the string denoting the memberships edge name in mutations. EdgeMemberships = "memberships" // EdgeSentInvitations holds the string denoting the sent_invitations edge name in mutations. EdgeSentInvitations = "sent_invitations" // EdgeRecoveryCodes holds the string denoting the recovery_codes edge name in mutations. EdgeRecoveryCodes = "recovery_codes" // EdgePasskeys holds the string denoting the passkeys edge name in mutations. EdgePasskeys = "passkeys" // EdgeIdentities holds the string denoting the identities edge name in mutations. EdgeIdentities = "identities" // EdgeSignupSurveyResponse holds the string denoting the signup_survey_response edge name in mutations. EdgeSignupSurveyResponse = "signup_survey_response" // Table holds the table name of the user in the database. Table = "users" // MembershipsTable is the table that holds the memberships relation/edge. MembershipsTable = "memberships" // MembershipsInverseTable is the table name for the Membership entity. // It exists in this package in order to avoid circular dependency with the "membership" package. MembershipsInverseTable = "memberships" // MembershipsColumn is the table column denoting the memberships relation/edge. MembershipsColumn = "user_id" // SentInvitationsTable is the table that holds the sent_invitations relation/edge. SentInvitationsTable = "invitations" // SentInvitationsInverseTable is the table name for the Invitation entity. // It exists in this package in order to avoid circular dependency with the "invitation" package. SentInvitationsInverseTable = "invitations" // SentInvitationsColumn is the table column denoting the sent_invitations relation/edge. SentInvitationsColumn = "invited_by" // RecoveryCodesTable is the table that holds the recovery_codes 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 recovery_codes relation/edge. RecoveryCodesColumn = "user_id" // PasskeysTable is the table that holds the passkeys relation/edge. PasskeysTable = "passkeys" // PasskeysInverseTable is the table name for the Passkey entity. // It exists in this package in order to avoid circular dependency with the "passkey" package. PasskeysInverseTable = "passkeys" // PasskeysColumn is the table column denoting the passkeys relation/edge. PasskeysColumn = "user_id" // IdentitiesTable is the table that holds the identities relation/edge. IdentitiesTable = "user_identities" // IdentitiesInverseTable is the table name for the UserIdentity entity. // It exists in this package in order to avoid circular dependency with the "useridentity" package. IdentitiesInverseTable = "user_identities" // IdentitiesColumn is the table column denoting the identities relation/edge. IdentitiesColumn = "user_id" // SignupSurveyResponseTable is the table that holds the signup_survey_response relation/edge. SignupSurveyResponseTable = "signup_survey_responses" // SignupSurveyResponseInverseTable is the table name for the SignupSurveyResponse entity. // It exists in this package in order to avoid circular dependency with the "signupsurveyresponse" package. SignupSurveyResponseInverseTable = "signup_survey_responses" // SignupSurveyResponseColumn is the table column denoting the signup_survey_response relation/edge. SignupSurveyResponseColumn = "user_id" )
Variables ¶
var ( // 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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // DefaultSessionEpoch holds the default value on creation for the "session_epoch" field. DefaultSessionEpoch int64 // DefaultSecondFactorLastStep holds the default value on creation for the "second_factor_last_step" field. DefaultSecondFactorLastStep int64 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldEmail, FieldPasswordHash, FieldEmailVerifiedAt, FieldEmailProvenAt, FieldSessionEpoch, FieldSecondFactorSecretEncrypted, FieldSecondFactorConfirmedAt, FieldSecondFactorLastStep, FieldSignupSurveyDueAt, }
Columns holds all SQL columns for user fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" 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 EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailProvenAt ¶
EmailProvenAt applies equality check predicate on the "email_proven_at" field. It's identical to EmailProvenAtEQ.
func EmailProvenAtEQ ¶
EmailProvenAtEQ applies the EQ predicate on the "email_proven_at" field.
func EmailProvenAtGT ¶
EmailProvenAtGT applies the GT predicate on the "email_proven_at" field.
func EmailProvenAtGTE ¶
EmailProvenAtGTE applies the GTE predicate on the "email_proven_at" field.
func EmailProvenAtIn ¶
EmailProvenAtIn applies the In predicate on the "email_proven_at" field.
func EmailProvenAtIsNil ¶
EmailProvenAtIsNil applies the IsNil predicate on the "email_proven_at" field.
func EmailProvenAtLT ¶
EmailProvenAtLT applies the LT predicate on the "email_proven_at" field.
func EmailProvenAtLTE ¶
EmailProvenAtLTE applies the LTE predicate on the "email_proven_at" field.
func EmailProvenAtNEQ ¶
EmailProvenAtNEQ applies the NEQ predicate on the "email_proven_at" field.
func EmailProvenAtNotIn ¶
EmailProvenAtNotIn applies the NotIn predicate on the "email_proven_at" field.
func EmailProvenAtNotNil ¶
EmailProvenAtNotNil applies the NotNil predicate on the "email_proven_at" field.
func EmailVerifiedAt ¶
EmailVerifiedAt applies equality check predicate on the "email_verified_at" field. It's identical to EmailVerifiedAtEQ.
func EmailVerifiedAtEQ ¶
EmailVerifiedAtEQ applies the EQ predicate on the "email_verified_at" field.
func EmailVerifiedAtGT ¶
EmailVerifiedAtGT applies the GT predicate on the "email_verified_at" field.
func EmailVerifiedAtGTE ¶
EmailVerifiedAtGTE applies the GTE predicate on the "email_verified_at" field.
func EmailVerifiedAtIn ¶
EmailVerifiedAtIn applies the In predicate on the "email_verified_at" field.
func EmailVerifiedAtIsNil ¶
EmailVerifiedAtIsNil applies the IsNil predicate on the "email_verified_at" field.
func EmailVerifiedAtLT ¶
EmailVerifiedAtLT applies the LT predicate on the "email_verified_at" field.
func EmailVerifiedAtLTE ¶
EmailVerifiedAtLTE applies the LTE predicate on the "email_verified_at" field.
func EmailVerifiedAtNEQ ¶
EmailVerifiedAtNEQ applies the NEQ predicate on the "email_verified_at" field.
func EmailVerifiedAtNotIn ¶
EmailVerifiedAtNotIn applies the NotIn predicate on the "email_verified_at" field.
func EmailVerifiedAtNotNil ¶
EmailVerifiedAtNotNil applies the NotNil predicate on the "email_verified_at" field.
func HasIdentities ¶
HasIdentities applies the HasEdge predicate on the "identities" edge.
func HasIdentitiesWith ¶
func HasIdentitiesWith(preds ...predicate.UserIdentity) predicate.User
HasIdentitiesWith applies the HasEdge predicate on the "identities" edge with a given conditions (other predicates).
func HasMemberships ¶
HasMemberships applies the HasEdge predicate on the "memberships" edge.
func HasMembershipsWith ¶
func HasMembershipsWith(preds ...predicate.Membership) predicate.User
HasMembershipsWith applies the HasEdge predicate on the "memberships" edge with a given conditions (other predicates).
func HasPasskeys ¶
HasPasskeys applies the HasEdge predicate on the "passkeys" edge.
func HasPasskeysWith ¶
HasPasskeysWith applies the HasEdge predicate on the "passkeys" edge with a given conditions (other predicates).
func HasRecoveryCodes ¶
HasRecoveryCodes applies the HasEdge predicate on the "recovery_codes" edge.
func HasRecoveryCodesWith ¶
func HasRecoveryCodesWith(preds ...predicate.RecoveryCode) predicate.User
HasRecoveryCodesWith applies the HasEdge predicate on the "recovery_codes" edge with a given conditions (other predicates).
func HasSentInvitations ¶
HasSentInvitations applies the HasEdge predicate on the "sent_invitations" edge.
func HasSentInvitationsWith ¶
func HasSentInvitationsWith(preds ...predicate.Invitation) predicate.User
HasSentInvitationsWith applies the HasEdge predicate on the "sent_invitations" edge with a given conditions (other predicates).
func HasSignupSurveyResponse ¶
HasSignupSurveyResponse applies the HasEdge predicate on the "signup_survey_response" edge.
func HasSignupSurveyResponseWith ¶
func HasSignupSurveyResponseWith(preds ...predicate.SignupSurveyResponse) predicate.User
HasSignupSurveyResponseWith applies the HasEdge predicate on the "signup_survey_response" edge with a given conditions (other predicates).
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 PasswordHash ¶
PasswordHash applies equality check predicate on the "password_hash" field. It's identical to PasswordHashEQ.
func PasswordHashContains ¶
PasswordHashContains applies the Contains predicate on the "password_hash" field.
func PasswordHashContainsFold ¶
PasswordHashContainsFold applies the ContainsFold predicate on the "password_hash" field.
func PasswordHashEQ ¶
PasswordHashEQ applies the EQ predicate on the "password_hash" field.
func PasswordHashEqualFold ¶
PasswordHashEqualFold applies the EqualFold predicate on the "password_hash" field.
func PasswordHashGT ¶
PasswordHashGT applies the GT predicate on the "password_hash" field.
func PasswordHashGTE ¶
PasswordHashGTE applies the GTE predicate on the "password_hash" field.
func PasswordHashHasPrefix ¶
PasswordHashHasPrefix applies the HasPrefix predicate on the "password_hash" field.
func PasswordHashHasSuffix ¶
PasswordHashHasSuffix applies the HasSuffix predicate on the "password_hash" field.
func PasswordHashIn ¶
PasswordHashIn applies the In predicate on the "password_hash" field.
func PasswordHashIsNil ¶
PasswordHashIsNil applies the IsNil predicate on the "password_hash" field.
func PasswordHashLT ¶
PasswordHashLT applies the LT predicate on the "password_hash" field.
func PasswordHashLTE ¶
PasswordHashLTE applies the LTE predicate on the "password_hash" field.
func PasswordHashNEQ ¶
PasswordHashNEQ applies the NEQ predicate on the "password_hash" field.
func PasswordHashNotIn ¶
PasswordHashNotIn applies the NotIn predicate on the "password_hash" field.
func PasswordHashNotNil ¶
PasswordHashNotNil applies the NotNil predicate on the "password_hash" field.
func SecondFactorConfirmedAt ¶
SecondFactorConfirmedAt applies equality check predicate on the "second_factor_confirmed_at" field. It's identical to SecondFactorConfirmedAtEQ.
func SecondFactorConfirmedAtEQ ¶
SecondFactorConfirmedAtEQ applies the EQ predicate on the "second_factor_confirmed_at" field.
func SecondFactorConfirmedAtGT ¶
SecondFactorConfirmedAtGT applies the GT predicate on the "second_factor_confirmed_at" field.
func SecondFactorConfirmedAtGTE ¶
SecondFactorConfirmedAtGTE applies the GTE predicate on the "second_factor_confirmed_at" field.
func SecondFactorConfirmedAtIn ¶
SecondFactorConfirmedAtIn applies the In predicate on the "second_factor_confirmed_at" field.
func SecondFactorConfirmedAtIsNil ¶
SecondFactorConfirmedAtIsNil applies the IsNil predicate on the "second_factor_confirmed_at" field.
func SecondFactorConfirmedAtLT ¶
SecondFactorConfirmedAtLT applies the LT predicate on the "second_factor_confirmed_at" field.
func SecondFactorConfirmedAtLTE ¶
SecondFactorConfirmedAtLTE applies the LTE predicate on the "second_factor_confirmed_at" field.
func SecondFactorConfirmedAtNEQ ¶
SecondFactorConfirmedAtNEQ applies the NEQ predicate on the "second_factor_confirmed_at" field.
func SecondFactorConfirmedAtNotIn ¶
SecondFactorConfirmedAtNotIn applies the NotIn predicate on the "second_factor_confirmed_at" field.
func SecondFactorConfirmedAtNotNil ¶
SecondFactorConfirmedAtNotNil applies the NotNil predicate on the "second_factor_confirmed_at" field.
func SecondFactorLastStep ¶
SecondFactorLastStep applies equality check predicate on the "second_factor_last_step" field. It's identical to SecondFactorLastStepEQ.
func SecondFactorLastStepEQ ¶
SecondFactorLastStepEQ applies the EQ predicate on the "second_factor_last_step" field.
func SecondFactorLastStepGT ¶
SecondFactorLastStepGT applies the GT predicate on the "second_factor_last_step" field.
func SecondFactorLastStepGTE ¶
SecondFactorLastStepGTE applies the GTE predicate on the "second_factor_last_step" field.
func SecondFactorLastStepIn ¶
SecondFactorLastStepIn applies the In predicate on the "second_factor_last_step" field.
func SecondFactorLastStepLT ¶
SecondFactorLastStepLT applies the LT predicate on the "second_factor_last_step" field.
func SecondFactorLastStepLTE ¶
SecondFactorLastStepLTE applies the LTE predicate on the "second_factor_last_step" field.
func SecondFactorLastStepNEQ ¶
SecondFactorLastStepNEQ applies the NEQ predicate on the "second_factor_last_step" field.
func SecondFactorLastStepNotIn ¶
SecondFactorLastStepNotIn applies the NotIn predicate on the "second_factor_last_step" field.
func SecondFactorSecretEncrypted ¶
SecondFactorSecretEncrypted applies equality check predicate on the "second_factor_secret_encrypted" field. It's identical to SecondFactorSecretEncryptedEQ.
func SecondFactorSecretEncryptedContains ¶
SecondFactorSecretEncryptedContains applies the Contains predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedContainsFold ¶
SecondFactorSecretEncryptedContainsFold applies the ContainsFold predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedEQ ¶
SecondFactorSecretEncryptedEQ applies the EQ predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedEqualFold ¶
SecondFactorSecretEncryptedEqualFold applies the EqualFold predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedGT ¶
SecondFactorSecretEncryptedGT applies the GT predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedGTE ¶
SecondFactorSecretEncryptedGTE applies the GTE predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedHasPrefix ¶
SecondFactorSecretEncryptedHasPrefix applies the HasPrefix predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedHasSuffix ¶
SecondFactorSecretEncryptedHasSuffix applies the HasSuffix predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedIn ¶
SecondFactorSecretEncryptedIn applies the In predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedIsNil ¶
SecondFactorSecretEncryptedIsNil applies the IsNil predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedLT ¶
SecondFactorSecretEncryptedLT applies the LT predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedLTE ¶
SecondFactorSecretEncryptedLTE applies the LTE predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedNEQ ¶
SecondFactorSecretEncryptedNEQ applies the NEQ predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedNotIn ¶
SecondFactorSecretEncryptedNotIn applies the NotIn predicate on the "second_factor_secret_encrypted" field.
func SecondFactorSecretEncryptedNotNil ¶
SecondFactorSecretEncryptedNotNil applies the NotNil predicate on the "second_factor_secret_encrypted" field.
func SessionEpoch ¶
SessionEpoch applies equality check predicate on the "session_epoch" field. It's identical to SessionEpochEQ.
func SessionEpochEQ ¶
SessionEpochEQ applies the EQ predicate on the "session_epoch" field.
func SessionEpochGT ¶
SessionEpochGT applies the GT predicate on the "session_epoch" field.
func SessionEpochGTE ¶
SessionEpochGTE applies the GTE predicate on the "session_epoch" field.
func SessionEpochIn ¶
SessionEpochIn applies the In predicate on the "session_epoch" field.
func SessionEpochLT ¶
SessionEpochLT applies the LT predicate on the "session_epoch" field.
func SessionEpochLTE ¶
SessionEpochLTE applies the LTE predicate on the "session_epoch" field.
func SessionEpochNEQ ¶
SessionEpochNEQ applies the NEQ predicate on the "session_epoch" field.
func SessionEpochNotIn ¶
SessionEpochNotIn applies the NotIn predicate on the "session_epoch" field.
func SignupSurveyDueAt ¶
SignupSurveyDueAt applies equality check predicate on the "signup_survey_due_at" field. It's identical to SignupSurveyDueAtEQ.
func SignupSurveyDueAtEQ ¶
SignupSurveyDueAtEQ applies the EQ predicate on the "signup_survey_due_at" field.
func SignupSurveyDueAtGT ¶
SignupSurveyDueAtGT applies the GT predicate on the "signup_survey_due_at" field.
func SignupSurveyDueAtGTE ¶
SignupSurveyDueAtGTE applies the GTE predicate on the "signup_survey_due_at" field.
func SignupSurveyDueAtIn ¶
SignupSurveyDueAtIn applies the In predicate on the "signup_survey_due_at" field.
func SignupSurveyDueAtIsNil ¶
SignupSurveyDueAtIsNil applies the IsNil predicate on the "signup_survey_due_at" field.
func SignupSurveyDueAtLT ¶
SignupSurveyDueAtLT applies the LT predicate on the "signup_survey_due_at" field.
func SignupSurveyDueAtLTE ¶
SignupSurveyDueAtLTE applies the LTE predicate on the "signup_survey_due_at" field.
func SignupSurveyDueAtNEQ ¶
SignupSurveyDueAtNEQ applies the NEQ predicate on the "signup_survey_due_at" field.
func SignupSurveyDueAtNotIn ¶
SignupSurveyDueAtNotIn applies the NotIn predicate on the "signup_survey_due_at" field.
func SignupSurveyDueAtNotNil ¶
SignupSurveyDueAtNotNil applies the NotNil predicate on the "signup_survey_due_at" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByEmailProvenAt ¶
func ByEmailProvenAt(opts ...sql.OrderTermOption) OrderOption
ByEmailProvenAt orders the results by the email_proven_at field.
func ByEmailVerifiedAt ¶
func ByEmailVerifiedAt(opts ...sql.OrderTermOption) OrderOption
ByEmailVerifiedAt orders the results by the email_verified_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdentities ¶
func ByIdentities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIdentities orders the results by identities terms.
func ByIdentitiesCount ¶
func ByIdentitiesCount(opts ...sql.OrderTermOption) OrderOption
ByIdentitiesCount orders the results by identities count.
func ByMemberships ¶
func ByMemberships(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMemberships orders the results by memberships terms.
func ByMembershipsCount ¶
func ByMembershipsCount(opts ...sql.OrderTermOption) OrderOption
ByMembershipsCount orders the results by memberships count.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPasskeys ¶
func ByPasskeys(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPasskeys orders the results by passkeys terms.
func ByPasskeysCount ¶
func ByPasskeysCount(opts ...sql.OrderTermOption) OrderOption
ByPasskeysCount orders the results by passkeys count.
func ByPasswordHash ¶
func ByPasswordHash(opts ...sql.OrderTermOption) OrderOption
ByPasswordHash orders the results by the password_hash field.
func ByRecoveryCodes ¶
func ByRecoveryCodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRecoveryCodes orders the results by recovery_codes terms.
func ByRecoveryCodesCount ¶
func ByRecoveryCodesCount(opts ...sql.OrderTermOption) OrderOption
ByRecoveryCodesCount orders the results by recovery_codes count.
func BySecondFactorConfirmedAt ¶
func BySecondFactorConfirmedAt(opts ...sql.OrderTermOption) OrderOption
BySecondFactorConfirmedAt orders the results by the second_factor_confirmed_at field.
func BySecondFactorLastStep ¶
func BySecondFactorLastStep(opts ...sql.OrderTermOption) OrderOption
BySecondFactorLastStep orders the results by the second_factor_last_step field.
func BySecondFactorSecretEncrypted ¶
func BySecondFactorSecretEncrypted(opts ...sql.OrderTermOption) OrderOption
BySecondFactorSecretEncrypted orders the results by the second_factor_secret_encrypted field.
func BySentInvitations ¶
func BySentInvitations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySentInvitations orders the results by sent_invitations terms.
func BySentInvitationsCount ¶
func BySentInvitationsCount(opts ...sql.OrderTermOption) OrderOption
BySentInvitationsCount orders the results by sent_invitations count.
func BySessionEpoch ¶
func BySessionEpoch(opts ...sql.OrderTermOption) OrderOption
BySessionEpoch orders the results by the session_epoch field.
func BySignupSurveyDueAt ¶
func BySignupSurveyDueAt(opts ...sql.OrderTermOption) OrderOption
BySignupSurveyDueAt orders the results by the signup_survey_due_at field.
func BySignupSurveyResponseField ¶
func BySignupSurveyResponseField(field string, opts ...sql.OrderTermOption) OrderOption
BySignupSurveyResponseField orders the results by signup_survey_response field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.