oauth2clients

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the oauth2clients type in the database.
	Label = "oauth2clients"
	// 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"
	// FieldClientID holds the string denoting the client_id field in the database.
	FieldClientID = "client_id"
	// FieldClientSecretHash holds the string denoting the client_secret_hash field in the database.
	FieldClientSecretHash = "client_secret_hash"
	// FieldDisplayName holds the string denoting the display_name field in the database.
	FieldDisplayName = "display_name"
	// FieldRedirectUris holds the string denoting the redirect_uris field in the database.
	FieldRedirectUris = "redirect_uris"
	// FieldClientStatus holds the string denoting the client_status field in the database.
	FieldClientStatus = "client_status"
	// FieldGrantTypes holds the string denoting the grant_types field in the database.
	FieldGrantTypes = "grant_types"
	// FieldScopes holds the string denoting the scopes field in the database.
	FieldScopes = "scopes"
	// FieldLogoURL holds the string denoting the logo_url field in the database.
	FieldLogoURL = "logo_url"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// Table holds the table name of the oauth2clients in the database.
	Table = "lion_oauth2_clients"
)

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
	// ClientIDValidator is a validator for the "client_id" field. It is called by the builders before save.
	ClientIDValidator func(string) error
	// ClientSecretHashValidator is a validator for the "client_secret_hash" field. It is called by the builders before save.
	ClientSecretHashValidator func(string) error
	// 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
	// DefaultClientStatus holds the default value on creation for the "client_status" field.
	DefaultClientStatus int
	// DefaultLogoURL holds the default value on creation for the "logo_url" field.
	DefaultLogoURL string
	// LogoURLValidator is a validator for the "logo_url" field. It is called by the builders before save.
	LogoURLValidator func(string) error
	// DefaultDescription holds the default value on creation for the "description" field.
	DefaultDescription string
	// DescriptionValidator is a validator for the "description" field. It is called by the builders before save.
	DescriptionValidator func(string) error
)

Columns holds all SQL columns for oauth2clients fields.

Functions

func And

And groups predicates with the AND operator between them.

func ClientID

func ClientID(v string) predicate.OAuth2Clients

ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.

func ClientIDContains

func ClientIDContains(v string) predicate.OAuth2Clients

ClientIDContains applies the Contains predicate on the "client_id" field.

func ClientIDContainsFold

func ClientIDContainsFold(v string) predicate.OAuth2Clients

ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.

func ClientIDEQ

func ClientIDEQ(v string) predicate.OAuth2Clients

ClientIDEQ applies the EQ predicate on the "client_id" field.

func ClientIDEqualFold

func ClientIDEqualFold(v string) predicate.OAuth2Clients

ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.

func ClientIDGT

func ClientIDGT(v string) predicate.OAuth2Clients

ClientIDGT applies the GT predicate on the "client_id" field.

func ClientIDGTE

func ClientIDGTE(v string) predicate.OAuth2Clients

ClientIDGTE applies the GTE predicate on the "client_id" field.

func ClientIDHasPrefix

func ClientIDHasPrefix(v string) predicate.OAuth2Clients

ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.

func ClientIDHasSuffix

func ClientIDHasSuffix(v string) predicate.OAuth2Clients

ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.

func ClientIDIn

func ClientIDIn(vs ...string) predicate.OAuth2Clients

ClientIDIn applies the In predicate on the "client_id" field.

func ClientIDLT

func ClientIDLT(v string) predicate.OAuth2Clients

ClientIDLT applies the LT predicate on the "client_id" field.

func ClientIDLTE

func ClientIDLTE(v string) predicate.OAuth2Clients

ClientIDLTE applies the LTE predicate on the "client_id" field.

func ClientIDNEQ

func ClientIDNEQ(v string) predicate.OAuth2Clients

ClientIDNEQ applies the NEQ predicate on the "client_id" field.

func ClientIDNotIn

func ClientIDNotIn(vs ...string) predicate.OAuth2Clients

ClientIDNotIn applies the NotIn predicate on the "client_id" field.

func ClientSecretHash

