ohauthtootoken

package
v0.0.0-...-ccb1307 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the ohauthtootoken type in the database.
	Label = "oh_auth_too_token"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldClientID holds the string denoting the client_id field in the database.
	FieldClientID = "client_id"
	// FieldScopes holds the string denoting the scopes field in the database.
	FieldScopes = "scopes"
	// FieldNonce holds the string denoting the nonce field in the database.
	FieldNonce = "nonce"
	// FieldClaimsUserID holds the string denoting the claims_user_id field in the database.
	FieldClaimsUserID = "claims_user_id"
	// FieldClaimsUsername holds the string denoting the claims_username field in the database.
	FieldClaimsUsername = "claims_username"
	// FieldClaimsEmail holds the string denoting the claims_email field in the database.
	FieldClaimsEmail = "claims_email"
	// FieldClaimsEmailVerified holds the string denoting the claims_email_verified field in the database.
	FieldClaimsEmailVerified = "claims_email_verified"
	// FieldClaimsGroups holds the string denoting the claims_groups field in the database.
	FieldClaimsGroups = "claims_groups"
	// FieldClaimsPreferredUsername holds the string denoting the claims_preferred_username field in the database.
	FieldClaimsPreferredUsername = "claims_preferred_username"
	// FieldConnectorID holds the string denoting the connector_id field in the database.
	FieldConnectorID = "connector_id"
	// FieldConnectorData holds the string denoting the connector_data field in the database.
	FieldConnectorData = "connector_data"
	// FieldLastUsed holds the string denoting the last_used field in the database.
	FieldLastUsed = "last_used"
	// EdgeIntegration holds the string denoting the integration edge name in mutations.
	EdgeIntegration = "integration"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// Table holds the table name of the ohauthtootoken in the database.
	Table = "oh_auth_too_tokens"
	// IntegrationTable is the table that holds the integration relation/edge. The primary key declared below.
	IntegrationTable = "integration_oauth2tokens"
	// IntegrationInverseTable is the table name for the Integration entity.
	// It exists in this package in order to avoid circular dependency with the "integration" package.
	IntegrationInverseTable = "integrations"
	// EventsTable is the table that holds the events relation/edge. The primary key declared below.
	EventsTable = "oh_auth_too_token_events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
)

Variables

