userloginprofile

package
v0.0.0-...-c1ffc38 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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"

Columns holds all SQL columns for userloginprofile fields.

Functions

func And

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 ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

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

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

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

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

Not applies the not operator on the given predicate.

func Or

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

func SetKindValidator(sk SetKind) error

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

func ValidColumn(column string) bool

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

type OrderOption func(*sql.Selector)

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

func (e SetKind) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (SetKind) String

func (sk SetKind) String() string

func (*SetKind) UnmarshalGQL

func (e *SetKind) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL