authproviders

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the authproviders type in the database.
	Label = "auth_providers"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_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"
	// FieldCode holds the string denoting the code field in the database.
	FieldCode = "code"
	// FieldProviderType holds the string denoting the provider_type field in the database.
	FieldProviderType = "provider_type"
	// FieldProviderStatus holds the string denoting the provider_status field in the database.
	FieldProviderStatus = "provider_status"
	// FieldDisplayName holds the string denoting the display_name field in the database.
	FieldDisplayName = "display_name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldSortOrder holds the string denoting the sort_order field in the database.
	FieldSortOrder = "sort_order"
	// FieldIconURL holds the string denoting the icon_url field in the database.
	FieldIconURL = "icon_url"
	// FieldConfig holds the string denoting the config field in the database.
	FieldConfig = "config"
	// FieldSecretEncrypted holds the string denoting the secret_encrypted field in the database.
	FieldSecretEncrypted = "secret_encrypted"
	// FieldProtected holds the string denoting the protected field in the database.
	FieldProtected = "protected"
	// EdgeLionUserIdentities holds the string denoting the lion_user_identities edge name in mutations.
	EdgeLionUserIdentities = "lion_user_identities"
	// Table holds the table name of the authproviders in the database.
	Table = "lion_auth_providers"
	// LionUserIdentitiesTable is the table that holds the lion_user_identities relation/edge.
	LionUserIdentitiesTable = "lion_user_identities"
	// LionUserIdentitiesInverseTable is the table name for the UserIdentities entity.
	// It exists in this package in order to avoid circular dependency with the "useridentities" package.
	LionUserIdentitiesInverseTable = "lion_user_identities"
	// LionUserIdentitiesColumn is the table column denoting the lion_user_identities relation/edge.
	LionUserIdentitiesColumn = "provider_id"
)

Variables

View Source
var (
	// 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
	// DefaultCreatedBy holds the default value on creation for the "created_by" field.
	DefaultCreatedBy int64
	// DefaultUpdatedBy holds the default value on creation for the "updated_by" field.
	DefaultUpdatedBy int64
	// CodeValidator is a validator for the "code" field. It is called by the builders before save.
	CodeValidator func(string) error
	// DefaultProviderStatus holds the default value on creation for the "provider_status" field.
	DefaultProviderStatus int
	// DefaultDisplayName holds the default value on creation for the "display_name" field.
	DefaultDisplayName string
	// DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save.
	DisplayNameValidator func(string) error
	// DefaultDescription holds the default value on creation for the "description" field.
	DefaultDescription string
	// DefaultSortOrder holds the default value on creation for the "sort_order" field.
	DefaultSortOrder int
	// DefaultIconURL holds the default value on creation for the "icon_url" field.
	DefaultIconURL string
	// DefaultProtected holds the default value on creation for the "protected" field.
	DefaultProtected bool
)

Columns holds all SQL columns for authproviders fields.

Functions

func And

And groups predicates with the AND operator between them.

func Code

Code applies equality check predicate on the "code" field. It's identical to CodeEQ.

func CodeContains

func CodeContains(v string) predicate.AuthProviders

CodeContains applies the Contains predicate on the "code" field.

func CodeContainsFold

func CodeContainsFold(v string) predicate.AuthProviders

CodeContainsFold applies the ContainsFold predicate on the "code" field.

func CodeEQ

func CodeEQ(v string) predicate.AuthProviders

CodeEQ applies the EQ predicate on the "code" field.

func CodeEqualFold

func CodeEqualFold(v string) predicate.AuthProviders

CodeEqualFold applies the EqualFold predicate on the "code" field.

func CodeGT

func CodeGT(v string) predicate.AuthProviders

CodeGT applies the GT predicate on the "code" field.

func CodeGTE

func CodeGTE(v string) predicate.AuthProviders

CodeGTE applies the GTE predicate on the "code" field.

func CodeHasPrefix

func CodeHasPrefix(v string) predicate.AuthProviders

CodeHasPrefix applies the HasPrefix predicate on the "code" field.

func CodeHasSuffix

func CodeHasSuffix(v string) predicate.AuthProviders

