tfasettings

package
v0.3.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the tfasettings type in the database.
	Label = "tfa_settings"
	// 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"
	// 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"
	// 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 tfasettings 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        [3]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
	// 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/datumforge/datum/internal/ent/generated/runtime"

Columns holds all SQL columns for tfasettings fields.

Functions

func And

func And(predicates ...predicate.TFASettings) predicate.TFASettings

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.TFASettings

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.TFASettings

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.TFASettings

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.TFASettings

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.TFASettings

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.TFASettings

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.TFASettings

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.TFASettings

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.TFASettings

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

func CreatedBy

func CreatedBy(v string) predicate.TFASettings

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

func CreatedByContains

func CreatedByContains(v string) predicate.TFASettings

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.TFASettings

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.TFASettings

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.TFASettings

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

func CreatedByGT

func CreatedByGT(v string) predicate.TFASettings

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.TFASettings

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.TFASettings

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.TFASettings

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.TFASettings

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

func CreatedByLT

func CreatedByLT(v string) predicate.TFASettings

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.TFASettings

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.TFASettings

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.TFASettings

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

func DeletedAt

func DeletedAt(v time.Time) predicate.TFASettings

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.TFASettings

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.TFASettings

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.TFASettings

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.TFASettings

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.TFASettings

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.TFASettings

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.TFASettings

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.TFASettings

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

func DeletedBy

func DeletedBy(v string) predicate.TFASettings

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

func DeletedByContains

func DeletedByContains(v string) predicate.TFASettings

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.TFASettings

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.TFASettings

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.TFASettings

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

func DeletedByGT

func DeletedByGT(v string) predicate.TFASettings

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.TFASettings

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.TFASettings

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.TFASettings

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.TFASettings

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

func DeletedByLT

func DeletedByLT(v string) predicate.TFASettings

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.TFASettings

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.TFASettings

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.TFASettings

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

func EmailOtpAllowed

func EmailOtpAllowed(v bool) predicate.TFASettings

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

func EmailOtpAllowedEQ

func EmailOtpAllowedEQ(v bool) predicate.TFASettings

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

func EmailOtpAllowedIsNil

func EmailOtpAllowedIsNil() predicate.TFASettings

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

func EmailOtpAllowedNEQ

func EmailOtpAllowedNEQ(v bool) predicate.TFASettings

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

func EmailOtpAllowedNotNil

func EmailOtpAllowedNotNil() predicate.TFASettings

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

func HasOwner

func HasOwner() predicate.TFASettings

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

func HasOwnerWith

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

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.TFASettings

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.TFASettings

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.TFASettings

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.TFASettings

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.TFASettings

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.TFASettings

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.TFASettings

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.TFASettings

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.TFASettings) predicate.TFASettings

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.TFASettings

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.TFASettings

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.TFASettings

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.TFASettings

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.TFASettings

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.TFASettings

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.TFASettings

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.TFASettings

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.TFASettings

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.TFASettings

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.TFASettings

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.TFASettings

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.TFASettings

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.TFASettings

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

func PhoneOtpAllowed

func PhoneOtpAllowed(v bool) predicate.TFASettings

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

func PhoneOtpAllowedEQ

func PhoneOtpAllowedEQ(v bool) predicate.TFASettings

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

func PhoneOtpAllowedIsNil

func PhoneOtpAllowedIsNil() predicate.TFASettings

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

func PhoneOtpAllowedNEQ

func PhoneOtpAllowedNEQ(v bool) predicate.TFASettings

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

func PhoneOtpAllowedNotNil

func PhoneOtpAllowedNotNil() predicate.TFASettings

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

func RecoveryCodesIsNil

func RecoveryCodesIsNil() predicate.TFASettings

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

func RecoveryCodesNotNil

func RecoveryCodesNotNil() predicate.TFASettings

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

func TfaSecret

func TfaSecret(v string) predicate.TFASettings

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

func TfaSecretContains

func TfaSecretContains(v string) predicate.TFASettings

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

func TfaSecretContainsFold

func TfaSecretContainsFold(v string) predicate.TFASettings

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

func TfaSecretEQ

func TfaSecretEQ(v string) predicate.TFASettings

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

func TfaSecretEqualFold

func TfaSecretEqualFold(v string) predicate.TFASettings

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

func TfaSecretGT

func TfaSecretGT(v string) predicate.TFASettings

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

func TfaSecretGTE

func TfaSecretGTE(v string) predicate.TFASettings

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

func TfaSecretHasPrefix

func TfaSecretHasPrefix(v string) predicate.TFASettings

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

func TfaSecretHasSuffix

func TfaSecretHasSuffix(v string) predicate.TFASettings

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

func TfaSecretIn

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

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

func TfaSecretIsNil

func TfaSecretIsNil() predicate.TFASettings

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

func TfaSecretLT

func TfaSecretLT(v string) predicate.TFASettings

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

func TfaSecretLTE

func TfaSecretLTE(v string) predicate.TFASettings

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

func TfaSecretNEQ

func TfaSecretNEQ(v string) predicate.TFASettings

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

func TfaSecretNotIn

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

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

func TfaSecretNotNil

func TfaSecretNotNil() predicate.TFASettings

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

func TotpAllowed

func TotpAllowed(v bool) predicate.TFASettings

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

func TotpAllowedEQ

func TotpAllowedEQ(v bool) predicate.TFASettings

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

func TotpAllowedIsNil

func TotpAllowedIsNil() predicate.TFASettings

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

func TotpAllowedNEQ

func TotpAllowedNEQ(v bool) predicate.TFASettings

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

func TotpAllowedNotNil

func TotpAllowedNotNil() predicate.TFASettings

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.TFASettings

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.TFASettings

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.TFASettings

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.TFASettings

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.TFASettings

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.TFASettings

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.TFASettings

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.TFASettings

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.TFASettings

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

func UpdatedBy

func UpdatedBy(v string) predicate.TFASettings

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.TFASettings

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.TFASettings

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.TFASettings

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.TFASettings

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.TFASettings

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.TFASettings

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.TFASettings

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.TFASettings

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.TFASettings

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.TFASettings

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.TFASettings

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.TFASettings

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.TFASettings

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.TFASettings

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

func VerifiedEQ

func VerifiedEQ(v bool) predicate.TFASettings

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

func VerifiedNEQ

func VerifiedNEQ(v bool) predicate.TFASettings

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

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