Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserLoginProfile) predicate.UserLoginProfile
- func CanLogin(v bool) predicate.UserLoginProfile
- func CanLoginEQ(v bool) predicate.UserLoginProfile
- func CanLoginIsNil() predicate.UserLoginProfile
- func CanLoginNEQ(v bool) predicate.UserLoginProfile
- func CanLoginNotNil() predicate.UserLoginProfile
- func CreatedAt(v time.Time) predicate.UserLoginProfile
- func CreatedAtEQ(v time.Time) predicate.UserLoginProfile
- func CreatedAtGT(v time.Time) predicate.UserLoginProfile
- func CreatedAtGTE(v time.Time) predicate.UserLoginProfile
- func CreatedAtIn(vs ...time.Time) predicate.UserLoginProfile
- func CreatedAtLT(v time.Time) predicate.UserLoginProfile
- func CreatedAtLTE(v time.Time) predicate.UserLoginProfile
- func CreatedAtNEQ(v time.Time) predicate.UserLoginProfile
- func CreatedAtNotIn(vs ...time.Time) predicate.UserLoginProfile
- func CreatedBy(v int) predicate.UserLoginProfile
- func CreatedByEQ(v int) predicate.UserLoginProfile
- func CreatedByGT(v int) predicate.UserLoginProfile
- func CreatedByGTE(v int) predicate.UserLoginProfile
- func CreatedByIn(vs ...int) predicate.UserLoginProfile
- func CreatedByLT(v int) predicate.UserLoginProfile
- func CreatedByLTE(v int) predicate.UserLoginProfile
- func CreatedByNEQ(v int) predicate.UserLoginProfile
- func CreatedByNotIn(vs ...int) predicate.UserLoginProfile
- func HasUser() predicate.UserLoginProfile
- func HasUserWith(preds ...predicate.User) predicate.UserLoginProfile
- func ID(id int) predicate.UserLoginProfile
- func IDEQ(id int) predicate.UserLoginProfile
- func IDGT(id int) predicate.UserLoginProfile
- func IDGTE(id int) predicate.UserLoginProfile
- func IDIn(ids ...int) predicate.UserLoginProfile
- func IDLT(id int) predicate.UserLoginProfile
- func IDLTE(id int) predicate.UserLoginProfile
- func IDNEQ(id int) predicate.UserLoginProfile
- func IDNotIn(ids ...int) predicate.UserLoginProfile
- func LastLoginAt(v time.Time) predicate.UserLoginProfile
- func LastLoginAtEQ(v time.Time) predicate.UserLoginProfile
- func LastLoginAtGT(v time.Time) predicate.UserLoginProfile
- func LastLoginAtGTE(v time.Time) predicate.UserLoginProfile
- func LastLoginAtIn(vs ...time.Time) predicate.UserLoginProfile
- func LastLoginAtIsNil() predicate.UserLoginProfile
- func LastLoginAtLT(v time.Time) predicate.UserLoginProfile
- func LastLoginAtLTE(v time.Time) predicate.UserLoginProfile
- func LastLoginAtNEQ(v time.Time) predicate.UserLoginProfile
- func LastLoginAtNotIn(vs ...time.Time) predicate.UserLoginProfile
- func LastLoginAtNotNil() predicate.UserLoginProfile
- func LastLoginIP(v string) predicate.UserLoginProfile
- func LastLoginIPContains(v string) predicate.UserLoginProfile
- func LastLoginIPContainsFold(v string) predicate.UserLoginProfile
- func LastLoginIPEQ(v string) predicate.UserLoginProfile
- func LastLoginIPEqualFold(v string) predicate.UserLoginProfile
- func LastLoginIPGT(v string) predicate.UserLoginProfile
- func LastLoginIPGTE(v string) predicate.UserLoginProfile
- func LastLoginIPHasPrefix(v string) predicate.UserLoginProfile
- func LastLoginIPHasSuffix(v string) predicate.UserLoginProfile
- func LastLoginIPIn(vs ...string) predicate.UserLoginProfile
- func LastLoginIPIsNil() predicate.UserLoginProfile
- func LastLoginIPLT(v string) predicate.UserLoginProfile
- func LastLoginIPLTE(v string) predicate.UserLoginProfile
- func LastLoginIPNEQ(v string) predicate.UserLoginProfile
- func LastLoginIPNotIn(vs ...string) predicate.UserLoginProfile
- func LastLoginIPNotNil() predicate.UserLoginProfile
- func MfaEnabled(v bool) predicate.UserLoginProfile
- func MfaEnabledEQ(v bool) predicate.UserLoginProfile
- func MfaEnabledIsNil() predicate.UserLoginProfile
- func MfaEnabledNEQ(v bool) predicate.UserLoginProfile
- func MfaEnabledNotNil() predicate.UserLoginProfile
- func MfaSecret(v string) predicate.UserLoginProfile
- func MfaSecretContains(v string) predicate.UserLoginProfile
- func MfaSecretContainsFold(v string) predicate.UserLoginProfile
- func MfaSecretEQ(v string) predicate.UserLoginProfile
- func MfaSecretEqualFold(v string) predicate.UserLoginProfile
- func MfaSecretGT(v string) predicate.UserLoginProfile
- func MfaSecretGTE(v string) predicate.UserLoginProfile
- func MfaSecretHasPrefix(v string) predicate.UserLoginProfile
- func MfaSecretHasSuffix(v string) predicate.UserLoginProfile
- func MfaSecretIn(vs ...string) predicate.UserLoginProfile
- func MfaSecretIsNil() predicate.UserLoginProfile
- func MfaSecretLT(v string) predicate.UserLoginProfile
- func MfaSecretLTE(v string) predicate.UserLoginProfile
- func MfaSecretNEQ(v string) predicate.UserLoginProfile
- func MfaSecretNotIn(vs ...string) predicate.UserLoginProfile
- func MfaSecretNotNil() predicate.UserLoginProfile
- func MfaStatusEQ(v typex.SimpleStatus) predicate.UserLoginProfile
- func MfaStatusIn(vs ...typex.SimpleStatus) predicate.UserLoginProfile
- func MfaStatusIsNil() predicate.UserLoginProfile
- func MfaStatusNEQ(v typex.SimpleStatus) predicate.UserLoginProfile
- func MfaStatusNotIn(vs ...typex.SimpleStatus) predicate.UserLoginProfile
- func MfaStatusNotNil() predicate.UserLoginProfile
- func MfaStatusValidator(ms typex.SimpleStatus) error
- func Not(p predicate.UserLoginProfile) predicate.UserLoginProfile
- func Or(predicates ...predicate.UserLoginProfile) predicate.UserLoginProfile
- func PasswordReset(v bool) predicate.UserLoginProfile
- func PasswordResetEQ(v bool) predicate.UserLoginProfile
- func PasswordResetIsNil() predicate.UserLoginProfile
- func PasswordResetNEQ(v bool) predicate.UserLoginProfile
- func PasswordResetNotNil() predicate.UserLoginProfile
- func SetKindEQ(v SetKind) predicate.UserLoginProfile
- func SetKindIn(vs ...SetKind) predicate.UserLoginProfile
- func SetKindNEQ(v SetKind) predicate.UserLoginProfile
- func SetKindNotIn(vs ...SetKind) predicate.UserLoginProfile
- func SetKindValidator(sk SetKind) error
- func UpdatedAt(v time.Time) predicate.UserLoginProfile
- func UpdatedAtEQ(v time.Time) predicate.UserLoginProfile
- func UpdatedAtGT(v time.Time) predicate.UserLoginProfile
- func UpdatedAtGTE(v time.Time) predicate.UserLoginProfile
- func UpdatedAtIn(vs ...time.Time) predicate.UserLoginProfile
- func UpdatedAtIsNil() predicate.UserLoginProfile
- func UpdatedAtLT(v time.Time) predicate.UserLoginProfile
- func UpdatedAtLTE(v time.Time) predicate.UserLoginProfile
- func UpdatedAtNEQ(v time.Time) predicate.UserLoginProfile
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserLoginProfile
- func UpdatedAtNotNil() predicate.UserLoginProfile
- func UpdatedBy(v int) predicate.UserLoginProfile
- func UpdatedByEQ(v int) predicate.UserLoginProfile
- func UpdatedByGT(v int) predicate.UserLoginProfile
- func UpdatedByGTE(v int) predicate.UserLoginProfile
- func UpdatedByIn(vs ...int) predicate.UserLoginProfile
- func UpdatedByIsNil() predicate.UserLoginProfile
- func UpdatedByLT(v int) predicate.UserLoginProfile
- func UpdatedByLTE(v int) predicate.UserLoginProfile
- func UpdatedByNEQ(v int) predicate.UserLoginProfile
- func UpdatedByNotIn(vs ...int) predicate.UserLoginProfile
- func UpdatedByNotNil() predicate.UserLoginProfile
- func UserID(v int) predicate.UserLoginProfile
- func UserIDEQ(v int) predicate.UserLoginProfile
- func UserIDIn(vs ...int) predicate.UserLoginProfile
- func UserIDIsNil() predicate.UserLoginProfile
- func UserIDNEQ(v int) predicate.UserLoginProfile
- func UserIDNotIn(vs ...int) predicate.UserLoginProfile
- func UserIDNotNil() predicate.UserLoginProfile
- func ValidColumn(column string) bool
- func VerifyDevice(v bool) predicate.UserLoginProfile
- func VerifyDeviceEQ(v bool) predicate.UserLoginProfile
- func VerifyDeviceNEQ(v bool) predicate.UserLoginProfile
- type OrderOption
- func ByCanLogin(opts ...sql.OrderTermOption) 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 ByLastLoginIP(opts ...sql.OrderTermOption) OrderOption
- func ByMfaEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByMfaSecret(opts ...sql.OrderTermOption) OrderOption
- func ByMfaStatus(opts ...sql.OrderTermOption) OrderOption
- func ByPasswordReset(opts ...sql.OrderTermOption) OrderOption
- func BySetKind(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByVerifyDevice(opts ...sql.OrderTermOption) OrderOption
- type SetKind
Constants ¶
const ( // Label holds the string label denoting the userloginprofile type in the database. Label = "user_login_profile" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldLastLoginIP holds the string denoting the last_login_ip field in the database. FieldLastLoginIP = "last_login_ip" // FieldLastLoginAt holds the string denoting the last_login_at field in the database. FieldLastLoginAt = "last_login_at" // FieldCanLogin holds the string denoting the can_login field in the database. FieldCanLogin = "can_login" // FieldSetKind holds the string denoting the set_kind field in the database. FieldSetKind = "set_kind" // FieldPasswordReset holds the string denoting the password_reset field in the database. FieldPasswordReset = "password_reset" // FieldVerifyDevice holds the string denoting the verify_device field in the database. FieldVerifyDevice = "verify_device" // FieldMfaEnabled holds the string denoting the mfa_enabled field in the database. FieldMfaEnabled = "mfa_enabled" // FieldMfaSecret holds the string denoting the mfa_secret field in the database. FieldMfaSecret = "mfa_secret" // FieldMfaStatus holds the string denoting the mfa_status field in the database. FieldMfaStatus = "mfa_status" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the userloginprofile in the database. Table = "user_login_profile" // UserTable is the table that holds the user relation/edge. UserTable = "user_login_profile" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "user" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
Variables ¶
var ( Hooks [2]ent.Hook // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // MfaSecretValidator is a validator for the "mfa_secret" field. It is called by the builders before save. MfaSecretValidator func(string) error )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/woocoos/knockout/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedBy, FieldCreatedAt, FieldUpdatedBy, FieldUpdatedAt, FieldUserID, FieldLastLoginIP, FieldLastLoginAt, FieldCanLogin, FieldSetKind, FieldPasswordReset, FieldVerifyDevice, FieldMfaEnabled, FieldMfaSecret, FieldMfaStatus, }
Columns holds all SQL columns for userloginprofile fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserLoginProfile) predicate.UserLoginProfile
And groups predicates with the AND operator between them.
func CanLogin ¶
func CanLogin(v bool) predicate.UserLoginProfile
CanLogin applies equality check predicate on the "can_login" field. It's identical to CanLoginEQ.
func CanLoginEQ ¶
func CanLoginEQ(v bool) predicate.UserLoginProfile
CanLoginEQ applies the EQ predicate on the "can_login" field.
func CanLoginIsNil ¶
func CanLoginIsNil() predicate.UserLoginProfile
CanLoginIsNil applies the IsNil predicate on the "can_login" field.
func CanLoginNEQ ¶
func CanLoginNEQ(v bool) predicate.UserLoginProfile
CanLoginNEQ applies the NEQ predicate on the "can_login" field.
func CanLoginNotNil ¶
func CanLoginNotNil() predicate.UserLoginProfile
CanLoginNotNil applies the NotNil predicate on the "can_login" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.UserLoginProfile
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.UserLoginProfile
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.UserLoginProfile
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.UserLoginProfile
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.UserLoginProfile
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.UserLoginProfile
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.UserLoginProfile
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.UserLoginProfile
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.UserLoginProfile
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v int) predicate.UserLoginProfile
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v int) predicate.UserLoginProfile
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v int) predicate.UserLoginProfile
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v int) predicate.UserLoginProfile
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...int) predicate.UserLoginProfile
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v int) predicate.UserLoginProfile
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v int) predicate.UserLoginProfile
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v int) predicate.UserLoginProfile
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...int) predicate.UserLoginProfile
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func HasUser ¶
func HasUser() predicate.UserLoginProfile
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.UserLoginProfile
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.UserLoginProfile
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.UserLoginProfile
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.UserLoginProfile
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserLoginProfile
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.UserLoginProfile
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserLoginProfile
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserLoginProfile
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserLoginProfile
IDNotIn applies the NotIn predicate on the ID field.
func LastLoginAt ¶
func LastLoginAt(v time.Time) predicate.UserLoginProfile
LastLoginAt applies equality check predicate on the "last_login_at" field. It's identical to LastLoginAtEQ.
func LastLoginAtEQ ¶
func LastLoginAtEQ(v time.Time) predicate.UserLoginProfile
LastLoginAtEQ applies the EQ predicate on the "last_login_at" field.
func LastLoginAtGT ¶
func LastLoginAtGT(v time.Time) predicate.UserLoginProfile
LastLoginAtGT applies the GT predicate on the "last_login_at" field.
func LastLoginAtGTE ¶
func LastLoginAtGTE(v time.Time) predicate.UserLoginProfile
LastLoginAtGTE applies the GTE predicate on the "last_login_at" field.
func LastLoginAtIn ¶
func LastLoginAtIn(vs ...time.Time) predicate.UserLoginProfile
LastLoginAtIn applies the In predicate on the "last_login_at" field.
func LastLoginAtIsNil ¶
func LastLoginAtIsNil() predicate.UserLoginProfile
LastLoginAtIsNil applies the IsNil predicate on the "last_login_at" field.
func LastLoginAtLT ¶
func LastLoginAtLT(v time.Time) predicate.UserLoginProfile
LastLoginAtLT applies the LT predicate on the "last_login_at" field.
func LastLoginAtLTE ¶
func LastLoginAtLTE(v time.Time) predicate.UserLoginProfile
LastLoginAtLTE applies the LTE predicate on the "last_login_at" field.
func LastLoginAtNEQ ¶
func LastLoginAtNEQ(v time.Time) predicate.UserLoginProfile
LastLoginAtNEQ applies the NEQ predicate on the "last_login_at" field.
func LastLoginAtNotIn ¶
func LastLoginAtNotIn(vs ...time.Time) predicate.UserLoginProfile
LastLoginAtNotIn applies the NotIn predicate on the "last_login_at" field.
func LastLoginAtNotNil ¶
func LastLoginAtNotNil() predicate.UserLoginProfile
LastLoginAtNotNil applies the NotNil predicate on the "last_login_at" field.
func LastLoginIP ¶
func LastLoginIP(v string) predicate.UserLoginProfile
LastLoginIP applies equality check predicate on the "last_login_ip" field. It's identical to LastLoginIPEQ.
func LastLoginIPContains ¶
func LastLoginIPContains(v string) predicate.UserLoginProfile
LastLoginIPContains applies the Contains predicate on the "last_login_ip" field.
func LastLoginIPContainsFold ¶
func LastLoginIPContainsFold(v string) predicate.UserLoginProfile
LastLoginIPContainsFold applies the ContainsFold predicate on the "last_login_ip" field.
func LastLoginIPEQ ¶
func LastLoginIPEQ(v string) predicate.UserLoginProfile
LastLoginIPEQ applies the EQ predicate on the "last_login_ip" field.
func LastLoginIPEqualFold ¶
func LastLoginIPEqualFold(v string) predicate.UserLoginProfile
LastLoginIPEqualFold applies the EqualFold predicate on the "last_login_ip" field.
func LastLoginIPGT ¶
func LastLoginIPGT(v string) predicate.UserLoginProfile
LastLoginIPGT applies the GT predicate on the "last_login_ip" field.
func LastLoginIPGTE ¶
func LastLoginIPGTE(v string) predicate.UserLoginProfile
LastLoginIPGTE applies the GTE predicate on the "last_login_ip" field.
func LastLoginIPHasPrefix ¶
func LastLoginIPHasPrefix(v string) predicate.UserLoginProfile
LastLoginIPHasPrefix applies the HasPrefix predicate on the "last_login_ip" field.
func LastLoginIPHasSuffix ¶
func LastLoginIPHasSuffix(v string) predicate.UserLoginProfile
LastLoginIPHasSuffix applies the HasSuffix predicate on the "last_login_ip" field.
func LastLoginIPIn ¶
func LastLoginIPIn(vs ...string) predicate.UserLoginProfile
LastLoginIPIn applies the In predicate on the "last_login_ip" field.
func LastLoginIPIsNil ¶
func LastLoginIPIsNil() predicate.UserLoginProfile
LastLoginIPIsNil applies the IsNil predicate on the "last_login_ip" field.
func LastLoginIPLT ¶
func LastLoginIPLT(v string) predicate.UserLoginProfile
LastLoginIPLT applies the LT predicate on the "last_login_ip" field.
func LastLoginIPLTE ¶
func LastLoginIPLTE(v string) predicate.UserLoginProfile
LastLoginIPLTE applies the LTE predicate on the "last_login_ip" field.
func LastLoginIPNEQ ¶
func LastLoginIPNEQ(v string) predicate.UserLoginProfile
LastLoginIPNEQ applies the NEQ predicate on the "last_login_ip" field.
func LastLoginIPNotIn ¶
func LastLoginIPNotIn(vs ...string) predicate.UserLoginProfile
LastLoginIPNotIn applies the NotIn predicate on the "last_login_ip" field.
func LastLoginIPNotNil ¶
func LastLoginIPNotNil() predicate.UserLoginProfile
LastLoginIPNotNil applies the NotNil predicate on the "last_login_ip" field.
func MfaEnabled ¶
func MfaEnabled(v bool) predicate.UserLoginProfile
MfaEnabled applies equality check predicate on the "mfa_enabled" field. It's identical to MfaEnabledEQ.
func MfaEnabledEQ ¶
func MfaEnabledEQ(v bool) predicate.UserLoginProfile
MfaEnabledEQ applies the EQ predicate on the "mfa_enabled" field.
func MfaEnabledIsNil ¶
func MfaEnabledIsNil() predicate.UserLoginProfile
MfaEnabledIsNil applies the IsNil predicate on the "mfa_enabled" field.
func MfaEnabledNEQ ¶
func MfaEnabledNEQ(v bool) predicate.UserLoginProfile
MfaEnabledNEQ applies the NEQ predicate on the "mfa_enabled" field.
func MfaEnabledNotNil ¶
func MfaEnabledNotNil() predicate.UserLoginProfile
MfaEnabledNotNil applies the NotNil predicate on the "mfa_enabled" field.
func MfaSecret ¶
func MfaSecret(v string) predicate.UserLoginProfile
MfaSecret applies equality check predicate on the "mfa_secret" field. It's identical to MfaSecretEQ.
func MfaSecretContains ¶
func MfaSecretContains(v string) predicate.UserLoginProfile
MfaSecretContains applies the Contains predicate on the "mfa_secret" field.
func MfaSecretContainsFold ¶
func MfaSecretContainsFold(v string) predicate.UserLoginProfile
MfaSecretContainsFold applies the ContainsFold predicate on the "mfa_secret" field.
func MfaSecretEQ ¶
func MfaSecretEQ(v string) predicate.UserLoginProfile
MfaSecretEQ applies the EQ predicate on the "mfa_secret" field.
func MfaSecretEqualFold ¶
func MfaSecretEqualFold(v string) predicate.UserLoginProfile
MfaSecretEqualFold applies the EqualFold predicate on the "mfa_secret" field.
func MfaSecretGT ¶
func MfaSecretGT(v string) predicate.UserLoginProfile
MfaSecretGT applies the GT predicate on the "mfa_secret" field.
func MfaSecretGTE ¶
func MfaSecretGTE(v string) predicate.UserLoginProfile
MfaSecretGTE applies the GTE predicate on the "mfa_secret" field.
func MfaSecretHasPrefix ¶
func MfaSecretHasPrefix(v string) predicate.UserLoginProfile
MfaSecretHasPrefix applies the HasPrefix predicate on the "mfa_secret" field.
func MfaSecretHasSuffix ¶
func MfaSecretHasSuffix(v string) predicate.UserLoginProfile
MfaSecretHasSuffix applies the HasSuffix predicate on the "mfa_secret" field.
func MfaSecretIn ¶
func MfaSecretIn(vs ...string) predicate.UserLoginProfile
MfaSecretIn applies the In predicate on the "mfa_secret" field.
func MfaSecretIsNil ¶
func MfaSecretIsNil() predicate.UserLoginProfile
MfaSecretIsNil applies the IsNil predicate on the "mfa_secret" field.
func MfaSecretLT ¶
func MfaSecretLT(v string) predicate.UserLoginProfile
MfaSecretLT applies the LT predicate on the "mfa_secret" field.
func MfaSecretLTE ¶
func MfaSecretLTE(v string) predicate.UserLoginProfile
MfaSecretLTE applies the LTE predicate on the "mfa_secret" field.
func MfaSecretNEQ ¶
func MfaSecretNEQ(v string) predicate.UserLoginProfile
MfaSecretNEQ applies the NEQ predicate on the "mfa_secret" field.
func MfaSecretNotIn ¶
func MfaSecretNotIn(vs ...string) predicate.UserLoginProfile
MfaSecretNotIn applies the NotIn predicate on the "mfa_secret" field.
func MfaSecretNotNil ¶
func MfaSecretNotNil() predicate.UserLoginProfile
MfaSecretNotNil applies the NotNil predicate on the "mfa_secret" field.
func MfaStatusEQ ¶
func MfaStatusEQ(v typex.SimpleStatus) predicate.UserLoginProfile
MfaStatusEQ applies the EQ predicate on the "mfa_status" field.
func MfaStatusIn ¶
func MfaStatusIn(vs ...typex.SimpleStatus) predicate.UserLoginProfile
MfaStatusIn applies the In predicate on the "mfa_status" field.
func MfaStatusIsNil ¶
func MfaStatusIsNil() predicate.UserLoginProfile
MfaStatusIsNil applies the IsNil predicate on the "mfa_status" field.
func MfaStatusNEQ ¶
func MfaStatusNEQ(v typex.SimpleStatus) predicate.UserLoginProfile
MfaStatusNEQ applies the NEQ predicate on the "mfa_status" field.
func MfaStatusNotIn ¶
func MfaStatusNotIn(vs ...typex.SimpleStatus) predicate.UserLoginProfile
MfaStatusNotIn applies the NotIn predicate on the "mfa_status" field.
func MfaStatusNotNil ¶
func MfaStatusNotNil() predicate.UserLoginProfile
MfaStatusNotNil applies the NotNil predicate on the "mfa_status" field.
func MfaStatusValidator ¶
func MfaStatusValidator(ms typex.SimpleStatus) error
MfaStatusValidator is a validator for the "mfa_status" field enum values. It is called by the builders before save.
func Not ¶
func Not(p predicate.UserLoginProfile) predicate.UserLoginProfile
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserLoginProfile) predicate.UserLoginProfile
Or groups predicates with the OR operator between them.
func PasswordReset ¶
func PasswordReset(v bool) predicate.UserLoginProfile
PasswordReset applies equality check predicate on the "password_reset" field. It's identical to PasswordResetEQ.
func PasswordResetEQ ¶
func PasswordResetEQ(v bool) predicate.UserLoginProfile
PasswordResetEQ applies the EQ predicate on the "password_reset" field.
func PasswordResetIsNil ¶
func PasswordResetIsNil() predicate.UserLoginProfile
PasswordResetIsNil applies the IsNil predicate on the "password_reset" field.
func PasswordResetNEQ ¶
func PasswordResetNEQ(v bool) predicate.UserLoginProfile
PasswordResetNEQ applies the NEQ predicate on the "password_reset" field.
func PasswordResetNotNil ¶
func PasswordResetNotNil() predicate.UserLoginProfile
PasswordResetNotNil applies the NotNil predicate on the "password_reset" field.
func SetKindEQ ¶
func SetKindEQ(v SetKind) predicate.UserLoginProfile
SetKindEQ applies the EQ predicate on the "set_kind" field.
func SetKindIn ¶
func SetKindIn(vs ...SetKind) predicate.UserLoginProfile
SetKindIn applies the In predicate on the "set_kind" field.
func SetKindNEQ ¶
func SetKindNEQ(v SetKind) predicate.UserLoginProfile
SetKindNEQ applies the NEQ predicate on the "set_kind" field.
func SetKindNotIn ¶
func SetKindNotIn(vs ...SetKind) predicate.UserLoginProfile
SetKindNotIn applies the NotIn predicate on the "set_kind" field.
func SetKindValidator ¶
SetKindValidator is a validator for the "set_kind" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.UserLoginProfile
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.UserLoginProfile
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.UserLoginProfile
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.UserLoginProfile
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.UserLoginProfile
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.UserLoginProfile
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.UserLoginProfile
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.UserLoginProfile
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.UserLoginProfile
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.UserLoginProfile
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.UserLoginProfile
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v int) predicate.UserLoginProfile
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
func UpdatedByEQ(v int) predicate.UserLoginProfile
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v int) predicate.UserLoginProfile
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v int) predicate.UserLoginProfile
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...int) predicate.UserLoginProfile
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.UserLoginProfile
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v int) predicate.UserLoginProfile
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v int) predicate.UserLoginProfile
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v int) predicate.UserLoginProfile
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...int) predicate.UserLoginProfile
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.UserLoginProfile
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶
func UserID(v int) predicate.UserLoginProfile
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int) predicate.UserLoginProfile
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int) predicate.UserLoginProfile
UserIDIn applies the In predicate on the "user_id" field.
func UserIDIsNil ¶
func UserIDIsNil() predicate.UserLoginProfile
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int) predicate.UserLoginProfile
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int) predicate.UserLoginProfile
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
func UserIDNotNil() predicate.UserLoginProfile
UserIDNotNil applies the NotNil predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VerifyDevice ¶
func VerifyDevice(v bool) predicate.UserLoginProfile
VerifyDevice applies equality check predicate on the "verify_device" field. It's identical to VerifyDeviceEQ.
func VerifyDeviceEQ ¶
func VerifyDeviceEQ(v bool) predicate.UserLoginProfile
VerifyDeviceEQ applies the EQ predicate on the "verify_device" field.
func VerifyDeviceNEQ ¶
func VerifyDeviceNEQ(v bool) predicate.UserLoginProfile
VerifyDeviceNEQ applies the NEQ predicate on the "verify_device" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the UserLoginProfile queries.
func ByCanLogin ¶
func ByCanLogin(opts ...sql.OrderTermOption) OrderOption
ByCanLogin orders the results by the can_login field.
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 ByLastLoginIP ¶
func ByLastLoginIP(opts ...sql.OrderTermOption) OrderOption
ByLastLoginIP orders the results by the last_login_ip field.
func ByMfaEnabled ¶
func ByMfaEnabled(opts ...sql.OrderTermOption) OrderOption
ByMfaEnabled orders the results by the mfa_enabled field.
func ByMfaSecret ¶
func ByMfaSecret(opts ...sql.OrderTermOption) OrderOption
ByMfaSecret orders the results by the mfa_secret field.
func ByMfaStatus ¶
func ByMfaStatus(opts ...sql.OrderTermOption) OrderOption
ByMfaStatus orders the results by the mfa_status field.
func ByPasswordReset ¶
func ByPasswordReset(opts ...sql.OrderTermOption) OrderOption
ByPasswordReset orders the results by the password_reset field.
func BySetKind ¶
func BySetKind(opts ...sql.OrderTermOption) OrderOption
BySetKind orders the results by the set_kind 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 ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
func ByVerifyDevice ¶
func ByVerifyDevice(opts ...sql.OrderTermOption) OrderOption
ByVerifyDevice orders the results by the verify_device field.
type SetKind ¶
type SetKind string
SetKind defines the type for the "set_kind" enum field.
const ( SetKindKeep SetKind = "keep" SetKindCustomer SetKind = "customer" SetKindAuto SetKind = "auto" )
SetKind values.
func (SetKind) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*SetKind) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.