proxyuserauthmethod

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the proxyuserauthmethod type in the database.
	Label = "proxy_user_auth_method"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldAuthType holds the string denoting the auth_type field in the database.
	FieldAuthType = "auth_type"
	// FieldAuthIdentifier holds the string denoting the auth_identifier field in the database.
	FieldAuthIdentifier = "auth_identifier"
	// FieldVerified holds the string denoting the verified field in the database.
	FieldVerified = "verified"
	// 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"
	// Table holds the table name of the proxyuserauthmethod in the database.
	Table = "user_auth_methods"
)

Variables

View Source
var (
	// AuthTypeValidator is a validator for the "auth_type" field. It is called by the builders before save.
	AuthTypeValidator func(string) error
	// AuthIdentifierValidator is a validator for the "auth_identifier" field. It is called by the builders before save.
	AuthIdentifierValidator func(string) error
	// DefaultVerified holds the default value on creation for the "verified" field.
	DefaultVerified bool
	// 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
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(int64) error
)

Columns holds all SQL columns for proxyuserauthmethod fields.

Functions

func And

And groups predicates with the AND operator between them.

func AuthIdentifier

func AuthIdentifier(v string) predicate.ProxyUserAuthMethod

AuthIdentifier applies equality check predicate on the "auth_identifier" field. It's identical to AuthIdentifierEQ.

func AuthIdentifierContains

func AuthIdentifierContains(v string) predicate.ProxyUserAuthMethod

AuthIdentifierContains applies the Contains predicate on the "auth_identifier" field.

func AuthIdentifierContainsFold

func AuthIdentifierContainsFold(v string) predicate.ProxyUserAuthMethod

AuthIdentifierContainsFold applies the ContainsFold predicate on the "auth_identifier" field.

func AuthIdentifierEQ

func AuthIdentifierEQ(v string) predicate.ProxyUserAuthMethod

AuthIdentifierEQ applies the EQ predicate on the "auth_identifier" field.

func AuthIdentifierEqualFold

func AuthIdentifierEqualFold(v string) predicate.ProxyUserAuthMethod

AuthIdentifierEqualFold applies the EqualFold predicate on the "auth_identifier" field.

func AuthIdentifierGT

func AuthIdentifierGT(v string) predicate.ProxyUserAuthMethod

AuthIdentifierGT applies the GT predicate on the "auth_identifier" field.

func AuthIdentifierGTE

func AuthIdentifierGTE(v string) predicate.ProxyUserAuthMethod

AuthIdentifierGTE applies the GTE predicate on the "auth_identifier" field.

func AuthIdentifierHasPrefix

func AuthIdentifierHasPrefix(v string) predicate.ProxyUserAuthMethod

AuthIdentifierHasPrefix applies the HasPrefix predicate on the "auth_identifier" field.

func AuthIdentifierHasSuffix

func AuthIdentifierHasSuffix(v string) predicate.ProxyUserAuthMethod

AuthIdentifierHasSuffix applies the HasSuffix predicate on the "auth_identifier" field.

func AuthIdentifierIn

func AuthIdentifierIn(vs ...string) predicate.ProxyUserAuthMethod

AuthIdentifierIn applies the In predicate on the "auth_identifier" field.

func AuthIdentifierLT

func AuthIdentifierLT(v string) predicate.ProxyUserAuthMethod

AuthIdentifierLT applies the LT predicate on the "auth_identifier" field.

func AuthIdentifierLTE

func AuthIdentifierLTE(v string) predicate.ProxyUserAuthMethod

AuthIdentifierLTE applies the LTE predicate on the "auth_identifier" field.

func AuthIdentifierNEQ

func AuthIdentifierNEQ(v string) predicate.ProxyUserAuthMethod

AuthIdentifierNEQ applies the NEQ predicate on the "auth_identifier" field.

func AuthIdentifierNotIn

func AuthIdentifierNotIn(vs ...string) predicate.ProxyUserAuthMethod

AuthIdentifierNotIn applies the NotIn predicate on the "auth_identifier" field.

