tfasetting

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the tfasetting type in the database.
	Label = "tfa_setting"
	// 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"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldTfaSecret holds the string denoting the tfa_secret field in the database.
	FieldTfaSecret = "tfa_secret"
	// FieldVerified holds the string denoting the verified field in the database.
	FieldVerified = "verified"
	// FieldRecoveryCodes holds the string denoting the recovery_codes field in the database.
	FieldRecoveryCodes = "recovery_codes"
	// FieldPhoneOtpAllowed holds the string denoting the phone_otp_allowed field in the database.
	FieldPhoneOtpAllowed = "phone_otp_allowed"
	// FieldEmailOtpAllowed holds the string denoting the email_otp_allowed field in the database.
	FieldEmailOtpAllowed = "email_otp_allowed"
	// FieldTotpAllowed holds the string denoting the totp_allowed field in the database.
	FieldTotpAllowed = "totp_allowed"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// Table holds the table name of the tfasetting in the database.
	Table = "tfa_settings"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "tfa_settings"
	// OwnerInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	OwnerInverseTable = "users"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
)

Variables

View Source
var (
	Hooks        [4]ent.Hook
	Interceptors [1]ent.Interceptor
	// 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
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// DefaultVerified holds the default value on creation for the "verified" field.
	DefaultVerified bool
	// DefaultPhoneOtpAllowed holds the default value on creation for the "phone_otp_allowed" field.
	DefaultPhoneOtpAllowed bool
	// DefaultEmailOtpAllowed holds the default value on creation for the "email_otp_allowed" field.
	DefaultEmailOtpAllowed bool
	// DefaultTotpAllowed holds the default value on creation for the "totp_allowed" field.
	DefaultTotpAllowed bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

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/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for tfasetting fields.

Functions

func And

func And(predicates ...predicate.TFASetting) predicate.TFASetting

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.TFASetting

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.TFASetting

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.TFASetting

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.TFASetting

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.TFASetting

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.TFASetting

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.TFASetting

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.TFASetting

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.TFASetting

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.TFASetting

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.TFASetting

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.TFASetting

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.TFASetting

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.TFASetting

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.TFASetting

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.TFASetting

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.TFASetting

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.TFASetting

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.TFASetting

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.TFASetting

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.TFASetting

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.TFASetting

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.TFASetting

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.TFASetting

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.TFASetting

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.TFASetting

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.TFASetting

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.TFASetting

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.TFASetting

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.TFASetting

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.TFASetting

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.TFASetting

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.TFASetting

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.TFASetting

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.TFASetting

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.TFASetting

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.TFASetting

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.TFASetting

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.TFASetting

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.TFASetting

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.TFASetting

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.TFASetting

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.TFASetting

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.TFASetting

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.TFASetting

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.TFASetting

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.TFASetting

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.TFASetting

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.TFASetting

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.TFASetting

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.TFASetting

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.TFASetting

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.TFASetting

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.TFASetting

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func EmailOtpAllowed

func EmailOtpAllowed(v bool) predicate.TFASetting

EmailOtpAllowed applies equality check predicate on the "email_otp_allowed" field. It's identical to EmailOtpAllowedEQ.

func EmailOtpAllowedEQ

func EmailOtpAllowedEQ(v bool) predicate.TFASetting

EmailOtpAllowedEQ applies the EQ predicate on the "email_otp_allowed" field.

func EmailOtpAllowedIsNil

func EmailOtpAllowedIsNil() predicate.TFASetting

EmailOtpAllowedIsNil applies the IsNil predicate on the "email_otp_allowed" field.

func EmailOtpAllowedNEQ

func EmailOtpAllowedNEQ(v bool) predicate.TFASetting

EmailOtpAllowedNEQ applies the NEQ predicate on the "email_otp_allowed" field.

func EmailOtpAllowedNotNil

func EmailOtpAllowedNotNil() predicate.TFASetting

EmailOtpAllowedNotNil applies the NotNil predicate on the "email_otp_allowed" field.

func HasOwner

func HasOwner() predicate.TFASetting

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.User) predicate.TFASetting

HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.TFASetting

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.TFASetting

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.TFASetting

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.TFASetting

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.TFASetting

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.TFASetting

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.TFASetting

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.TFASetting

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.TFASetting

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.TFASetting

IDNotIn applies the NotIn predicate on the ID field.

func MappingID

func MappingID(v string) predicate.TFASetting

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains

func MappingIDContains(v string) predicate.TFASetting

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.TFASetting

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ

func MappingIDEQ(v string) predicate.TFASetting

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.TFASetting

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT

func MappingIDGT(v string) predicate.TFASetting

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE

func MappingIDGTE(v string) predicate.TFASetting

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.TFASetting

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.TFASetting

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn

func MappingIDIn(vs ...string) predicate.TFASetting

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT

func MappingIDLT(v string) predicate.TFASetting

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE

func MappingIDLTE(v string) predicate.TFASetting

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.TFASetting

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn

func MappingIDNotIn(vs ...string) predicate.TFASetting

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.TFASetting) predicate.TFASetting

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.TFASetting

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.TFASetting

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.TFASetting

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.TFASetting

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.TFASetting

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.TFASetting

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.TFASetting

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.TFASetting

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.TFASetting

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.TFASetting

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.TFASetting

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.TFASetting

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.TFASetting

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.TFASetting

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.TFASetting

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.TFASetting

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func PhoneOtpAllowed

func PhoneOtpAllowed(v bool) predicate.TFASetting

PhoneOtpAllowed applies equality check predicate on the "phone_otp_allowed" field. It's identical to PhoneOtpAllowedEQ.

func PhoneOtpAllowedEQ

func PhoneOtpAllowedEQ(v bool) predicate.TFASetting

PhoneOtpAllowedEQ applies the EQ predicate on the "phone_otp_allowed" field.

func PhoneOtpAllowedIsNil

func PhoneOtpAllowedIsNil() predicate.TFASetting

PhoneOtpAllowedIsNil applies the IsNil predicate on the "phone_otp_allowed" field.

func PhoneOtpAllowedNEQ

func PhoneOtpAllowedNEQ(v bool) predicate.TFASetting

PhoneOtpAllowedNEQ applies the NEQ predicate on the "phone_otp_allowed" field.

func PhoneOtpAllowedNotNil

func PhoneOtpAllowedNotNil() predicate.TFASetting

PhoneOtpAllowedNotNil applies the NotNil predicate on the "phone_otp_allowed" field.

func RecoveryCodesIsNil

func RecoveryCodesIsNil() predicate.TFASetting

RecoveryCodesIsNil applies the IsNil predicate on the "recovery_codes" field.

func RecoveryCodesNotNil

func RecoveryCodesNotNil() predicate.TFASetting

RecoveryCodesNotNil applies the NotNil predicate on the "recovery_codes" field.

func TagsIsNil

func TagsIsNil() predicate.TFASetting

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.TFASetting

TagsNotNil applies the NotNil predicate on the "tags" field.

func TfaSecret

func TfaSecret(v string) predicate.TFASetting

TfaSecret applies equality check predicate on the "tfa_secret" field. It's identical to TfaSecretEQ.

func TfaSecretContains

func TfaSecretContains(v string) predicate.TFASetting

TfaSecretContains applies the Contains predicate on the "tfa_secret" field.

func TfaSecretContainsFold

func TfaSecretContainsFold(v string) predicate.TFASetting

TfaSecretContainsFold applies the ContainsFold predicate on the "tfa_secret" field.

func TfaSecretEQ

func TfaSecretEQ(v string) predicate.TFASetting

TfaSecretEQ applies the EQ predicate on the "tfa_secret" field.

func TfaSecretEqualFold

func TfaSecretEqualFold(v string) predicate.TFASetting

TfaSecretEqualFold applies the EqualFold predicate on the "tfa_secret" field.

func TfaSecretGT

func TfaSecretGT(v string) predicate.TFASetting

TfaSecretGT applies the GT predicate on the "tfa_secret" field.

func TfaSecretGTE

func TfaSecretGTE(v string) predicate.TFASetting

TfaSecretGTE applies the GTE predicate on the "tfa_secret" field.

func TfaSecretHasPrefix

func TfaSecretHasPrefix(v string) predicate.TFASetting

TfaSecretHasPrefix applies the HasPrefix predicate on the "tfa_secret" field.

func TfaSecretHasSuffix

func TfaSecretHasSuffix(v string) predicate.TFASetting

TfaSecretHasSuffix applies the HasSuffix predicate on the "tfa_secret" field.

func TfaSecretIn

func TfaSecretIn(vs ...string) predicate.TFASetting

TfaSecretIn applies the In predicate on the "tfa_secret" field.

func TfaSecretIsNil

func TfaSecretIsNil() predicate.TFASetting

TfaSecretIsNil applies the IsNil predicate on the "tfa_secret" field.

func TfaSecretLT

func TfaSecretLT(v string) predicate.TFASetting

TfaSecretLT applies the LT predicate on the "tfa_secret" field.

func TfaSecretLTE

func TfaSecretLTE(v string) predicate.TFASetting

TfaSecretLTE applies the LTE predicate on the "tfa_secret" field.

func TfaSecretNEQ

func TfaSecretNEQ(v string) predicate.TFASetting

TfaSecretNEQ applies the NEQ predicate on the "tfa_secret" field.

func TfaSecretNotIn

func TfaSecretNotIn(vs ...string) predicate.TFASetting

TfaSecretNotIn applies the NotIn predicate on the "tfa_secret" field.

func TfaSecretNotNil

func TfaSecretNotNil() predicate.TFASetting

TfaSecretNotNil applies the NotNil predicate on the "tfa_secret" field.

func TotpAllowed

func TotpAllowed(v bool) predicate.TFASetting

TotpAllowed applies equality check predicate on the "totp_allowed" field. It's identical to TotpAllowedEQ.

func TotpAllowedEQ

func TotpAllowedEQ(v bool) predicate.TFASetting

TotpAllowedEQ applies the EQ predicate on the "totp_allowed" field.

func TotpAllowedIsNil

func TotpAllowedIsNil() predicate.TFASetting

TotpAllowedIsNil applies the IsNil predicate on the "totp_allowed" field.

func TotpAllowedNEQ

func TotpAllowedNEQ(v bool) predicate.TFASetting

TotpAllowedNEQ applies the NEQ predicate on the "totp_allowed" field.

func TotpAllowedNotNil

func TotpAllowedNotNil() predicate.TFASetting

TotpAllowedNotNil applies the NotNil predicate on the "totp_allowed" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.TFASetting

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.TFASetting

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.TFASetting

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.TFASetting

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.TFASetting

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.TFASetting

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.TFASetting

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.TFASetting

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.TFASetting

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.TFASetting

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.TFASetting

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.TFASetting

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.TFASetting

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.TFASetting

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.TFASetting

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.TFASetting

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.TFASetting

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.TFASetting

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.TFASetting

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.TFASetting

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.TFASetting

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.TFASetting

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.TFASetting

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.TFASetting

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.TFASetting

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.TFASetting

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.TFASetting

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Verified

func Verified(v bool) predicate.TFASetting

Verified applies equality check predicate on the "verified" field. It's identical to VerifiedEQ.

func VerifiedEQ

func VerifiedEQ(v bool) predicate.TFASetting

VerifiedEQ applies the EQ predicate on the "verified" field.

func VerifiedNEQ

func VerifiedNEQ(v bool) predicate.TFASetting

VerifiedNEQ applies the NEQ predicate on the "verified" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the TFASetting 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 ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption

ByDeletedBy orders the results by the deleted_by field.

func ByEmailOtpAllowed

func ByEmailOtpAllowed(opts ...sql.OrderTermOption) OrderOption

ByEmailOtpAllowed orders the results by the email_otp_allowed field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByMappingID

func ByMappingID(opts ...sql.OrderTermOption) OrderOption

ByMappingID orders the results by the mapping_id field.

func ByOwnerField

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID

func ByOwnerID(opts ...sql.OrderTermOption) OrderOption

ByOwnerID orders the results by the owner_id field.

func ByPhoneOtpAllowed

func ByPhoneOtpAllowed(opts ...sql.OrderTermOption) OrderOption

ByPhoneOtpAllowed orders the results by the phone_otp_allowed field.

func ByTfaSecret

func ByTfaSecret(opts ...sql.OrderTermOption) OrderOption

ByTfaSecret orders the results by the tfa_secret field.

func ByTotpAllowed

func ByTotpAllowed(opts ...sql.OrderTermOption) OrderOption

ByTotpAllowed orders the results by the totp_allowed 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 ByVerified

func ByVerified(opts ...sql.OrderTermOption) OrderOption

ByVerified orders the results by the verified field.

Jump to

Keyboard shortcuts

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