func ClientSecretHash(v string) predicate.OAuth2Clients

ClientSecretHash applies equality check predicate on the "client_secret_hash" field. It's identical to ClientSecretHashEQ.

func ClientSecretHashContains

func ClientSecretHashContains(v string) predicate.OAuth2Clients

ClientSecretHashContains applies the Contains predicate on the "client_secret_hash" field.

func ClientSecretHashContainsFold

func ClientSecretHashContainsFold(v string) predicate.OAuth2Clients

ClientSecretHashContainsFold applies the ContainsFold predicate on the "client_secret_hash" field.

func ClientSecretHashEQ

func ClientSecretHashEQ(v string) predicate.OAuth2Clients

ClientSecretHashEQ applies the EQ predicate on the "client_secret_hash" field.

func ClientSecretHashEqualFold

func ClientSecretHashEqualFold(v string) predicate.OAuth2Clients

ClientSecretHashEqualFold applies the EqualFold predicate on the "client_secret_hash" field.

func ClientSecretHashGT

func ClientSecretHashGT(v string) predicate.OAuth2Clients

ClientSecretHashGT applies the GT predicate on the "client_secret_hash" field.

func ClientSecretHashGTE

func ClientSecretHashGTE(v string) predicate.OAuth2Clients

ClientSecretHashGTE applies the GTE predicate on the "client_secret_hash" field.

func ClientSecretHashHasPrefix

func ClientSecretHashHasPrefix(v string) predicate.OAuth2Clients

ClientSecretHashHasPrefix applies the HasPrefix predicate on the "client_secret_hash" field.

func ClientSecretHashHasSuffix

func ClientSecretHashHasSuffix(v string) predicate.OAuth2Clients

ClientSecretHashHasSuffix applies the HasSuffix predicate on the "client_secret_hash" field.

func ClientSecretHashIn

func ClientSecretHashIn(vs ...string) predicate.OAuth2Clients

ClientSecretHashIn applies the In predicate on the "client_secret_hash" field.

func ClientSecretHashLT

func ClientSecretHashLT(v string) predicate.OAuth2Clients

ClientSecretHashLT applies the LT predicate on the "client_secret_hash" field.

func ClientSecretHashLTE

func ClientSecretHashLTE(v string) predicate.OAuth2Clients

ClientSecretHashLTE applies the LTE predicate on the "client_secret_hash" field.

func ClientSecretHashNEQ

func ClientSecretHashNEQ(v string) predicate.OAuth2Clients

ClientSecretHashNEQ applies the NEQ predicate on the "client_secret_hash" field.

func ClientSecretHashNotIn

func ClientSecretHashNotIn(vs ...string) predicate.OAuth2Clients

ClientSecretHashNotIn applies the NotIn predicate on the "client_secret_hash" field.

func ClientStatus

func ClientStatus(v int) predicate.OAuth2Clients

ClientStatus applies equality check predicate on the "client_status" field. It's identical to ClientStatusEQ.

func ClientStatusEQ

func ClientStatusEQ(v int) predicate.OAuth2Clients

ClientStatusEQ applies the EQ predicate on the "client_status" field.

func ClientStatusGT

func ClientStatusGT(v int) predicate.OAuth2Clients

ClientStatusGT applies the GT predicate on the "client_status" field.

func ClientStatusGTE

func ClientStatusGTE(v int) predicate.OAuth2Clients

ClientStatusGTE applies the GTE predicate on the "client_status" field.

func ClientStatusIn

func ClientStatusIn(vs ...int) predicate.OAuth2Clients

ClientStatusIn applies the In predicate on the "client_status" field.

func ClientStatusLT

func ClientStatusLT(v int) predicate.OAuth2Clients

ClientStatusLT applies the LT predicate on the "client_status" field.

func ClientStatusLTE

func ClientStatusLTE(v int) predicate.OAuth2Clients

ClientStatusLTE applies the LTE predicate on the "client_status" field.

func ClientStatusNEQ

func ClientStatusNEQ(v int) predicate.OAuth2Clients

ClientStatusNEQ applies the NEQ predicate on the "client_status" field.