View Source
var (
	// IntegrationPrimaryKey and IntegrationColumn2 are the table columns denoting the
	// primary key for the integration relation (M2M).
	IntegrationPrimaryKey = []string{"integration_id", "oh_auth_too_token_id"}
	// EventsPrimaryKey and EventsColumn2 are the table columns denoting the
	// primary key for the events relation (M2M).
	EventsPrimaryKey = []string{"oh_auth_too_token_id", "event_id"}
)
View Source
var (
	// ClientIDValidator is a validator for the "client_id" field. It is called by the builders before save.
	ClientIDValidator func(string) error
	// NonceValidator is a validator for the "nonce" field. It is called by the builders before save.
	NonceValidator func(string) error
	// ClaimsUserIDValidator is a validator for the "claims_user_id" field. It is called by the builders before save.
	ClaimsUserIDValidator func(string) error
	// ClaimsUsernameValidator is a validator for the "claims_username" field. It is called by the builders before save.
	ClaimsUsernameValidator func(string) error
	// ClaimsEmailValidator is a validator for the "claims_email" field. It is called by the builders before save.
	ClaimsEmailValidator func(string) error
	// ConnectorIDValidator is a validator for the "connector_id" field. It is called by the builders before save.
	ConnectorIDValidator func(string) error
	// DefaultLastUsed holds the default value on creation for the "last_used" field.
	DefaultLastUsed func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for ohauthtootoken fields.

Functions

func And

And groups predicates with the AND operator between them.

func ClaimsEmail

func ClaimsEmail(v string) predicate.OhAuthTooToken

ClaimsEmail applies equality check predicate on the "claims_email" field. It's identical to ClaimsEmailEQ.

func ClaimsEmailContains

func ClaimsEmailContains(v string) predicate.OhAuthTooToken

ClaimsEmailContains applies the Contains predicate on the "claims_email" field.

func ClaimsEmailContainsFold

func ClaimsEmailContainsFold(v string) predicate.OhAuthTooToken

ClaimsEmailContainsFold applies the ContainsFold predicate on the "claims_email" field.

func ClaimsEmailEQ

func ClaimsEmailEQ(v string) predicate.OhAuthTooToken

ClaimsEmailEQ applies the EQ predicate on the "claims_email" field.

func ClaimsEmailEqualFold

func ClaimsEmailEqualFold(v string) predicate.OhAuthTooToken

ClaimsEmailEqualFold applies the EqualFold predicate on the "claims_email" field.

func ClaimsEmailGT

func ClaimsEmailGT(v string) predicate.OhAuthTooToken

ClaimsEmailGT applies the GT predicate on the "claims_email" field.

func ClaimsEmailGTE

func ClaimsEmailGTE(v string) predicate.OhAuthTooToken

ClaimsEmailGTE applies the GTE predicate on the "claims_email" field.

func ClaimsEmailHasPrefix

func ClaimsEmailHasPrefix(v string) predicate.OhAuthTooToken

ClaimsEmailHasPrefix applies the HasPrefix predicate on the "claims_email" field.

func ClaimsEmailHasSuffix

func ClaimsEmailHasSuffix(v string) predicate.OhAuthTooToken

ClaimsEmailHasSuffix applies the HasSuffix predicate on the "claims_email" field.

func ClaimsEmailIn

func ClaimsEmailIn(vs ...string) predicate.OhAuthTooToken

ClaimsEmailIn applies the In predicate on the "claims_email" field.

func ClaimsEmailLT

func ClaimsEmailLT(v string) predicate.OhAuthTooToken

ClaimsEmailLT applies the LT predicate on the "claims_email" field.

func ClaimsEmailLTE

func ClaimsEmailLTE(v string) predicate.OhAuthTooToken

ClaimsEmailLTE applies the LTE predicate on the "claims_email" field.

func ClaimsEmailNEQ

func ClaimsEmailNEQ(v string) predicate.OhAuthTooToken

ClaimsEmailNEQ applies the NEQ predicate on the "claims_email" field.

func ClaimsEmailNotIn

func ClaimsEmailNotIn(vs ...string) predicate.OhAuthTooToken

ClaimsEmailNotIn applies the NotIn predicate on the "claims_email" field.

func ClaimsEmailVerified

func ClaimsEmailVerified(v bool) predicate.OhAuthTooToken

ClaimsEmailVerified applies equality check predicate on the "claims_email_verified" field. It's identical to ClaimsEmailVerifiedEQ.

func ClaimsEmailVerifiedEQ

func ClaimsEmailVerifiedEQ(v bool) predicate.OhAuthTooToken

ClaimsEmailVerifiedEQ applies the EQ predicate on the "claims_email_verified" field.

func ClaimsEmailVerifiedNEQ

func ClaimsEmailVerifiedNEQ(v bool) predicate.OhAuthTooToken

ClaimsEmailVerifiedNEQ applies the NEQ predicate on the "claims_email_verified" field.

func ClaimsGroupsIsNil

func ClaimsGroupsIsNil() predicate.OhAuthTooToken

ClaimsGroupsIsNil applies the IsNil predicate on the "claims_groups" field.

func ClaimsGroupsNotNil

func ClaimsGroupsNotNil() predicate.OhAuthTooToken

ClaimsGroupsNotNil applies the NotNil predicate on the "claims_groups" field.

func ClaimsPreferredUsername

func ClaimsPreferredUsername(v string) predicate.OhAuthTooToken

ClaimsPreferredUsername applies equality check predicate on the "claims_preferred_username" field. It's identical to ClaimsPreferredUsernameEQ.

func ClaimsPreferredUsernameContains

func ClaimsPreferredUsernameContains(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameContains applies the Contains predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameContainsFold

func ClaimsPreferredUsernameContainsFold(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameContainsFold applies the ContainsFold predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameEQ

func ClaimsPreferredUsernameEQ(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameEQ applies the EQ predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameEqualFold

func ClaimsPreferredUsernameEqualFold(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameEqualFold applies the EqualFold predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameGT

func ClaimsPreferredUsernameGT(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameGT applies the GT predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameGTE

func ClaimsPreferredUsernameGTE(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameGTE applies the GTE predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameHasPrefix

func ClaimsPreferredUsernameHasPrefix(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameHasPrefix applies the HasPrefix predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameHasSuffix

func ClaimsPreferredUsernameHasSuffix(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameHasSuffix applies the HasSuffix predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameIn

func ClaimsPreferredUsernameIn(vs ...string) predicate.OhAuthTooToken

ClaimsPreferredUsernameIn applies the In predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameLT

func ClaimsPreferredUsernameLT(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameLT applies the LT predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameLTE

func ClaimsPreferredUsernameLTE(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameLTE applies the LTE predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameNEQ

func ClaimsPreferredUsernameNEQ(v string) predicate.OhAuthTooToken

ClaimsPreferredUsernameNEQ applies the NEQ predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameNotIn

func ClaimsPreferredUsernameNotIn(vs ...string) predicate.OhAuthTooToken

ClaimsPreferredUsernameNotIn applies the NotIn predicate on the "claims_preferred_username" field.

func ClaimsUserID

func ClaimsUserID(v string) predicate.OhAuthTooToken

ClaimsUserID applies equality check predicate on the "claims_user_id" field. It's identical to ClaimsUserIDEQ.

func ClaimsUserIDContains

func ClaimsUserIDContains(v string) predicate.OhAuthTooToken

ClaimsUserIDContains applies the Contains predicate on the "claims_user_id" field.

func ClaimsUserIDContainsFold

func ClaimsUserIDContainsFold(v string) predicate.OhAuthTooToken

ClaimsUserIDContainsFold applies the ContainsFold predicate on the "claims_user_id" field.

func ClaimsUserIDEQ

func ClaimsUserIDEQ(v string) predicate.OhAuthTooToken

ClaimsUserIDEQ applies the EQ predicate on the "claims_user_id" field.

func ClaimsUserIDEqualFold

func ClaimsUserIDEqualFold(v string) predicate.OhAuthTooToken

ClaimsUserIDEqualFold applies the EqualFold predicate on the "claims_user_id" field.

func ClaimsUserIDGT

func ClaimsUserIDGT(v string) predicate.OhAuthTooToken

ClaimsUserIDGT applies the GT predicate on the "claims_user_id" field.

func ClaimsUserIDGTE

func ClaimsUserIDGTE(v string) predicate.OhAuthTooToken

ClaimsUserIDGTE applies the GTE predicate on the "claims_user_id" field.

func ClaimsUserIDHasPrefix

func ClaimsUserIDHasPrefix(v string) predicate.OhAuthTooToken

ClaimsUserIDHasPrefix applies the HasPrefix predicate on the "claims_user_id" field.

func ClaimsUserIDHasSuffix

func ClaimsUserIDHasSuffix(v string) predicate.OhAuthTooToken

ClaimsUserIDHasSuffix applies the HasSuffix predicate on the "claims_user_id" field.

func ClaimsUserIDIn

func ClaimsUserIDIn(vs ...string) predicate.OhAuthTooToken

ClaimsUserIDIn applies the In predicate on the "claims_user_id" field.

func ClaimsUserIDLT

func ClaimsUserIDLT(v string) predicate.OhAuthTooToken

ClaimsUserIDLT applies the LT predicate on the "claims_user_id" field.

func ClaimsUserIDLTE

func ClaimsUserIDLTE(v string) predicate.OhAuthTooToken

ClaimsUserIDLTE applies the LTE predicate on the "claims_user_id" field.

func ClaimsUserIDNEQ

func ClaimsUserIDNEQ(v string) predicate.OhAuthTooToken

ClaimsUserIDNEQ applies the NEQ predicate on the "claims_user_id" field.

func ClaimsUserIDNotIn

func ClaimsUserIDNotIn(vs ...string) predicate.OhAuthTooToken

ClaimsUserIDNotIn applies the NotIn predicate on the "claims_user_id" field.

func ClaimsUsername

func ClaimsUsername(v string) predicate.OhAuthTooToken

ClaimsUsername applies equality check predicate on the "claims_username" field. It's identical to ClaimsUsernameEQ.

func ClaimsUsernameContains

func ClaimsUsernameContains(v string) predicate.OhAuthTooToken

ClaimsUsernameContains applies the Contains predicate on the "claims_username" field.

func ClaimsUsernameContainsFold

func ClaimsUsernameContainsFold(v string) predicate.OhAuthTooToken

ClaimsUsernameContainsFold applies the ContainsFold predicate on the "claims_username" field.

func ClaimsUsernameEQ

func ClaimsUsernameEQ(v string) predicate.OhAuthTooToken

ClaimsUsernameEQ applies the EQ predicate on the "claims_username" field.

func ClaimsUsernameEqualFold

func ClaimsUsernameEqualFold(v string) predicate.OhAuthTooToken

ClaimsUsernameEqualFold applies the EqualFold predicate on the "claims_username" field.

func ClaimsUsernameGT

func ClaimsUsernameGT(v string) predicate.OhAuthTooToken

ClaimsUsernameGT applies the GT predicate on the "claims_username" field.

func ClaimsUsernameGTE

func ClaimsUsernameGTE(v string) predicate.OhAuthTooToken

ClaimsUsernameGTE applies the GTE predicate on the "claims_username" field.

func ClaimsUsernameHasPrefix

func ClaimsUsernameHasPrefix(v string) predicate.OhAuthTooToken

ClaimsUsernameHasPrefix applies the HasPrefix predicate on the "claims_username" field.

func ClaimsUsernameHasSuffix

func ClaimsUsernameHasSuffix(v string) predicate.OhAuthTooToken

ClaimsUsernameHasSuffix applies the HasSuffix predicate on the "claims_username" field.

func ClaimsUsernameIn

func ClaimsUsernameIn(vs ...string) predicate.OhAuthTooToken

ClaimsUsernameIn applies the In predicate on the "claims_username" field.

func ClaimsUsernameLT

func ClaimsUsernameLT(v string) predicate.OhAuthTooToken

ClaimsUsernameLT applies the LT predicate on the "claims_username" field.

func ClaimsUsernameLTE

func ClaimsUsernameLTE(v string) predicate.OhAuthTooToken

ClaimsUsernameLTE applies the LTE predicate on the "claims_username" field.

func ClaimsUsernameNEQ

func ClaimsUsernameNEQ(v string) predicate.OhAuthTooToken

ClaimsUsernameNEQ applies the NEQ predicate on the "claims_username" field.

func ClaimsUsernameNotIn

func ClaimsUsernameNotIn(vs ...string) predicate.OhAuthTooToken

ClaimsUsernameNotIn applies the NotIn predicate on the "claims_username" field.

func ClientID

func ClientID(v string) predicate.OhAuthTooToken

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

func ClientIDContains

func ClientIDContains(v string) predicate.OhAuthTooToken

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

func ClientIDContainsFold

func ClientIDContainsFold(v string) predicate.OhAuthTooToken

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

func ClientIDEQ

func ClientIDEQ(v string) predicate.OhAuthTooToken

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

func ClientIDEqualFold

func ClientIDEqualFold(v string) predicate.OhAuthTooToken

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

func ClientIDGT

func ClientIDGT(v string) predicate.OhAuthTooToken

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

func ClientIDGTE

func ClientIDGTE(v string) predicate.OhAuthTooToken

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

func ClientIDHasPrefix

func ClientIDHasPrefix(v string) predicate.OhAuthTooToken

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

func ClientIDHasSuffix

func ClientIDHasSuffix(v string) predicate.OhAuthTooToken

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

func ClientIDIn

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

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

func ClientIDLT

func ClientIDLT(v string) predicate.OhAuthTooToken

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

func ClientIDLTE

func ClientIDLTE(v string) predicate.OhAuthTooToken

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

func ClientIDNEQ

func ClientIDNEQ(v string) predicate.OhAuthTooToken

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

func ClientIDNotIn

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

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

func ConnectorDataIsNil

func ConnectorDataIsNil() predicate.OhAuthTooToken

ConnectorDataIsNil applies the IsNil predicate on the "connector_data" field.

func ConnectorDataNotNil

func ConnectorDataNotNil() predicate.OhAuthTooToken

ConnectorDataNotNil applies the NotNil predicate on the "connector_data" field.

func ConnectorID

func ConnectorID(v string) predicate.OhAuthTooToken

ConnectorID applies equality check predicate on the "connector_id" field. It's identical to ConnectorIDEQ.

func ConnectorIDContains

func ConnectorIDContains(v string) predicate.OhAuthTooToken

ConnectorIDContains applies the Contains predicate on the "connector_id" field.

func ConnectorIDContainsFold

func ConnectorIDContainsFold(v string) predicate.OhAuthTooToken

ConnectorIDContainsFold applies the ContainsFold predicate on the "connector_id" field.

func ConnectorIDEQ

func ConnectorIDEQ(v string) predicate.OhAuthTooToken

ConnectorIDEQ applies the EQ predicate on the "connector_id" field.

func ConnectorIDEqualFold

func ConnectorIDEqualFold(v string) predicate.OhAuthTooToken

ConnectorIDEqualFold applies the EqualFold predicate on the "connector_id" field.

func ConnectorIDGT

func ConnectorIDGT(v string) predicate.OhAuthTooToken

ConnectorIDGT applies the GT predicate on the "connector_id" field.

func ConnectorIDGTE

func ConnectorIDGTE(v string) predicate.OhAuthTooToken

ConnectorIDGTE applies the GTE predicate on the "connector_id" field.

func ConnectorIDHasPrefix

func ConnectorIDHasPrefix(v string) predicate.OhAuthTooToken

ConnectorIDHasPrefix applies the HasPrefix predicate on the "connector_id" field.

func ConnectorIDHasSuffix

func ConnectorIDHasSuffix(v string) predicate.OhAuthTooToken

ConnectorIDHasSuffix applies the HasSuffix predicate on the "connector_id" field.

func ConnectorIDIn

func ConnectorIDIn(vs ...string) predicate.OhAuthTooToken

ConnectorIDIn applies the In predicate on the "connector_id" field.

func ConnectorIDLT

func ConnectorIDLT(v string) predicate.OhAuthTooToken

ConnectorIDLT applies the LT predicate on the "connector_id" field.

func ConnectorIDLTE

func ConnectorIDLTE(v string) predicate.OhAuthTooToken

ConnectorIDLTE applies the LTE predicate on the "connector_id" field.

func ConnectorIDNEQ

func ConnectorIDNEQ(v string) predicate.OhAuthTooToken

ConnectorIDNEQ applies the NEQ predicate on the "connector_id" field.

func ConnectorIDNotIn

func ConnectorIDNotIn(vs ...string) predicate.OhAuthTooToken

ConnectorIDNotIn applies the NotIn predicate on the "connector_id" field.

func HasEvents

func HasEvents() predicate.OhAuthTooToken

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.OhAuthTooToken

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

func HasIntegration

func HasIntegration() predicate.OhAuthTooToken

HasIntegration applies the HasEdge predicate on the "integration" edge.

func HasIntegrationWith

func HasIntegrationWith(preds ...predicate.Integration) predicate.OhAuthTooToken

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.OhAuthTooToken

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.OhAuthTooToken

IDEqualFold applies the EqualFold 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 ...string) predicate.OhAuthTooToken

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 ...string) predicate.OhAuthTooToken

IDNotIn applies the NotIn predicate on the ID field.

func LastUsed

func LastUsed(v time.Time) predicate.OhAuthTooToken

LastUsed applies equality check predicate on the "last_used" field. It's identical to LastUsedEQ.

func LastUsedEQ

func LastUsedEQ(v time.Time) predicate.OhAuthTooToken

LastUsedEQ applies the EQ predicate on the "last_used" field.

func LastUsedGT

func LastUsedGT(v time.Time) predicate.OhAuthTooToken

LastUsedGT applies the GT predicate on the "last_used" field.

func LastUsedGTE

func LastUsedGTE(v time.Time) predicate.OhAuthTooToken

LastUsedGTE applies the GTE predicate on the "last_used" field.

func LastUsedIn

func LastUsedIn(vs ...time.Time) predicate.OhAuthTooToken

LastUsedIn applies the In predicate on the "last_used" field.

func LastUsedLT

func LastUsedLT(v time.Time) predicate.OhAuthTooToken

LastUsedLT applies the LT predicate on the "last_used" field.

func LastUsedLTE

func LastUsedLTE(v time.Time) predicate.OhAuthTooToken

LastUsedLTE applies the LTE predicate on the "last_used" field.

func LastUsedNEQ

func LastUsedNEQ(v time.Time) predicate.OhAuthTooToken

LastUsedNEQ applies the NEQ predicate on the "last_used" field.

func LastUsedNotIn

func LastUsedNotIn(vs ...time.Time) predicate.OhAuthTooToken

LastUsedNotIn applies the NotIn predicate on the "last_used" field.

func Nonce

Nonce applies equality check predicate on the "nonce" field. It's identical to NonceEQ.

func NonceContains

func NonceContains(v string) predicate.OhAuthTooToken

NonceContains applies the Contains predicate on the "nonce" field.

func NonceContainsFold

func NonceContainsFold(v string) predicate.OhAuthTooToken

NonceContainsFold applies the ContainsFold predicate on the "nonce" field.

func NonceEQ

func NonceEQ(v string) predicate.OhAuthTooToken

NonceEQ applies the EQ predicate on the "nonce" field.

func NonceEqualFold

func NonceEqualFold(v string) predicate.OhAuthTooToken

NonceEqualFold applies the EqualFold predicate on the "nonce" field.

func NonceGT

func NonceGT(v string) predicate.OhAuthTooToken

NonceGT applies the GT predicate on the "nonce" field.

func NonceGTE

func NonceGTE(v string) predicate.OhAuthTooToken

NonceGTE applies the GTE predicate on the "nonce" field.

func NonceHasPrefix

func NonceHasPrefix(v string) predicate.OhAuthTooToken

NonceHasPrefix applies the HasPrefix predicate on the "nonce" field.

func NonceHasSuffix

func NonceHasSuffix(v string) predicate.OhAuthTooToken

NonceHasSuffix applies the HasSuffix predicate on the "nonce" field.

func NonceIn

func NonceIn(vs ...string) predicate.OhAuthTooToken

NonceIn applies the In predicate on the "nonce" field.

func NonceLT

func NonceLT(v string) predicate.OhAuthTooToken

NonceLT applies the LT predicate on the "nonce" field.

func NonceLTE

func NonceLTE(v string) predicate.OhAuthTooToken

NonceLTE applies the LTE predicate on the "nonce" field.

func NonceNEQ

func NonceNEQ(v string) predicate.OhAuthTooToken

NonceNEQ applies the NEQ predicate on the "nonce" field.

func NonceNotIn

func NonceNotIn(vs ...string) predicate.OhAuthTooToken

NonceNotIn applies the NotIn predicate on the "nonce" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ScopesIsNil

func ScopesIsNil() predicate.OhAuthTooToken

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

func ScopesNotNil

func ScopesNotNil() predicate.OhAuthTooToken

ScopesNotNil applies the NotNil predicate on the "scopes" 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 OhAuthTooToken queries.

func ByClaimsEmail

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

ByClaimsEmail orders the results by the claims_email field.

func ByClaimsEmailVerified

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

ByClaimsEmailVerified orders the results by the claims_email_verified field.

func ByClaimsPreferredUsername

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

ByClaimsPreferredUsername orders the results by the claims_preferred_username field.

func ByClaimsUserID

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

ByClaimsUserID orders the results by the claims_user_id field.

func ByClaimsUsername

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

ByClaimsUsername orders the results by the claims_username field.

func ByClientID

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

ByClientID orders the results by the client_id field.

func ByConnectorID

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

ByConnectorID orders the results by the connector_id field.

func ByEvents

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

ByEvents orders the results by events terms.

func ByEventsCount

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

ByEventsCount orders the results by events count.

func ByID

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

ByID orders the results by the id field.

func ByIntegration

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

ByIntegration orders the results by integration terms.

func ByIntegrationCount

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

ByIntegrationCount orders the results by integration count.

func ByLastUsed

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

ByLastUsed orders the results by the last_used field.

func ByNonce

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

ByNonce orders the results by the nonce field.

Jump to

Keyboard shortcuts

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