CodeHasSuffix applies the HasSuffix predicate on the "code" field.

func CodeIn

func CodeIn(vs ...string) predicate.AuthProviders

CodeIn applies the In predicate on the "code" field.

func CodeLT

func CodeLT(v string) predicate.AuthProviders

CodeLT applies the LT predicate on the "code" field.

func CodeLTE

func CodeLTE(v string) predicate.AuthProviders

CodeLTE applies the LTE predicate on the "code" field.

func CodeNEQ

func CodeNEQ(v string) predicate.AuthProviders

CodeNEQ applies the NEQ predicate on the "code" field.

func CodeNotIn

func CodeNotIn(vs ...string) predicate.AuthProviders

CodeNotIn applies the NotIn predicate on the "code" field.

func ConfigIsNil

func ConfigIsNil() predicate.AuthProviders

ConfigIsNil applies the IsNil predicate on the "config" field.

func ConfigNotNil

func ConfigNotNil() predicate.AuthProviders

ConfigNotNil applies the NotNil predicate on the "config" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.AuthProviders

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AuthProviders

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AuthProviders

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AuthProviders

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AuthProviders

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AuthProviders

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AuthProviders

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int64) predicate.AuthProviders

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

func CreatedByEQ

func CreatedByEQ(v int64) predicate.AuthProviders

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

func CreatedByGT

func CreatedByGT(v int64) predicate.AuthProviders

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

func CreatedByGTE

func CreatedByGTE(v int64) predicate.AuthProviders

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

func CreatedByIn

func CreatedByIn(vs ...int64) predicate.AuthProviders

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

func CreatedByIsNil

func CreatedByIsNil() predicate.AuthProviders

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

func CreatedByLT

func CreatedByLT(v int64) predicate.AuthProviders

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

func CreatedByLTE

func CreatedByLTE(v int64) predicate.AuthProviders

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

func CreatedByNEQ

func CreatedByNEQ(v int64) predicate.AuthProviders

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

func CreatedByNotIn

func CreatedByNotIn(vs ...int64) predicate.AuthProviders

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

func CreatedByNotNil

func CreatedByNotNil() predicate.AuthProviders

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

func DeletedAt

func DeletedAt(v time.Time) predicate.AuthProviders

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.AuthProviders

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.AuthProviders

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.AuthProviders

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.AuthProviders

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.AuthProviders

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.AuthProviders

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.AuthProviders

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.AuthProviders

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

func Description

func Description(v string) predicate.AuthProviders

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.AuthProviders

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.AuthProviders

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.AuthProviders

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.AuthProviders

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.AuthProviders

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.AuthProviders

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.AuthProviders

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.AuthProviders

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.AuthProviders

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.AuthProviders

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.AuthProviders

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.AuthProviders

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.AuthProviders

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DisplayName

func DisplayName(v string) predicate.AuthProviders

DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.

func DisplayNameContains

func DisplayNameContains(v string) predicate.AuthProviders

DisplayNameContains applies the Contains predicate on the "display_name" field.

func DisplayNameContainsFold

func DisplayNameContainsFold(v string) predicate.AuthProviders

DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.

func DisplayNameEQ

func DisplayNameEQ(v string) predicate.AuthProviders

DisplayNameEQ applies the EQ predicate on the "display_name" field.

func DisplayNameEqualFold

func DisplayNameEqualFold(v string) predicate.AuthProviders

DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.

func DisplayNameGT

func DisplayNameGT(v string) predicate.AuthProviders

DisplayNameGT applies the GT predicate on the "display_name" field.

func DisplayNameGTE

func DisplayNameGTE(v string) predicate.AuthProviders

DisplayNameGTE applies the GTE predicate on the "display_name" field.

func DisplayNameHasPrefix

func DisplayNameHasPrefix(v string) predicate.AuthProviders

DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.

func DisplayNameHasSuffix

func DisplayNameHasSuffix(v string) predicate.AuthProviders

DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.

func DisplayNameIn

func DisplayNameIn(vs ...string) predicate.AuthProviders

DisplayNameIn applies the In predicate on the "display_name" field.

func DisplayNameLT

func DisplayNameLT(v string) predicate.AuthProviders

DisplayNameLT applies the LT predicate on the "display_name" field.

func DisplayNameLTE

func DisplayNameLTE(v string) predicate.AuthProviders

DisplayNameLTE applies the LTE predicate on the "display_name" field.

func DisplayNameNEQ

func DisplayNameNEQ(v string) predicate.AuthProviders

DisplayNameNEQ applies the NEQ predicate on the "display_name" field.

func DisplayNameNotIn

func DisplayNameNotIn(vs ...string) predicate.AuthProviders

DisplayNameNotIn applies the NotIn predicate on the "display_name" field.

func HasLionUserIdentities

func HasLionUserIdentities() predicate.AuthProviders

HasLionUserIdentities applies the HasEdge predicate on the "lion_user_identities" edge.

func HasLionUserIdentitiesWith

func HasLionUserIdentitiesWith(preds ...predicate.UserIdentities) predicate.AuthProviders

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.AuthProviders

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.AuthProviders

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.AuthProviders

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.AuthProviders

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.AuthProviders

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.AuthProviders

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.AuthProviders

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.AuthProviders

IDNotIn applies the NotIn predicate on the ID field.

func IconURL

func IconURL(v string) predicate.AuthProviders

IconURL applies equality check predicate on the "icon_url" field. It's identical to IconURLEQ.

func IconURLContains

func IconURLContains(v string) predicate.AuthProviders

IconURLContains applies the Contains predicate on the "icon_url" field.

func IconURLContainsFold

func IconURLContainsFold(v string) predicate.AuthProviders

IconURLContainsFold applies the ContainsFold predicate on the "icon_url" field.

func IconURLEQ

func IconURLEQ(v string) predicate.AuthProviders

IconURLEQ applies the EQ predicate on the "icon_url" field.

func IconURLEqualFold

func IconURLEqualFold(v string) predicate.AuthProviders

IconURLEqualFold applies the EqualFold predicate on the "icon_url" field.

func IconURLGT

func IconURLGT(v string) predicate.AuthProviders

IconURLGT applies the GT predicate on the "icon_url" field.

func IconURLGTE

func IconURLGTE(v string) predicate.AuthProviders

IconURLGTE applies the GTE predicate on the "icon_url" field.

func IconURLHasPrefix

func IconURLHasPrefix(v string) predicate.AuthProviders

IconURLHasPrefix applies the HasPrefix predicate on the "icon_url" field.

func IconURLHasSuffix

func IconURLHasSuffix(v string) predicate.AuthProviders

IconURLHasSuffix applies the HasSuffix predicate on the "icon_url" field.

func IconURLIn

func IconURLIn(vs ...string) predicate.AuthProviders

IconURLIn applies the In predicate on the "icon_url" field.

func IconURLLT

func IconURLLT(v string) predicate.AuthProviders

IconURLLT applies the LT predicate on the "icon_url" field.

func IconURLLTE

func IconURLLTE(v string) predicate.AuthProviders

IconURLLTE applies the LTE predicate on the "icon_url" field.

func IconURLNEQ

func IconURLNEQ(v string) predicate.AuthProviders

IconURLNEQ applies the NEQ predicate on the "icon_url" field.

func IconURLNotIn

func IconURLNotIn(vs ...string) predicate.AuthProviders

IconURLNotIn applies the NotIn predicate on the "icon_url" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Protected

func Protected(v bool) predicate.AuthProviders

Protected applies equality check predicate on the "protected" field. It's identical to ProtectedEQ.

func ProtectedEQ

func ProtectedEQ(v bool) predicate.AuthProviders

ProtectedEQ applies the EQ predicate on the "protected" field.

func ProtectedNEQ

func ProtectedNEQ(v bool) predicate.AuthProviders

ProtectedNEQ applies the NEQ predicate on the "protected" field.

func ProviderStatus

func ProviderStatus(v int) predicate.AuthProviders

ProviderStatus applies equality check predicate on the "provider_status" field. It's identical to ProviderStatusEQ.

func ProviderStatusEQ

func ProviderStatusEQ(v int) predicate.AuthProviders

ProviderStatusEQ applies the EQ predicate on the "provider_status" field.

func ProviderStatusGT

func ProviderStatusGT(v int) predicate.AuthProviders

ProviderStatusGT applies the GT predicate on the "provider_status" field.

func ProviderStatusGTE

func ProviderStatusGTE(v int) predicate.AuthProviders

ProviderStatusGTE applies the GTE predicate on the "provider_status" field.

func ProviderStatusIn

func ProviderStatusIn(vs ...int) predicate.AuthProviders

ProviderStatusIn applies the In predicate on the "provider_status" field.

func ProviderStatusLT

func ProviderStatusLT(v int) predicate.AuthProviders

ProviderStatusLT applies the LT predicate on the "provider_status" field.

func ProviderStatusLTE

func ProviderStatusLTE(v int) predicate.AuthProviders

ProviderStatusLTE applies the LTE predicate on the "provider_status" field.

func ProviderStatusNEQ

func ProviderStatusNEQ(v int) predicate.AuthProviders

ProviderStatusNEQ applies the NEQ predicate on the "provider_status" field.

func ProviderStatusNotIn

func ProviderStatusNotIn(vs ...int) predicate.AuthProviders

ProviderStatusNotIn applies the NotIn predicate on the "provider_status" field.

func ProviderType

func ProviderType(v int) predicate.AuthProviders

ProviderType applies equality check predicate on the "provider_type" field. It's identical to ProviderTypeEQ.

func ProviderTypeEQ

func ProviderTypeEQ(v int) predicate.AuthProviders

ProviderTypeEQ applies the EQ predicate on the "provider_type" field.

func ProviderTypeGT

func ProviderTypeGT(v int) predicate.AuthProviders

ProviderTypeGT applies the GT predicate on the "provider_type" field.

func ProviderTypeGTE

func ProviderTypeGTE(v int) predicate.AuthProviders

ProviderTypeGTE applies the GTE predicate on the "provider_type" field.

func ProviderTypeIn

func ProviderTypeIn(vs ...int) predicate.AuthProviders

ProviderTypeIn applies the In predicate on the "provider_type" field.

func ProviderTypeLT

func ProviderTypeLT(v int) predicate.AuthProviders

ProviderTypeLT applies the LT predicate on the "provider_type" field.

func ProviderTypeLTE

func ProviderTypeLTE(v int) predicate.AuthProviders

ProviderTypeLTE applies the LTE predicate on the "provider_type" field.

func ProviderTypeNEQ

func ProviderTypeNEQ(v int) predicate.AuthProviders

ProviderTypeNEQ applies the NEQ predicate on the "provider_type" field.

func ProviderTypeNotIn

func ProviderTypeNotIn(vs ...int) predicate.AuthProviders

ProviderTypeNotIn applies the NotIn predicate on the "provider_type" field.

func SecretEncrypted

func SecretEncrypted(v []byte) predicate.AuthProviders

SecretEncrypted applies equality check predicate on the "secret_encrypted" field. It's identical to SecretEncryptedEQ.

func SecretEncryptedEQ

func SecretEncryptedEQ(v []byte) predicate.AuthProviders

SecretEncryptedEQ applies the EQ predicate on the "secret_encrypted" field.

func SecretEncryptedGT

func SecretEncryptedGT(v []byte) predicate.AuthProviders

SecretEncryptedGT applies the GT predicate on the "secret_encrypted" field.

func SecretEncryptedGTE

func SecretEncryptedGTE(v []byte) predicate.AuthProviders

SecretEncryptedGTE applies the GTE predicate on the "secret_encrypted" field.

func SecretEncryptedIn

func SecretEncryptedIn(vs ...[]byte) predicate.AuthProviders

SecretEncryptedIn applies the In predicate on the "secret_encrypted" field.

func SecretEncryptedIsNil

func SecretEncryptedIsNil() predicate.AuthProviders

SecretEncryptedIsNil applies the IsNil predicate on the "secret_encrypted" field.

func SecretEncryptedLT

func SecretEncryptedLT(v []byte) predicate.AuthProviders

SecretEncryptedLT applies the LT predicate on the "secret_encrypted" field.