func ClientStatusNotIn

func ClientStatusNotIn(vs ...int) predicate.OAuth2Clients

ClientStatusNotIn applies the NotIn predicate on the "client_status" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.OAuth2Clients

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OAuth2Clients

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OAuth2Clients

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OAuth2Clients

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OAuth2Clients

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OAuth2Clients

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OAuth2Clients

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int64) predicate.OAuth2Clients

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

func CreatedByEQ

func CreatedByEQ(v int64) predicate.OAuth2Clients

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

func CreatedByGT

func CreatedByGT(v int64) predicate.OAuth2Clients

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

func CreatedByGTE

func CreatedByGTE(v int64) predicate.OAuth2Clients

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.OAuth2Clients

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

func CreatedByLT

func CreatedByLT(v int64) predicate.OAuth2Clients

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

func CreatedByLTE

func CreatedByLTE(v int64) predicate.OAuth2Clients

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

func CreatedByNEQ

func CreatedByNEQ(v int64) predicate.OAuth2Clients

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.OAuth2Clients

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

func DeletedAt

func DeletedAt(v time.Time) predicate.OAuth2Clients

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.OAuth2Clients

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.OAuth2Clients

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.OAuth2Clients

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.OAuth2Clients

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.OAuth2Clients

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.OAuth2Clients

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.OAuth2Clients

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.OAuth2Clients

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

func Description

func Description(v string) predicate.OAuth2Clients

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

func DescriptionContains

func DescriptionContains(v string) predicate.OAuth2Clients

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.OAuth2Clients

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.OAuth2Clients

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.OAuth2Clients

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

func DescriptionGT

func DescriptionGT(v string) predicate.OAuth2Clients

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.OAuth2Clients

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.OAuth2Clients

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.OAuth2Clients

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.OAuth2Clients

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.OAuth2Clients

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.OAuth2Clients

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

func DescriptionNotIn

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

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

func DisplayName

func DisplayName(v string) predicate.OAuth2Clients

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

func DisplayNameContains

func DisplayNameContains(v string) predicate.OAuth2Clients

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

func DisplayNameContainsFold

func DisplayNameContainsFold(v string) predicate.OAuth2Clients

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

func DisplayNameEQ

func DisplayNameEQ(v string) predicate.OAuth2Clients

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

func DisplayNameEqualFold

func DisplayNameEqualFold(v string) predicate.OAuth2Clients

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

func DisplayNameGT

func DisplayNameGT(v string) predicate.OAuth2Clients

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

func DisplayNameGTE

func DisplayNameGTE(v string) predicate.OAuth2Clients

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

func DisplayNameHasPrefix

func DisplayNameHasPrefix(v string) predicate.OAuth2Clients

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

func DisplayNameHasSuffix

func DisplayNameHasSuffix(v string) predicate.OAuth2Clients

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

func DisplayNameIn

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

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

func DisplayNameLT

func DisplayNameLT(v string) predicate.OAuth2Clients

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

func DisplayNameLTE

func DisplayNameLTE(v string) predicate.OAuth2Clients

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

func DisplayNameNEQ

func DisplayNameNEQ(v string) predicate.OAuth2Clients

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

func DisplayNameNotIn

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

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

func GrantTypesIsNil

func GrantTypesIsNil() predicate.OAuth2Clients

GrantTypesIsNil applies the IsNil predicate on the "grant_types" field.

func GrantTypesNotNil

func GrantTypesNotNil() predicate.OAuth2Clients

GrantTypesNotNil applies the NotNil predicate on the "grant_types" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.OAuth2Clients

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.OAuth2Clients

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.OAuth2Clients

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.OAuth2Clients

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.OAuth2Clients

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.OAuth2Clients

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LogoURL

func LogoURL(v string) predicate.OAuth2Clients

LogoURL applies equality check predicate on the "logo_url" field. It's identical to LogoURLEQ.

func LogoURLContains

func LogoURLContains(v string) predicate.OAuth2Clients

LogoURLContains applies the Contains predicate on the "logo_url" field.

