Documentation
¶
Index ¶
- Constants
- Variables
- func AccessTokenEncrypted(v []byte) predicate.UserIdentities
- func AccessTokenEncryptedEQ(v []byte) predicate.UserIdentities
- func AccessTokenEncryptedGT(v []byte) predicate.UserIdentities
- func AccessTokenEncryptedGTE(v []byte) predicate.UserIdentities
- func AccessTokenEncryptedIn(vs ...[]byte) predicate.UserIdentities
- func AccessTokenEncryptedIsNil() predicate.UserIdentities
- func AccessTokenEncryptedLT(v []byte) predicate.UserIdentities
- func AccessTokenEncryptedLTE(v []byte) predicate.UserIdentities
- func AccessTokenEncryptedNEQ(v []byte) predicate.UserIdentities
- func AccessTokenEncryptedNotIn(vs ...[]byte) predicate.UserIdentities
- func AccessTokenEncryptedNotNil() predicate.UserIdentities
- func And(predicates ...predicate.UserIdentities) predicate.UserIdentities
- func CreatedAt(v time.Time) predicate.UserIdentities
- func CreatedAtEQ(v time.Time) predicate.UserIdentities
- func CreatedAtGT(v time.Time) predicate.UserIdentities
- func CreatedAtGTE(v time.Time) predicate.UserIdentities
- func CreatedAtIn(vs ...time.Time) predicate.UserIdentities
- func CreatedAtLT(v time.Time) predicate.UserIdentities
- func CreatedAtLTE(v time.Time) predicate.UserIdentities
- func CreatedAtNEQ(v time.Time) predicate.UserIdentities
- func CreatedAtNotIn(vs ...time.Time) predicate.UserIdentities
- func CreatedBy(v int64) predicate.UserIdentities
- func CreatedByEQ(v int64) predicate.UserIdentities
- func CreatedByGT(v int64) predicate.UserIdentities
- func CreatedByGTE(v int64) predicate.UserIdentities
- func CreatedByIn(vs ...int64) predicate.UserIdentities
- func CreatedByIsNil() predicate.UserIdentities
- func CreatedByLT(v int64) predicate.UserIdentities
- func CreatedByLTE(v int64) predicate.UserIdentities
- func CreatedByNEQ(v int64) predicate.UserIdentities
- func CreatedByNotIn(vs ...int64) predicate.UserIdentities
- func CreatedByNotNil() predicate.UserIdentities
- func HasLionAuthProviders() predicate.UserIdentities
- func HasLionAuthProvidersWith(preds ...predicate.AuthProviders) predicate.UserIdentities
- func HasLionUsers() predicate.UserIdentities
- func HasLionUsersWith(preds ...predicate.Users) predicate.UserIdentities
- func ID(id int) predicate.UserIdentities
- func IDEQ(id int) predicate.UserIdentities
- func IDGT(id int) predicate.UserIdentities
- func IDGTE(id int) predicate.UserIdentities
- func IDIn(ids ...int) predicate.UserIdentities
- func IDLT(id int) predicate.UserIdentities
- func IDLTE(id int) predicate.UserIdentities
- func IDNEQ(id int) predicate.UserIdentities
- func IDNotIn(ids ...int) predicate.UserIdentities
- func LastLoginAt(v time.Time) predicate.UserIdentities
- func LastLoginAtEQ(v time.Time) predicate.UserIdentities
- func LastLoginAtGT(v time.Time) predicate.UserIdentities
- func LastLoginAtGTE(v time.Time) predicate.UserIdentities
- func LastLoginAtIn(vs ...time.Time) predicate.UserIdentities
- func LastLoginAtIsNil() predicate.UserIdentities
- func LastLoginAtLT(v time.Time) predicate.UserIdentities
- func LastLoginAtLTE(v time.Time) predicate.UserIdentities
- func LastLoginAtNEQ(v time.Time) predicate.UserIdentities
- func LastLoginAtNotIn(vs ...time.Time) predicate.UserIdentities
- func LastLoginAtNotNil() predicate.UserIdentities
- func MfaEnabled(v bool) predicate.UserIdentities
- func MfaEnabledEQ(v bool) predicate.UserIdentities
- func MfaEnabledNEQ(v bool) predicate.UserIdentities
- func MfaSecretEncrypted(v []byte) predicate.UserIdentities
- func MfaSecretEncryptedEQ(v []byte) predicate.UserIdentities
- func MfaSecretEncryptedGT(v []byte) predicate.UserIdentities
- func MfaSecretEncryptedGTE(v []byte) predicate.UserIdentities
- func MfaSecretEncryptedIn(vs ...[]byte) predicate.UserIdentities
- func MfaSecretEncryptedLT(v []byte) predicate.UserIdentities
- func MfaSecretEncryptedLTE(v []byte) predicate.UserIdentities
- func MfaSecretEncryptedNEQ(v []byte) predicate.UserIdentities
- func MfaSecretEncryptedNotIn(vs ...[]byte) predicate.UserIdentities
- func Not(p predicate.UserIdentities) predicate.UserIdentities
- func Or(predicates ...predicate.UserIdentities) predicate.UserIdentities
- func PasswordChangedAt(v time.Time) predicate.UserIdentities
- func PasswordChangedAtEQ(v time.Time) predicate.UserIdentities
- func PasswordChangedAtGT(v time.Time) predicate.UserIdentities
- func PasswordChangedAtGTE(v time.Time) predicate.UserIdentities
- func PasswordChangedAtIn(vs ...time.Time) predicate.UserIdentities
- func PasswordChangedAtIsNil() predicate.UserIdentities
- func PasswordChangedAtLT(v time.Time) predicate.UserIdentities
- func PasswordChangedAtLTE(v time.Time) predicate.UserIdentities
- func PasswordChangedAtNEQ(v time.Time) predicate.UserIdentities
- func PasswordChangedAtNotIn(vs ...time.Time) predicate.UserIdentities
- func PasswordChangedAtNotNil() predicate.UserIdentities
- func PasswordExpiresAt(v time.Time) predicate.UserIdentities
- func PasswordExpiresAtEQ(v time.Time) predicate.UserIdentities
- func PasswordExpiresAtGT(v time.Time) predicate.UserIdentities
- func PasswordExpiresAtGTE(v time.Time) predicate.UserIdentities
- func PasswordExpiresAtIn(vs ...time.Time) predicate.UserIdentities
- func PasswordExpiresAtIsNil() predicate.UserIdentities
- func PasswordExpiresAtLT(v time.Time) predicate.UserIdentities
- func PasswordExpiresAtLTE(v time.Time) predicate.UserIdentities
- func PasswordExpiresAtNEQ(v time.Time) predicate.UserIdentities
- func PasswordExpiresAtNotIn(vs ...time.Time) predicate.UserIdentities
- func PasswordExpiresAtNotNil() predicate.UserIdentities
- func PasswordHash(v string) predicate.UserIdentities
- func PasswordHashContains(v string) predicate.UserIdentities
- func PasswordHashContainsFold(v string) predicate.UserIdentities
- func PasswordHashEQ(v string) predicate.UserIdentities
- func PasswordHashEqualFold(v string) predicate.UserIdentities
- func PasswordHashGT(v string) predicate.UserIdentities
- func PasswordHashGTE(v string) predicate.UserIdentities
- func PasswordHashHasPrefix(v string) predicate.UserIdentities
- func PasswordHashHasSuffix(v string) predicate.UserIdentities
- func PasswordHashIn(vs ...string) predicate.UserIdentities
- func PasswordHashLT(v string) predicate.UserIdentities
- func PasswordHashLTE(v string) predicate.UserIdentities
- func PasswordHashNEQ(v string) predicate.UserIdentities
- func PasswordHashNotIn(vs ...string) predicate.UserIdentities
- func ProviderID(v int) predicate.UserIdentities
- func ProviderIDEQ(v int) predicate.UserIdentities
- func ProviderIDIn(vs ...int) predicate.UserIdentities
- func ProviderIDNEQ(v int) predicate.UserIdentities
- func ProviderIDNotIn(vs ...int) predicate.UserIdentities
- func ProviderUnionID(v string) predicate.UserIdentities
- func ProviderUnionIDContains(v string) predicate.UserIdentities
- func ProviderUnionIDContainsFold(v string) predicate.UserIdentities
- func ProviderUnionIDEQ(v string) predicate.UserIdentities
- func ProviderUnionIDEqualFold(v string) predicate.UserIdentities
- func ProviderUnionIDGT(v string) predicate.UserIdentities
- func ProviderUnionIDGTE(v string) predicate.UserIdentities
- func ProviderUnionIDHasPrefix(v string) predicate.UserIdentities
- func ProviderUnionIDHasSuffix(v string) predicate.UserIdentities
- func ProviderUnionIDIn(vs ...string) predicate.UserIdentities
- func ProviderUnionIDIsNil() predicate.UserIdentities
- func ProviderUnionIDLT(v string) predicate.UserIdentities
- func ProviderUnionIDLTE(v string) predicate.UserIdentities
- func ProviderUnionIDNEQ(v string) predicate.UserIdentities
- func ProviderUnionIDNotIn(vs ...string) predicate.UserIdentities
- func ProviderUnionIDNotNil() predicate.UserIdentities
- func ProviderUserID(v string) predicate.UserIdentities
- func ProviderUserIDContains(v string) predicate.UserIdentities
- func ProviderUserIDContainsFold(v string) predicate.UserIdentities
- func ProviderUserIDEQ(v string) predicate.UserIdentities
- func ProviderUserIDEqualFold(v string) predicate.UserIdentities
- func ProviderUserIDGT(v string) predicate.UserIdentities
- func ProviderUserIDGTE(v string) predicate.UserIdentities
- func ProviderUserIDHasPrefix(v string) predicate.UserIdentities
- func ProviderUserIDHasSuffix(v string) predicate.UserIdentities
- func ProviderUserIDIn(vs ...string) predicate.UserIdentities
- func ProviderUserIDLT(v string) predicate.UserIdentities
- func ProviderUserIDLTE(v string) predicate.UserIdentities
- func ProviderUserIDNEQ(v string) predicate.UserIdentities
- func ProviderUserIDNotIn(vs ...string) predicate.UserIdentities
- func RefreshTokenEncrypted(v []byte) predicate.UserIdentities
- func RefreshTokenEncryptedEQ(v []byte) predicate.UserIdentities
- func RefreshTokenEncryptedGT(v []byte) predicate.UserIdentities
- func RefreshTokenEncryptedGTE(v []byte) predicate.UserIdentities
- func RefreshTokenEncryptedIn(vs ...[]byte) predicate.UserIdentities
- func RefreshTokenEncryptedIsNil() predicate.UserIdentities
- func RefreshTokenEncryptedLT(v []byte) predicate.UserIdentities
- func RefreshTokenEncryptedLTE(v []byte) predicate.UserIdentities
- func RefreshTokenEncryptedNEQ(v []byte) predicate.UserIdentities
- func RefreshTokenEncryptedNotIn(vs ...[]byte) predicate.UserIdentities
- func RefreshTokenEncryptedNotNil() predicate.UserIdentities
- func TokenExpiresAt(v time.Time) predicate.UserIdentities
- func TokenExpiresAtEQ(v time.Time) predicate.UserIdentities
- func TokenExpiresAtGT(v time.Time) predicate.UserIdentities
- func TokenExpiresAtGTE(v time.Time) predicate.UserIdentities
- func TokenExpiresAtIn(vs ...time.Time) predicate.UserIdentities
- func TokenExpiresAtIsNil() predicate.UserIdentities
- func TokenExpiresAtLT(v time.Time) predicate.UserIdentities
- func TokenExpiresAtLTE(v time.Time) predicate.UserIdentities
- func TokenExpiresAtNEQ(v time.Time) predicate.UserIdentities
- func TokenExpiresAtNotIn(vs ...time.Time) predicate.UserIdentities
- func TokenExpiresAtNotNil() predicate.UserIdentities
- func UpdatedAt(v time.Time) predicate.UserIdentities
- func UpdatedAtEQ(v time.Time) predicate.UserIdentities
- func UpdatedAtGT(v time.Time) predicate.UserIdentities
- func UpdatedAtGTE(v time.Time) predicate.UserIdentities
- func UpdatedAtIn(vs ...time.Time) predicate.UserIdentities
- func UpdatedAtLT(v time.Time) predicate.UserIdentities
- func UpdatedAtLTE(v time.Time) predicate.UserIdentities
- func UpdatedAtNEQ(v time.Time) predicate.UserIdentities
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserIdentities
- func UpdatedBy(v int64) predicate.UserIdentities
- func UpdatedByEQ(v int64) predicate.UserIdentities
- func UpdatedByGT(v int64) predicate.UserIdentities
- func UpdatedByGTE(v int64) predicate.UserIdentities
- func UpdatedByIn(vs ...int64) predicate.UserIdentities
- func UpdatedByIsNil() predicate.UserIdentities
- func UpdatedByLT(v int64) predicate.UserIdentities
- func UpdatedByLTE(v int64) predicate.UserIdentities
- func UpdatedByNEQ(v int64) predicate.UserIdentities
- func UpdatedByNotIn(vs ...int64) predicate.UserIdentities
- func UpdatedByNotNil() predicate.UserIdentities
- func UserID(v int) predicate.UserIdentities
- func UserIDEQ(v int) predicate.UserIdentities
- func UserIDIn(vs ...int) predicate.UserIdentities
- func UserIDNEQ(v int) predicate.UserIdentities
- func UserIDNotIn(vs ...int) predicate.UserIdentities
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastLoginAt(opts ...sql.OrderTermOption) OrderOption
- func ByLionAuthProvidersField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByLionUsersField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByMfaEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByPasswordChangedAt(opts ...sql.OrderTermOption) OrderOption
- func ByPasswordExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByPasswordHash(opts ...sql.OrderTermOption) OrderOption
- func ByProviderID(opts ...sql.OrderTermOption) OrderOption
- func ByProviderUnionID(opts ...sql.OrderTermOption) OrderOption
- func ByProviderUserID(opts ...sql.OrderTermOption) OrderOption
- func ByTokenExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the useridentities type in the database. Label = "user_identities" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldProviderID holds the string denoting the provider_id field in the database. FieldProviderID = "provider_id" // FieldProviderUserID holds the string denoting the provider_user_id field in the database. FieldProviderUserID = "provider_user_id" // FieldProviderUnionID holds the string denoting the provider_union_id field in the database. FieldProviderUnionID = "provider_union_id" // FieldPasswordHash holds the string denoting the password_hash field in the database. FieldPasswordHash = "password_hash" // FieldMfaEnabled holds the string denoting the mfa_enabled field in the database. FieldMfaEnabled = "mfa_enabled" // FieldMfaSecretEncrypted holds the string denoting the mfa_secret_encrypted field in the database. FieldMfaSecretEncrypted = "mfa_secret_encrypted" // FieldAccessTokenEncrypted holds the string denoting the access_token_encrypted field in the database. FieldAccessTokenEncrypted = "access_token_encrypted" // FieldRefreshTokenEncrypted holds the string denoting the refresh_token_encrypted field in the database. FieldRefreshTokenEncrypted = "refresh_token_encrypted" // FieldPasswordChangedAt holds the string denoting the password_changed_at field in the database. FieldPasswordChangedAt = "password_changed_at" // FieldPasswordExpiresAt holds the string denoting the password_expires_at field in the database. FieldPasswordExpiresAt = "password_expires_at" // FieldTokenExpiresAt holds the string denoting the token_expires_at field in the database. FieldTokenExpiresAt = "token_expires_at" // FieldLastLoginAt holds the string denoting the last_login_at field in the database. FieldLastLoginAt = "last_login_at" // EdgeLionUsers holds the string denoting the lion_users edge name in mutations. EdgeLionUsers = "lion_users" // EdgeLionAuthProviders holds the string denoting the lion_auth_providers edge name in mutations. EdgeLionAuthProviders = "lion_auth_providers" // Table holds the table name of the useridentities in the database. Table = "lion_user_identities" // LionUsersTable is the table that holds the lion_users relation/edge. LionUsersTable = "lion_user_identities" // LionUsersInverseTable is the table name for the Users entity. // It exists in this package in order to avoid circular dependency with the "users" package. LionUsersInverseTable = "lion_users" // LionUsersColumn is the table column denoting the lion_users relation/edge. LionUsersColumn = "user_id" // LionAuthProvidersTable is the table that holds the lion_auth_providers relation/edge. LionAuthProvidersTable = "lion_user_identities" // LionAuthProvidersInverseTable is the table name for the AuthProviders entity. // It exists in this package in order to avoid circular dependency with the "authproviders" package. LionAuthProvidersInverseTable = "lion_auth_providers" // LionAuthProvidersColumn is the table column denoting the lion_auth_providers relation/edge. LionAuthProvidersColumn = "provider_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 // DefaultCreatedBy holds the default value on creation for the "created_by" field. DefaultCreatedBy int64 // DefaultUpdatedBy holds the default value on creation for the "updated_by" field. DefaultUpdatedBy int64 // UserIDValidator is a validator for the "user_id" field. It is called by the builders before save. UserIDValidator func(int) error // ProviderUserIDValidator is a validator for the "provider_user_id" field. It is called by the builders before save. ProviderUserIDValidator func(string) error // DefaultPasswordHash holds the default value on creation for the "password_hash" field. DefaultPasswordHash string // DefaultMfaEnabled holds the default value on creation for the "mfa_enabled" field. DefaultMfaEnabled bool // DefaultMfaSecretEncrypted holds the default value on creation for the "mfa_secret_encrypted" field. DefaultMfaSecretEncrypted []byte )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldUserID, FieldProviderID, FieldProviderUserID, FieldProviderUnionID, FieldPasswordHash, FieldMfaEnabled, FieldMfaSecretEncrypted, FieldAccessTokenEncrypted, FieldRefreshTokenEncrypted, FieldPasswordChangedAt, FieldPasswordExpiresAt, FieldTokenExpiresAt, FieldLastLoginAt, }
Columns holds all SQL columns for useridentities fields.
Functions ¶
func AccessTokenEncrypted ¶
func AccessTokenEncrypted(v []byte) predicate.UserIdentities
AccessTokenEncrypted applies equality check predicate on the "access_token_encrypted" field. It's identical to AccessTokenEncryptedEQ.
func AccessTokenEncryptedEQ ¶
func AccessTokenEncryptedEQ(v []byte) predicate.UserIdentities
AccessTokenEncryptedEQ applies the EQ predicate on the "access_token_encrypted" field.
func AccessTokenEncryptedGT ¶
func AccessTokenEncryptedGT(v []byte) predicate.UserIdentities
AccessTokenEncryptedGT applies the GT predicate on the "access_token_encrypted" field.
func AccessTokenEncryptedGTE ¶
func AccessTokenEncryptedGTE(v []byte) predicate.UserIdentities
AccessTokenEncryptedGTE applies the GTE predicate on the "access_token_encrypted" field.
func AccessTokenEncryptedIn ¶
func AccessTokenEncryptedIn(vs ...[]byte) predicate.UserIdentities
AccessTokenEncryptedIn applies the In predicate on the "access_token_encrypted" field.
func AccessTokenEncryptedIsNil ¶
func AccessTokenEncryptedIsNil() predicate.UserIdentities
AccessTokenEncryptedIsNil applies the IsNil predicate on the "access_token_encrypted" field.
func AccessTokenEncryptedLT ¶
func AccessTokenEncryptedLT(v []byte) predicate.UserIdentities
AccessTokenEncryptedLT applies the LT predicate on the "access_token_encrypted" field.
func AccessTokenEncryptedLTE ¶
func AccessTokenEncryptedLTE(v []byte) predicate.UserIdentities
AccessTokenEncryptedLTE applies the LTE predicate on the "access_token_encrypted" field.
func AccessTokenEncryptedNEQ ¶
func AccessTokenEncryptedNEQ(v []byte) predicate.UserIdentities
AccessTokenEncryptedNEQ applies the NEQ predicate on the "access_token_encrypted" field.
func AccessTokenEncryptedNotIn ¶
func AccessTokenEncryptedNotIn(vs ...[]byte) predicate.UserIdentities
AccessTokenEncryptedNotIn applies the NotIn predicate on the "access_token_encrypted" field.
func AccessTokenEncryptedNotNil ¶
func AccessTokenEncryptedNotNil() predicate.UserIdentities
AccessTokenEncryptedNotNil applies the NotNil predicate on the "access_token_encrypted" field.
func And ¶
func And(predicates ...predicate.UserIdentities) predicate.UserIdentities
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.UserIdentities
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.UserIdentities
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.UserIdentities
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.UserIdentities
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.UserIdentities
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.UserIdentities
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.UserIdentities
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.UserIdentities
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.UserIdentities
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v int64) predicate.UserIdentities
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v int64) predicate.UserIdentities
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v int64) predicate.UserIdentities
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v int64) predicate.UserIdentities
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...int64) predicate.UserIdentities
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.UserIdentities
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v int64) predicate.UserIdentities
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v int64) predicate.UserIdentities
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v int64) predicate.UserIdentities
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...int64) predicate.UserIdentities
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.UserIdentities
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func HasLionAuthProviders ¶
func HasLionAuthProviders() predicate.UserIdentities
HasLionAuthProviders applies the HasEdge predicate on the "lion_auth_providers" edge.
func HasLionAuthProvidersWith ¶
func HasLionAuthProvidersWith(preds ...predicate.AuthProviders) predicate.UserIdentities
HasLionAuthProvidersWith applies the HasEdge predicate on the "lion_auth_providers" edge with a given conditions (other predicates).
func HasLionUsers ¶
func HasLionUsers() predicate.UserIdentities
HasLionUsers applies the HasEdge predicate on the "lion_users" edge.
func HasLionUsersWith ¶
func HasLionUsersWith(preds ...predicate.Users) predicate.UserIdentities
HasLionUsersWith applies the HasEdge predicate on the "lion_users" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.UserIdentities
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.UserIdentities
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.UserIdentities
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserIdentities
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.UserIdentities
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserIdentities
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserIdentities
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserIdentities
IDNotIn applies the NotIn predicate on the ID field.
func LastLoginAt ¶
func LastLoginAt(v time.Time) predicate.UserIdentities
LastLoginAt applies equality check predicate on the "last_login_at" field. It's identical to LastLoginAtEQ.
func LastLoginAtEQ ¶
func LastLoginAtEQ(v time.Time) predicate.UserIdentities
LastLoginAtEQ applies the EQ predicate on the "last_login_at" field.
func LastLoginAtGT ¶
func LastLoginAtGT(v time.Time) predicate.UserIdentities
LastLoginAtGT applies the GT predicate on the "last_login_at" field.
func LastLoginAtGTE ¶
func LastLoginAtGTE(v time.Time) predicate.UserIdentities
LastLoginAtGTE applies the GTE predicate on the "last_login_at" field.
func LastLoginAtIn ¶
func LastLoginAtIn(vs ...time.Time) predicate.UserIdentities
LastLoginAtIn applies the In predicate on the "last_login_at" field.
func LastLoginAtIsNil ¶
func LastLoginAtIsNil() predicate.UserIdentities
LastLoginAtIsNil applies the IsNil predicate on the "last_login_at" field.
func LastLoginAtLT ¶
func LastLoginAtLT(v time.Time) predicate.UserIdentities
LastLoginAtLT applies the LT predicate on the "last_login_at" field.
func LastLoginAtLTE ¶
func LastLoginAtLTE(v time.Time) predicate.UserIdentities
LastLoginAtLTE applies the LTE predicate on the "last_login_at" field.
func LastLoginAtNEQ ¶
func LastLoginAtNEQ(v time.Time) predicate.UserIdentities
LastLoginAtNEQ applies the NEQ predicate on the "last_login_at" field.
func LastLoginAtNotIn ¶
func LastLoginAtNotIn(vs ...time.Time) predicate.UserIdentities
LastLoginAtNotIn applies the NotIn predicate on the "last_login_at" field.
func LastLoginAtNotNil ¶
func LastLoginAtNotNil() predicate.UserIdentities
LastLoginAtNotNil applies the NotNil predicate on the "last_login_at" field.
func MfaEnabled ¶
func MfaEnabled(v bool) predicate.UserIdentities
MfaEnabled applies equality check predicate on the "mfa_enabled" field. It's identical to MfaEnabledEQ.
func MfaEnabledEQ ¶
func MfaEnabledEQ(v bool) predicate.UserIdentities
MfaEnabledEQ applies the EQ predicate on the "mfa_enabled" field.
func MfaEnabledNEQ ¶
func MfaEnabledNEQ(v bool) predicate.UserIdentities
MfaEnabledNEQ applies the NEQ predicate on the "mfa_enabled" field.
func MfaSecretEncrypted ¶
func MfaSecretEncrypted(v []byte) predicate.UserIdentities
MfaSecretEncrypted applies equality check predicate on the "mfa_secret_encrypted" field. It's identical to MfaSecretEncryptedEQ.
func MfaSecretEncryptedEQ ¶
func MfaSecretEncryptedEQ(v []byte) predicate.UserIdentities
MfaSecretEncryptedEQ applies the EQ predicate on the "mfa_secret_encrypted" field.
func MfaSecretEncryptedGT ¶
func MfaSecretEncryptedGT(v []byte) predicate.UserIdentities
MfaSecretEncryptedGT applies the GT predicate on the "mfa_secret_encrypted" field.
func MfaSecretEncryptedGTE ¶
func MfaSecretEncryptedGTE(v []byte) predicate.UserIdentities
MfaSecretEncryptedGTE applies the GTE predicate on the "mfa_secret_encrypted" field.
func MfaSecretEncryptedIn ¶
func MfaSecretEncryptedIn(vs ...[]byte) predicate.UserIdentities
MfaSecretEncryptedIn applies the In predicate on the "mfa_secret_encrypted" field.
func MfaSecretEncryptedLT ¶
func MfaSecretEncryptedLT(v []byte) predicate.UserIdentities
MfaSecretEncryptedLT applies the LT predicate on the "mfa_secret_encrypted" field.
func MfaSecretEncryptedLTE ¶
func MfaSecretEncryptedLTE(v []byte) predicate.UserIdentities
MfaSecretEncryptedLTE applies the LTE predicate on the "mfa_secret_encrypted" field.
func MfaSecretEncryptedNEQ ¶
func MfaSecretEncryptedNEQ(v []byte) predicate.UserIdentities
MfaSecretEncryptedNEQ applies the NEQ predicate on the "mfa_secret_encrypted" field.
func MfaSecretEncryptedNotIn ¶
func MfaSecretEncryptedNotIn(vs ...[]byte) predicate.UserIdentities
MfaSecretEncryptedNotIn applies the NotIn predicate on the "mfa_secret_encrypted" field.
func Not ¶
func Not(p predicate.UserIdentities) predicate.UserIdentities
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserIdentities) predicate.UserIdentities
Or groups predicates with the OR operator between them.
func PasswordChangedAt ¶
func PasswordChangedAt(v time.Time) predicate.UserIdentities
PasswordChangedAt applies equality check predicate on the "password_changed_at" field. It's identical to PasswordChangedAtEQ.
func PasswordChangedAtEQ ¶
func PasswordChangedAtEQ(v time.Time) predicate.UserIdentities
PasswordChangedAtEQ applies the EQ predicate on the "password_changed_at" field.
func PasswordChangedAtGT ¶
func PasswordChangedAtGT(v time.Time) predicate.UserIdentities
PasswordChangedAtGT applies the GT predicate on the "password_changed_at" field.
func PasswordChangedAtGTE ¶
func PasswordChangedAtGTE(v time.Time) predicate.UserIdentities
PasswordChangedAtGTE applies the GTE predicate on the "password_changed_at" field.
func PasswordChangedAtIn ¶
func PasswordChangedAtIn(vs ...time.Time) predicate.UserIdentities
PasswordChangedAtIn applies the In predicate on the "password_changed_at" field.
func PasswordChangedAtIsNil ¶
func PasswordChangedAtIsNil() predicate.UserIdentities
PasswordChangedAtIsNil applies the IsNil predicate on the "password_changed_at" field.
func PasswordChangedAtLT ¶
func PasswordChangedAtLT(v time.Time) predicate.UserIdentities
PasswordChangedAtLT applies the LT predicate on the "password_changed_at" field.
func PasswordChangedAtLTE ¶
func PasswordChangedAtLTE(v time.Time) predicate.UserIdentities
PasswordChangedAtLTE applies the LTE predicate on the "password_changed_at" field.
func PasswordChangedAtNEQ ¶
func PasswordChangedAtNEQ(v time.Time) predicate.UserIdentities
PasswordChangedAtNEQ applies the NEQ predicate on the "password_changed_at" field.
func PasswordChangedAtNotIn ¶
func PasswordChangedAtNotIn(vs ...time.Time) predicate.UserIdentities
PasswordChangedAtNotIn applies the NotIn predicate on the "password_changed_at" field.
func PasswordChangedAtNotNil ¶
func PasswordChangedAtNotNil() predicate.UserIdentities
PasswordChangedAtNotNil applies the NotNil predicate on the "password_changed_at" field.
func PasswordExpiresAt ¶
func PasswordExpiresAt(v time.Time) predicate.UserIdentities
PasswordExpiresAt applies equality check predicate on the "password_expires_at" field. It's identical to PasswordExpiresAtEQ.
func PasswordExpiresAtEQ ¶
func PasswordExpiresAtEQ(v time.Time) predicate.UserIdentities
PasswordExpiresAtEQ applies the EQ predicate on the "password_expires_at" field.
func PasswordExpiresAtGT ¶
func PasswordExpiresAtGT(v time.Time) predicate.UserIdentities
PasswordExpiresAtGT applies the GT predicate on the "password_expires_at" field.
func PasswordExpiresAtGTE ¶
func PasswordExpiresAtGTE(v time.Time) predicate.UserIdentities
PasswordExpiresAtGTE applies the GTE predicate on the "password_expires_at" field.
func PasswordExpiresAtIn ¶
func PasswordExpiresAtIn(vs ...time.Time) predicate.UserIdentities
PasswordExpiresAtIn applies the In predicate on the "password_expires_at" field.
func PasswordExpiresAtIsNil ¶
func PasswordExpiresAtIsNil() predicate.UserIdentities
PasswordExpiresAtIsNil applies the IsNil predicate on the "password_expires_at" field.
func PasswordExpiresAtLT ¶
func PasswordExpiresAtLT(v time.Time) predicate.UserIdentities
PasswordExpiresAtLT applies the LT predicate on the "password_expires_at" field.
func PasswordExpiresAtLTE ¶
func PasswordExpiresAtLTE(v time.Time) predicate.UserIdentities
PasswordExpiresAtLTE applies the LTE predicate on the "password_expires_at" field.
func PasswordExpiresAtNEQ ¶
func PasswordExpiresAtNEQ(v time.Time) predicate.UserIdentities
PasswordExpiresAtNEQ applies the NEQ predicate on the "password_expires_at" field.
func PasswordExpiresAtNotIn ¶
func PasswordExpiresAtNotIn(vs ...time.Time) predicate.UserIdentities
PasswordExpiresAtNotIn applies the NotIn predicate on the "password_expires_at" field.
func PasswordExpiresAtNotNil ¶
func PasswordExpiresAtNotNil() predicate.UserIdentities
PasswordExpiresAtNotNil applies the NotNil predicate on the "password_expires_at" field.
func PasswordHash ¶
func PasswordHash(v string) predicate.UserIdentities
PasswordHash applies equality check predicate on the "password_hash" field. It's identical to PasswordHashEQ.
func PasswordHashContains ¶
func PasswordHashContains(v string) predicate.UserIdentities
PasswordHashContains applies the Contains predicate on the "password_hash" field.
func PasswordHashContainsFold ¶
func PasswordHashContainsFold(v string) predicate.UserIdentities
PasswordHashContainsFold applies the ContainsFold predicate on the "password_hash" field.
func PasswordHashEQ ¶
func PasswordHashEQ(v string) predicate.UserIdentities
PasswordHashEQ applies the EQ predicate on the "password_hash" field.
func PasswordHashEqualFold ¶
func PasswordHashEqualFold(v string) predicate.UserIdentities
PasswordHashEqualFold applies the EqualFold predicate on the "password_hash" field.
func PasswordHashGT ¶
func PasswordHashGT(v string) predicate.UserIdentities
PasswordHashGT applies the GT predicate on the "password_hash" field.
func PasswordHashGTE ¶
func PasswordHashGTE(v string) predicate.UserIdentities
PasswordHashGTE applies the GTE predicate on the "password_hash" field.
func PasswordHashHasPrefix ¶
func PasswordHashHasPrefix(v string) predicate.UserIdentities
PasswordHashHasPrefix applies the HasPrefix predicate on the "password_hash" field.
func PasswordHashHasSuffix ¶
func PasswordHashHasSuffix(v string) predicate.UserIdentities
PasswordHashHasSuffix applies the HasSuffix predicate on the "password_hash" field.
func PasswordHashIn ¶
func PasswordHashIn(vs ...string) predicate.UserIdentities
PasswordHashIn applies the In predicate on the "password_hash" field.
func PasswordHashLT ¶
func PasswordHashLT(v string) predicate.UserIdentities
PasswordHashLT applies the LT predicate on the "password_hash" field.
func PasswordHashLTE ¶
func PasswordHashLTE(v string) predicate.UserIdentities
PasswordHashLTE applies the LTE predicate on the "password_hash" field.
func PasswordHashNEQ ¶
func PasswordHashNEQ(v string) predicate.UserIdentities
PasswordHashNEQ applies the NEQ predicate on the "password_hash" field.
func PasswordHashNotIn ¶
func PasswordHashNotIn(vs ...string) predicate.UserIdentities
PasswordHashNotIn applies the NotIn predicate on the "password_hash" field.
func ProviderID ¶
func ProviderID(v int) predicate.UserIdentities
ProviderID applies equality check predicate on the "provider_id" field. It's identical to ProviderIDEQ.
func ProviderIDEQ ¶
func ProviderIDEQ(v int) predicate.UserIdentities
ProviderIDEQ applies the EQ predicate on the "provider_id" field.
func ProviderIDIn ¶
func ProviderIDIn(vs ...int) predicate.UserIdentities
ProviderIDIn applies the In predicate on the "provider_id" field.
func ProviderIDNEQ ¶
func ProviderIDNEQ(v int) predicate.UserIdentities
ProviderIDNEQ applies the NEQ predicate on the "provider_id" field.
func ProviderIDNotIn ¶
func ProviderIDNotIn(vs ...int) predicate.UserIdentities
ProviderIDNotIn applies the NotIn predicate on the "provider_id" field.
func ProviderUnionID ¶
func ProviderUnionID(v string) predicate.UserIdentities
ProviderUnionID applies equality check predicate on the "provider_union_id" field. It's identical to ProviderUnionIDEQ.
func ProviderUnionIDContains ¶
func ProviderUnionIDContains(v string) predicate.UserIdentities
ProviderUnionIDContains applies the Contains predicate on the "provider_union_id" field.
func ProviderUnionIDContainsFold ¶
func ProviderUnionIDContainsFold(v string) predicate.UserIdentities
ProviderUnionIDContainsFold applies the ContainsFold predicate on the "provider_union_id" field.
func ProviderUnionIDEQ ¶
func ProviderUnionIDEQ(v string) predicate.UserIdentities
ProviderUnionIDEQ applies the EQ predicate on the "provider_union_id" field.
func ProviderUnionIDEqualFold ¶
func ProviderUnionIDEqualFold(v string) predicate.UserIdentities
ProviderUnionIDEqualFold applies the EqualFold predicate on the "provider_union_id" field.
func ProviderUnionIDGT ¶
func ProviderUnionIDGT(v string) predicate.UserIdentities
ProviderUnionIDGT applies the GT predicate on the "provider_union_id" field.
func ProviderUnionIDGTE ¶
func ProviderUnionIDGTE(v string) predicate.UserIdentities
ProviderUnionIDGTE applies the GTE predicate on the "provider_union_id" field.
func ProviderUnionIDHasPrefix ¶
func ProviderUnionIDHasPrefix(v string) predicate.UserIdentities
ProviderUnionIDHasPrefix applies the HasPrefix predicate on the "provider_union_id" field.
func ProviderUnionIDHasSuffix ¶
func ProviderUnionIDHasSuffix(v string) predicate.UserIdentities
ProviderUnionIDHasSuffix applies the HasSuffix predicate on the "provider_union_id" field.
func ProviderUnionIDIn ¶
func ProviderUnionIDIn(vs ...string) predicate.UserIdentities
ProviderUnionIDIn applies the In predicate on the "provider_union_id" field.
func ProviderUnionIDIsNil ¶
func ProviderUnionIDIsNil() predicate.UserIdentities
ProviderUnionIDIsNil applies the IsNil predicate on the "provider_union_id" field.
func ProviderUnionIDLT ¶
func ProviderUnionIDLT(v string) predicate.UserIdentities
ProviderUnionIDLT applies the LT predicate on the "provider_union_id" field.
func ProviderUnionIDLTE ¶
func ProviderUnionIDLTE(v string) predicate.UserIdentities
ProviderUnionIDLTE applies the LTE predicate on the "provider_union_id" field.
func ProviderUnionIDNEQ ¶
func ProviderUnionIDNEQ(v string) predicate.UserIdentities
ProviderUnionIDNEQ applies the NEQ predicate on the "provider_union_id" field.
func ProviderUnionIDNotIn ¶
func ProviderUnionIDNotIn(vs ...string) predicate.UserIdentities
ProviderUnionIDNotIn applies the NotIn predicate on the "provider_union_id" field.
func ProviderUnionIDNotNil ¶
func ProviderUnionIDNotNil() predicate.UserIdentities
ProviderUnionIDNotNil applies the NotNil predicate on the "provider_union_id" field.
func ProviderUserID ¶
func ProviderUserID(v string) predicate.UserIdentities
ProviderUserID applies equality check predicate on the "provider_user_id" field. It's identical to ProviderUserIDEQ.
func ProviderUserIDContains ¶
func ProviderUserIDContains(v string) predicate.UserIdentities
ProviderUserIDContains applies the Contains predicate on the "provider_user_id" field.
func ProviderUserIDContainsFold ¶
func ProviderUserIDContainsFold(v string) predicate.UserIdentities
ProviderUserIDContainsFold applies the ContainsFold predicate on the "provider_user_id" field.
func ProviderUserIDEQ ¶
func ProviderUserIDEQ(v string) predicate.UserIdentities
ProviderUserIDEQ applies the EQ predicate on the "provider_user_id" field.
func ProviderUserIDEqualFold ¶
func ProviderUserIDEqualFold(v string) predicate.UserIdentities
ProviderUserIDEqualFold applies the EqualFold predicate on the "provider_user_id" field.
func ProviderUserIDGT ¶
func ProviderUserIDGT(v string) predicate.UserIdentities
ProviderUserIDGT applies the GT predicate on the "provider_user_id" field.
func ProviderUserIDGTE ¶
func ProviderUserIDGTE(v string) predicate.UserIdentities
ProviderUserIDGTE applies the GTE predicate on the "provider_user_id" field.
func ProviderUserIDHasPrefix ¶
func ProviderUserIDHasPrefix(v string) predicate.UserIdentities
ProviderUserIDHasPrefix applies the HasPrefix predicate on the "provider_user_id" field.
func ProviderUserIDHasSuffix ¶
func ProviderUserIDHasSuffix(v string) predicate.UserIdentities
ProviderUserIDHasSuffix applies the HasSuffix predicate on the "provider_user_id" field.
func ProviderUserIDIn ¶
func ProviderUserIDIn(vs ...string) predicate.UserIdentities
ProviderUserIDIn applies the In predicate on the "provider_user_id" field.
func ProviderUserIDLT ¶
func ProviderUserIDLT(v string) predicate.UserIdentities
ProviderUserIDLT applies the LT predicate on the "provider_user_id" field.
func ProviderUserIDLTE ¶
func ProviderUserIDLTE(v string) predicate.UserIdentities
ProviderUserIDLTE applies the LTE predicate on the "provider_user_id" field.
func ProviderUserIDNEQ ¶
func ProviderUserIDNEQ(v string) predicate.UserIdentities
ProviderUserIDNEQ applies the NEQ predicate on the "provider_user_id" field.
func ProviderUserIDNotIn ¶
func ProviderUserIDNotIn(vs ...string) predicate.UserIdentities
ProviderUserIDNotIn applies the NotIn predicate on the "provider_user_id" field.
func RefreshTokenEncrypted ¶
func RefreshTokenEncrypted(v []byte) predicate.UserIdentities
RefreshTokenEncrypted applies equality check predicate on the "refresh_token_encrypted" field. It's identical to RefreshTokenEncryptedEQ.
func RefreshTokenEncryptedEQ ¶
func RefreshTokenEncryptedEQ(v []byte) predicate.UserIdentities
RefreshTokenEncryptedEQ applies the EQ predicate on the "refresh_token_encrypted" field.
func RefreshTokenEncryptedGT ¶
func RefreshTokenEncryptedGT(v []byte) predicate.UserIdentities
RefreshTokenEncryptedGT applies the GT predicate on the "refresh_token_encrypted" field.
func RefreshTokenEncryptedGTE ¶
func RefreshTokenEncryptedGTE(v []byte) predicate.UserIdentities
RefreshTokenEncryptedGTE applies the GTE predicate on the "refresh_token_encrypted" field.
func RefreshTokenEncryptedIn ¶
func RefreshTokenEncryptedIn(vs ...[]byte) predicate.UserIdentities
RefreshTokenEncryptedIn applies the In predicate on the "refresh_token_encrypted" field.
func RefreshTokenEncryptedIsNil ¶
func RefreshTokenEncryptedIsNil() predicate.UserIdentities
RefreshTokenEncryptedIsNil applies the IsNil predicate on the "refresh_token_encrypted" field.
func RefreshTokenEncryptedLT ¶
func RefreshTokenEncryptedLT(v []byte) predicate.UserIdentities
RefreshTokenEncryptedLT applies the LT predicate on the "refresh_token_encrypted" field.
func RefreshTokenEncryptedLTE ¶
func RefreshTokenEncryptedLTE(v []byte) predicate.UserIdentities
RefreshTokenEncryptedLTE applies the LTE predicate on the "refresh_token_encrypted" field.
func RefreshTokenEncryptedNEQ ¶
func RefreshTokenEncryptedNEQ(v []byte) predicate.UserIdentities
RefreshTokenEncryptedNEQ applies the NEQ predicate on the "refresh_token_encrypted" field.
func RefreshTokenEncryptedNotIn ¶
func RefreshTokenEncryptedNotIn(vs ...[]byte) predicate.UserIdentities
RefreshTokenEncryptedNotIn applies the NotIn predicate on the "refresh_token_encrypted" field.
func RefreshTokenEncryptedNotNil ¶
func RefreshTokenEncryptedNotNil() predicate.UserIdentities
RefreshTokenEncryptedNotNil applies the NotNil predicate on the "refresh_token_encrypted" field.
func TokenExpiresAt ¶
func TokenExpiresAt(v time.Time) predicate.UserIdentities
TokenExpiresAt applies equality check predicate on the "token_expires_at" field. It's identical to TokenExpiresAtEQ.
func TokenExpiresAtEQ ¶
func TokenExpiresAtEQ(v time.Time) predicate.UserIdentities
TokenExpiresAtEQ applies the EQ predicate on the "token_expires_at" field.
func TokenExpiresAtGT ¶
func TokenExpiresAtGT(v time.Time) predicate.UserIdentities
TokenExpiresAtGT applies the GT predicate on the "token_expires_at" field.
func TokenExpiresAtGTE ¶
func TokenExpiresAtGTE(v time.Time) predicate.UserIdentities
TokenExpiresAtGTE applies the GTE predicate on the "token_expires_at" field.
func TokenExpiresAtIn ¶
func TokenExpiresAtIn(vs ...time.Time) predicate.UserIdentities
TokenExpiresAtIn applies the In predicate on the "token_expires_at" field.
func TokenExpiresAtIsNil ¶
func TokenExpiresAtIsNil() predicate.UserIdentities
TokenExpiresAtIsNil applies the IsNil predicate on the "token_expires_at" field.
func TokenExpiresAtLT ¶
func TokenExpiresAtLT(v time.Time) predicate.UserIdentities
TokenExpiresAtLT applies the LT predicate on the "token_expires_at" field.
func TokenExpiresAtLTE ¶
func TokenExpiresAtLTE(v time.Time) predicate.UserIdentities
TokenExpiresAtLTE applies the LTE predicate on the "token_expires_at" field.
func TokenExpiresAtNEQ ¶
func TokenExpiresAtNEQ(v time.Time) predicate.UserIdentities
TokenExpiresAtNEQ applies the NEQ predicate on the "token_expires_at" field.
func TokenExpiresAtNotIn ¶
func TokenExpiresAtNotIn(vs ...time.Time) predicate.UserIdentities
TokenExpiresAtNotIn applies the NotIn predicate on the "token_expires_at" field.
func TokenExpiresAtNotNil ¶
func TokenExpiresAtNotNil() predicate.UserIdentities
TokenExpiresAtNotNil applies the NotNil predicate on the "token_expires_at" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.UserIdentities
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.UserIdentities
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.UserIdentities
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.UserIdentities
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.UserIdentities
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.UserIdentities
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.UserIdentities
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.UserIdentities
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.UserIdentities
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v int64) predicate.UserIdentities
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
func UpdatedByEQ(v int64) predicate.UserIdentities
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v int64) predicate.UserIdentities
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v int64) predicate.UserIdentities
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...int64) predicate.UserIdentities
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.UserIdentities
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v int64) predicate.UserIdentities
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v int64) predicate.UserIdentities
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v int64) predicate.UserIdentities
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...int64) predicate.UserIdentities
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.UserIdentities
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶
func UserID(v int) predicate.UserIdentities
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int) predicate.UserIdentities
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int) predicate.UserIdentities
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int) predicate.UserIdentities
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int) predicate.UserIdentities
UserIDNotIn applies the NotIn predicate on the "user_id" 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 UserIdentities queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastLoginAt ¶
func ByLastLoginAt(opts ...sql.OrderTermOption) OrderOption
ByLastLoginAt orders the results by the last_login_at field.
func ByLionAuthProvidersField ¶
func ByLionAuthProvidersField(field string, opts ...sql.OrderTermOption) OrderOption
ByLionAuthProvidersField orders the results by lion_auth_providers field.
func ByLionUsersField ¶
func ByLionUsersField(field string, opts ...sql.OrderTermOption) OrderOption
ByLionUsersField orders the results by lion_users field.
func ByMfaEnabled ¶
func ByMfaEnabled(opts ...sql.OrderTermOption) OrderOption
ByMfaEnabled orders the results by the mfa_enabled field.
func ByPasswordChangedAt ¶
func ByPasswordChangedAt(opts ...sql.OrderTermOption) OrderOption
ByPasswordChangedAt orders the results by the password_changed_at field.
func ByPasswordExpiresAt ¶
func ByPasswordExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByPasswordExpiresAt orders the results by the password_expires_at field.
func ByPasswordHash ¶
func ByPasswordHash(opts ...sql.OrderTermOption) OrderOption
ByPasswordHash orders the results by the password_hash field.
func ByProviderID ¶
func ByProviderID(opts ...sql.OrderTermOption) OrderOption
ByProviderID orders the results by the provider_id field.
func ByProviderUnionID ¶
func ByProviderUnionID(opts ...sql.OrderTermOption) OrderOption
ByProviderUnionID orders the results by the provider_union_id field.
func ByProviderUserID ¶
func ByProviderUserID(opts ...sql.OrderTermOption) OrderOption
ByProviderUserID orders the results by the provider_user_id field.
func ByTokenExpiresAt ¶
func ByTokenExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByTokenExpiresAt orders the results by the token_expires_at field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.