func AuthType

AuthType applies equality check predicate on the "auth_type" field. It's identical to AuthTypeEQ.

func AuthTypeContains

func AuthTypeContains(v string) predicate.ProxyUserAuthMethod

AuthTypeContains applies the Contains predicate on the "auth_type" field.

func AuthTypeContainsFold

func AuthTypeContainsFold(v string) predicate.ProxyUserAuthMethod

AuthTypeContainsFold applies the ContainsFold predicate on the "auth_type" field.

func AuthTypeEQ

func AuthTypeEQ(v string) predicate.ProxyUserAuthMethod

AuthTypeEQ applies the EQ predicate on the "auth_type" field.

func AuthTypeEqualFold

func AuthTypeEqualFold(v string) predicate.ProxyUserAuthMethod

AuthTypeEqualFold applies the EqualFold predicate on the "auth_type" field.

func AuthTypeGT

func AuthTypeGT(v string) predicate.ProxyUserAuthMethod

AuthTypeGT applies the GT predicate on the "auth_type" field.

func AuthTypeGTE

func AuthTypeGTE(v string) predicate.ProxyUserAuthMethod

AuthTypeGTE applies the GTE predicate on the "auth_type" field.

func AuthTypeHasPrefix

func AuthTypeHasPrefix(v string) predicate.ProxyUserAuthMethod

AuthTypeHasPrefix applies the HasPrefix predicate on the "auth_type" field.

func AuthTypeHasSuffix

func AuthTypeHasSuffix(v string) predicate.ProxyUserAuthMethod

AuthTypeHasSuffix applies the HasSuffix predicate on the "auth_type" field.

func AuthTypeIn

func AuthTypeIn(vs ...string) predicate.ProxyUserAuthMethod

AuthTypeIn applies the In predicate on the "auth_type" field.

func AuthTypeLT

func AuthTypeLT(v string) predicate.ProxyUserAuthMethod

AuthTypeLT applies the LT predicate on the "auth_type" field.

func AuthTypeLTE

func AuthTypeLTE(v string) predicate.ProxyUserAuthMethod

AuthTypeLTE applies the LTE predicate on the "auth_type" field.

func AuthTypeNEQ

func AuthTypeNEQ(v string) predicate.ProxyUserAuthMethod

AuthTypeNEQ applies the NEQ predicate on the "auth_type" field.

func AuthTypeNotIn

func AuthTypeNotIn(vs ...string) predicate.ProxyUserAuthMethod

AuthTypeNotIn applies the NotIn predicate on the "auth_type" field.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProxyUserAuthMethod

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProxyUserAuthMethod

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProxyUserAuthMethod

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProxyUserAuthMethod

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProxyUserAuthMethod

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProxyUserAuthMethod

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

func CreatedAtNotIn

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

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

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

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.ProxyUserAuthMethod

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.ProxyUserAuthMethod

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProxyUserAuthMethod

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProxyUserAuthMethod

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProxyUserAuthMethod

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProxyUserAuthMethod

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProxyUserAuthMethod

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProxyUserAuthMethod

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

func UpdatedAtNotIn

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

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

func UserID

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v int64) predicate.ProxyUserAuthMethod

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...int64) predicate.ProxyUserAuthMethod

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v int64) predicate.ProxyUserAuthMethod

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v int64) predicate.ProxyUserAuthMethod

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...int64) predicate.ProxyUserAuthMethod

UserIDNotIn applies the NotIn 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 Verified

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

func VerifiedEQ

func VerifiedEQ(v bool) predicate.ProxyUserAuthMethod

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

func VerifiedNEQ

func VerifiedNEQ(v bool) predicate.ProxyUserAuthMethod

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProxyUserAuthMethod queries.

func ByAuthIdentifier

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

ByAuthIdentifier orders the results by the auth_identifier field.

func ByAuthType

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

ByAuthType orders the results by the auth_type field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUserID

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

ByUserID orders the results by the user_id 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