func LogoURLContainsFold

func LogoURLContainsFold(v string) predicate.OAuth2Clients

LogoURLContainsFold applies the ContainsFold predicate on the "logo_url" field.

func LogoURLEQ

func LogoURLEQ(v string) predicate.OAuth2Clients

LogoURLEQ applies the EQ predicate on the "logo_url" field.

func LogoURLEqualFold

func LogoURLEqualFold(v string) predicate.OAuth2Clients

LogoURLEqualFold applies the EqualFold predicate on the "logo_url" field.

func LogoURLGT

func LogoURLGT(v string) predicate.OAuth2Clients

LogoURLGT applies the GT predicate on the "logo_url" field.

func LogoURLGTE

func LogoURLGTE(v string) predicate.OAuth2Clients

LogoURLGTE applies the GTE predicate on the "logo_url" field.

func LogoURLHasPrefix

func LogoURLHasPrefix(v string) predicate.OAuth2Clients

LogoURLHasPrefix applies the HasPrefix predicate on the "logo_url" field.

func LogoURLHasSuffix

func LogoURLHasSuffix(v string) predicate.OAuth2Clients

LogoURLHasSuffix applies the HasSuffix predicate on the "logo_url" field.

func LogoURLIn

func LogoURLIn(vs ...string) predicate.OAuth2Clients

LogoURLIn applies the In predicate on the "logo_url" field.

func LogoURLLT

func LogoURLLT(v string) predicate.OAuth2Clients

LogoURLLT applies the LT predicate on the "logo_url" field.

func LogoURLLTE

func LogoURLLTE(v string) predicate.OAuth2Clients

LogoURLLTE applies the LTE predicate on the "logo_url" field.

func LogoURLNEQ

func LogoURLNEQ(v string) predicate.OAuth2Clients

LogoURLNEQ applies the NEQ predicate on the "logo_url" field.

func LogoURLNotIn

func LogoURLNotIn(vs ...string) predicate.OAuth2Clients

LogoURLNotIn applies the NotIn predicate on the "logo_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 RedirectUrisIsNil

func RedirectUrisIsNil() predicate.OAuth2Clients

RedirectUrisIsNil applies the IsNil predicate on the "redirect_uris" field.

func RedirectUrisNotNil

func RedirectUrisNotNil() predicate.OAuth2Clients

RedirectUrisNotNil applies the NotNil predicate on the "redirect_uris" field.

func ScopesIsNil

func ScopesIsNil() predicate.OAuth2Clients

ScopesIsNil applies the IsNil predicate on the "scopes" field.

func ScopesNotNil

func ScopesNotNil() predicate.OAuth2Clients

ScopesNotNil applies the NotNil predicate on the "scopes" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.OAuth2Clients

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.OAuth2Clients

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.OAuth2Clients

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.OAuth2Clients

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.OAuth2Clients

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OAuth2Clients

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OAuth2Clients

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

func UpdatedAtNotIn

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

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

func UpdatedBy

func UpdatedBy(v int64) predicate.OAuth2Clients

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

func UpdatedByEQ

func UpdatedByEQ(v int64) predicate.OAuth2Clients

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

func UpdatedByGT

func UpdatedByGT(v int64) predicate.OAuth2Clients

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

func UpdatedByGTE

func UpdatedByGTE(v int64) predicate.OAuth2Clients

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.OAuth2Clients

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

func UpdatedByLT

func UpdatedByLT(v int64) predicate.OAuth2Clients

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

func UpdatedByLTE

func UpdatedByLTE(v int64) predicate.OAuth2Clients

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

func UpdatedByNEQ

func UpdatedByNEQ(v int64) predicate.OAuth2Clients

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.OAuth2Clients

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 OAuth2Clients queries.

func ByClientID

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

ByClientID orders the results by the client_id field.

func ByClientSecretHash

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

ByClientSecretHash orders the results by the client_secret_hash field.

func ByClientStatus

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

ByClientStatus orders the results by the client_status 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 ByLogoURL

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

ByLogoURL orders the results by the logo_url 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