func SecretEncryptedLTE

func SecretEncryptedLTE(v []byte) predicate.AuthProviders

SecretEncryptedLTE applies the LTE predicate on the "secret_encrypted" field.

func SecretEncryptedNEQ

func SecretEncryptedNEQ(v []byte) predicate.AuthProviders

SecretEncryptedNEQ applies the NEQ predicate on the "secret_encrypted" field.

func SecretEncryptedNotIn

func SecretEncryptedNotIn(vs ...[]byte) predicate.AuthProviders

SecretEncryptedNotIn applies the NotIn predicate on the "secret_encrypted" field.

func SecretEncryptedNotNil

func SecretEncryptedNotNil() predicate.AuthProviders

SecretEncryptedNotNil applies the NotNil predicate on the "secret_encrypted" field.

func SortOrder

func SortOrder(v int) predicate.AuthProviders

SortOrder applies equality check predicate on the "sort_order" field. It's identical to SortOrderEQ.

func SortOrderEQ

func SortOrderEQ(v int) predicate.AuthProviders

SortOrderEQ applies the EQ predicate on the "sort_order" field.

func SortOrderGT

func SortOrderGT(v int) predicate.AuthProviders

SortOrderGT applies the GT predicate on the "sort_order" field.

func SortOrderGTE

func SortOrderGTE(v int) predicate.AuthProviders

SortOrderGTE applies the GTE predicate on the "sort_order" field.

func SortOrderIn

func SortOrderIn(vs ...int) predicate.AuthProviders

SortOrderIn applies the In predicate on the "sort_order" field.

func SortOrderLT

func SortOrderLT(v int) predicate.AuthProviders

SortOrderLT applies the LT predicate on the "sort_order" field.

func SortOrderLTE

func SortOrderLTE(v int) predicate.AuthProviders

SortOrderLTE applies the LTE predicate on the "sort_order" field.

func SortOrderNEQ

func SortOrderNEQ(v int) predicate.AuthProviders

SortOrderNEQ applies the NEQ predicate on the "sort_order" field.

func SortOrderNotIn

func SortOrderNotIn(vs ...int) predicate.AuthProviders

SortOrderNotIn applies the NotIn predicate on the "sort_order" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AuthProviders

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AuthProviders

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AuthProviders

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AuthProviders

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AuthProviders

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AuthProviders

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AuthProviders

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

func UpdatedAtNotIn

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

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

func UpdatedBy

func UpdatedBy(v int64) predicate.AuthProviders

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

func UpdatedByEQ

func UpdatedByEQ(v int64) predicate.AuthProviders

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

func UpdatedByGT

func UpdatedByGT(v int64) predicate.AuthProviders

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

func UpdatedByGTE

func UpdatedByGTE(v int64) predicate.AuthProviders

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

func UpdatedByIn

func UpdatedByIn(vs ...int64) predicate.AuthProviders

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.AuthProviders

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

func UpdatedByLT

func UpdatedByLT(v int64) predicate.AuthProviders

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

func UpdatedByLTE

func UpdatedByLTE(v int64) predicate.AuthProviders

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

func UpdatedByNEQ

func UpdatedByNEQ(v int64) predicate.AuthProviders

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

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int64) predicate.AuthProviders

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.AuthProviders

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AuthProviders queries.

func ByCode

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

ByCode orders the results by the code 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 ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByDisplayName

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

ByDisplayName orders the results by the display_name field.

func ByID

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

ByID orders the results by the id field.

func ByIconURL

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

ByIconURL orders the results by the icon_url field.

func ByLionUserIdentities

func ByLionUserIdentities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByLionUserIdentities orders the results by lion_user_identities terms.

func ByLionUserIdentitiesCount

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

ByLionUserIdentitiesCount orders the results by lion_user_identities count.

func ByProtected

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

ByProtected orders the results by the protected field.

func ByProviderStatus

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

ByProviderStatus orders the results by the provider_status field.

func ByProviderType

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

ByProviderType orders the results by the provider_type field.

func BySortOrder

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

BySortOrder orders the results by the sort_order 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.

Jump to

Keyboard shortcuts

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