refreshtoken

package
v0.0.0-...-c3b95e6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the refreshtoken type in the database.
	Label = "refresh_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"
	// FieldToken holds the string denoting the token field in the database.
	FieldToken = "token"
	// FieldObsoleteToken holds the string denoting the obsolete_token field in the database.
	FieldObsoleteToken = "obsolete_token"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldLastUsed holds the string denoting the last_used field in the database.
	FieldLastUsed = "last_used"
	// Table holds the table name of the refreshtoken in the database.
	Table = "refresh_tokens"
)

Variables

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
	// DefaultClaimsPreferredUsername holds the default value on creation for the "claims_preferred_username" field.
	DefaultClaimsPreferredUsername string
	// ConnectorIDValidator is a validator for the "connector_id" field. It is called by the builders before save.
	ConnectorIDValidator func(string) error
	// DefaultToken holds the default value on creation for the "token" field.
	DefaultToken string
	// DefaultObsoleteToken holds the default value on creation for the "obsolete_token" field.
	DefaultObsoleteToken string
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultLastUsed holds the default value on creation for the "last_used" field.
	DefaultLastUsed func() time.Time
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for refreshtoken fields.

Functions

func And

func And(predicates ...predicate.RefreshToken) predicate.RefreshToken

And groups predicates with the AND operator between them.

func ClaimsEmail

func ClaimsEmail(v string) predicate.RefreshToken

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

func ClaimsEmailContains

func ClaimsEmailContains(v string) predicate.RefreshToken

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

func ClaimsEmailContainsFold

func ClaimsEmailContainsFold(v string) predicate.RefreshToken

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

func ClaimsEmailEQ

func ClaimsEmailEQ(v string) predicate.RefreshToken

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

func ClaimsEmailEqualFold

func ClaimsEmailEqualFold(v string) predicate.RefreshToken

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

func ClaimsEmailGT

func ClaimsEmailGT(v string) predicate.RefreshToken

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

func ClaimsEmailGTE

func ClaimsEmailGTE(v string) predicate.RefreshToken

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

func ClaimsEmailHasPrefix

func ClaimsEmailHasPrefix(v string) predicate.RefreshToken

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

func ClaimsEmailHasSuffix

func ClaimsEmailHasSuffix(v string) predicate.RefreshToken

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

func ClaimsEmailIn

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

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

func ClaimsEmailLT

func ClaimsEmailLT(v string) predicate.RefreshToken

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

func ClaimsEmailLTE

func ClaimsEmailLTE(v string) predicate.RefreshToken

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

func ClaimsEmailNEQ

func ClaimsEmailNEQ(v string) predicate.RefreshToken

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

func ClaimsEmailNotIn

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

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

func ClaimsEmailVerified

func ClaimsEmailVerified(v bool) predicate.RefreshToken

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

func ClaimsEmailVerifiedEQ

func ClaimsEmailVerifiedEQ(v bool) predicate.RefreshToken

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

func ClaimsEmailVerifiedNEQ

func ClaimsEmailVerifiedNEQ(v bool) predicate.RefreshToken

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

func ClaimsGroupsIsNil

func ClaimsGroupsIsNil() predicate.RefreshToken

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

func ClaimsGroupsNotNil

func ClaimsGroupsNotNil() predicate.RefreshToken

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

func ClaimsPreferredUsername

func ClaimsPreferredUsername(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameContains

func ClaimsPreferredUsernameContains(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameContainsFold

func ClaimsPreferredUsernameContainsFold(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameEQ

func ClaimsPreferredUsernameEQ(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameEqualFold

func ClaimsPreferredUsernameEqualFold(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameGT

func ClaimsPreferredUsernameGT(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameGTE

func ClaimsPreferredUsernameGTE(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameHasPrefix

func ClaimsPreferredUsernameHasPrefix(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameHasSuffix

func ClaimsPreferredUsernameHasSuffix(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameIn

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

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

func ClaimsPreferredUsernameLT

func ClaimsPreferredUsernameLT(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameLTE

func ClaimsPreferredUsernameLTE(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameNEQ

func ClaimsPreferredUsernameNEQ(v string) predicate.RefreshToken

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

func ClaimsPreferredUsernameNotIn

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

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

func ClaimsUserID

func ClaimsUserID(v string) predicate.RefreshToken

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

func ClaimsUserIDContains

func ClaimsUserIDContains(v string) predicate.RefreshToken

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

func ClaimsUserIDContainsFold

func ClaimsUserIDContainsFold(v string) predicate.RefreshToken

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

func ClaimsUserIDEQ

func ClaimsUserIDEQ(v string) predicate.RefreshToken

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

func ClaimsUserIDEqualFold

func ClaimsUserIDEqualFold(v string) predicate.RefreshToken

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

func ClaimsUserIDGT

func ClaimsUserIDGT(v string) predicate.RefreshToken

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

func ClaimsUserIDGTE

func ClaimsUserIDGTE(v string) predicate.RefreshToken

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

func ClaimsUserIDHasPrefix

func ClaimsUserIDHasPrefix(v string) predicate.RefreshToken

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

func ClaimsUserIDHasSuffix

func ClaimsUserIDHasSuffix(v string) predicate.RefreshToken

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

func ClaimsUserIDIn

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

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

func ClaimsUserIDLT

func ClaimsUserIDLT(v string) predicate.RefreshToken

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

func ClaimsUserIDLTE

func ClaimsUserIDLTE(v string) predicate.RefreshToken

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

func ClaimsUserIDNEQ

func ClaimsUserIDNEQ(v string) predicate.RefreshToken

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

func ClaimsUserIDNotIn

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

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

func ClaimsUsername

func ClaimsUsername(v string) predicate.RefreshToken

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

func ClaimsUsernameContains

func ClaimsUsernameContains(v string) predicate.RefreshToken

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

func ClaimsUsernameContainsFold

func ClaimsUsernameContainsFold(v string) predicate.RefreshToken

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

func ClaimsUsernameEQ

func ClaimsUsernameEQ(v string) predicate.RefreshToken

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

func ClaimsUsernameEqualFold

func ClaimsUsernameEqualFold(v string) predicate.RefreshToken

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

func ClaimsUsernameGT

func ClaimsUsernameGT(v string) predicate.RefreshToken

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

func ClaimsUsernameGTE

func ClaimsUsernameGTE(v string) predicate.RefreshToken

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

func ClaimsUsernameHasPrefix

func ClaimsUsernameHasPrefix(v string) predicate.RefreshToken

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

func ClaimsUsernameHasSuffix

func ClaimsUsernameHasSuffix(v string) predicate.RefreshToken

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

func ClaimsUsernameIn

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

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

func ClaimsUsernameLT

func ClaimsUsernameLT(v string) predicate.RefreshToken

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

func ClaimsUsernameLTE

func ClaimsUsernameLTE(v string) predicate.RefreshToken

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

func ClaimsUsernameNEQ

func ClaimsUsernameNEQ(v string) predicate.RefreshToken

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

func ClaimsUsernameNotIn

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

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

func ClientID

func ClientID(v string) predicate.RefreshToken

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

func ClientIDContains

func ClientIDContains(v string) predicate.RefreshToken

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

func ClientIDContainsFold

func ClientIDContainsFold(v string) predicate.RefreshToken

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

func ClientIDEQ

func ClientIDEQ(v string) predicate.RefreshToken

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

func ClientIDEqualFold

func ClientIDEqualFold(v string) predicate.RefreshToken

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

func ClientIDGT

func ClientIDGT(v string) predicate.RefreshToken

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

func ClientIDGTE

func ClientIDGTE(v string) predicate.RefreshToken

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

func ClientIDHasPrefix

func ClientIDHasPrefix(v string) predicate.RefreshToken

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

func ClientIDHasSuffix

func ClientIDHasSuffix(v string) predicate.RefreshToken

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

func ClientIDIn

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

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

func ClientIDLT

func ClientIDLT(v string) predicate.RefreshToken

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

func ClientIDLTE

func ClientIDLTE(v string) predicate.RefreshToken

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

func ClientIDNEQ

func ClientIDNEQ(v string) predicate.RefreshToken

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

func ClientIDNotIn

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

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

func ConnectorData

func ConnectorData(v []byte) predicate.RefreshToken

ConnectorData applies equality check predicate on the "connector_data" field. It's identical to ConnectorDataEQ.

func ConnectorDataEQ

func ConnectorDataEQ(v []byte) predicate.RefreshToken

ConnectorDataEQ applies the EQ predicate on the "connector_data" field.

func ConnectorDataGT

func ConnectorDataGT(v []byte) predicate.RefreshToken

ConnectorDataGT applies the GT predicate on the "connector_data" field.

func ConnectorDataGTE

func ConnectorDataGTE(v []byte) predicate.RefreshToken

ConnectorDataGTE applies the GTE predicate on the "connector_data" field.

func ConnectorDataIn

func ConnectorDataIn(vs ...[]byte) predicate.RefreshToken

ConnectorDataIn applies the In predicate on the "connector_data" field.

func ConnectorDataIsNil

func ConnectorDataIsNil() predicate.RefreshToken

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

func ConnectorDataLT

func ConnectorDataLT(v []byte) predicate.RefreshToken

ConnectorDataLT applies the LT predicate on the "connector_data" field.

func ConnectorDataLTE

func ConnectorDataLTE(v []byte) predicate.RefreshToken

ConnectorDataLTE applies the LTE predicate on the "connector_data" field.

func ConnectorDataNEQ

func ConnectorDataNEQ(v []byte) predicate.RefreshToken

ConnectorDataNEQ applies the NEQ predicate on the "connector_data" field.

func ConnectorDataNotIn

func ConnectorDataNotIn(vs ...[]byte) predicate.RefreshToken

ConnectorDataNotIn applies the NotIn predicate on the "connector_data" field.

func ConnectorDataNotNil

func ConnectorDataNotNil() predicate.RefreshToken

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

func ConnectorID

func ConnectorID(v string) predicate.RefreshToken

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

func ConnectorIDContains

func ConnectorIDContains(v string) predicate.RefreshToken

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

func ConnectorIDContainsFold

func ConnectorIDContainsFold(v string) predicate.RefreshToken

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

func ConnectorIDEQ

func ConnectorIDEQ(v string) predicate.RefreshToken

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

func ConnectorIDEqualFold

func ConnectorIDEqualFold(v string) predicate.RefreshToken

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

func ConnectorIDGT

func ConnectorIDGT(v string) predicate.RefreshToken

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

func ConnectorIDGTE

func ConnectorIDGTE(v string) predicate.RefreshToken

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

func ConnectorIDHasPrefix

func ConnectorIDHasPrefix(v string) predicate.RefreshToken

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

func ConnectorIDHasSuffix

func ConnectorIDHasSuffix(v string) predicate.RefreshToken

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

func ConnectorIDIn

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

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

func ConnectorIDLT

func ConnectorIDLT(v string) predicate.RefreshToken

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

func ConnectorIDLTE

func ConnectorIDLTE(v string) predicate.RefreshToken

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

func ConnectorIDNEQ

func ConnectorIDNEQ(v string) predicate.RefreshToken

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

func ConnectorIDNotIn

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

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

func CreatedAt

func CreatedAt(v time.Time) predicate.RefreshToken

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.RefreshToken

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.RefreshToken

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.RefreshToken

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.RefreshToken

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.RefreshToken

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.RefreshToken

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

func CreatedAtNotIn

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

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.RefreshToken

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.RefreshToken

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.RefreshToken

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.RefreshToken

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.RefreshToken

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.RefreshToken

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LastUsed

func LastUsed(v time.Time) predicate.RefreshToken

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

func LastUsedEQ

func LastUsedEQ(v time.Time) predicate.RefreshToken

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

func LastUsedGT

func LastUsedGT(v time.Time) predicate.RefreshToken

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

func LastUsedGTE

func LastUsedGTE(v time.Time) predicate.RefreshToken

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

func LastUsedIn

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

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

func LastUsedLT

func LastUsedLT(v time.Time) predicate.RefreshToken

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

func LastUsedLTE

func LastUsedLTE(v time.Time) predicate.RefreshToken

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

func LastUsedNEQ

func LastUsedNEQ(v time.Time) predicate.RefreshToken

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

func LastUsedNotIn

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

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

func Nonce

func Nonce(v string) predicate.RefreshToken

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

func NonceContains

func NonceContains(v string) predicate.RefreshToken

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

func NonceContainsFold

func NonceContainsFold(v string) predicate.RefreshToken

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

func NonceEQ

func NonceEQ(v string) predicate.RefreshToken

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

func NonceEqualFold

func NonceEqualFold(v string) predicate.RefreshToken

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

func NonceGT

func NonceGT(v string) predicate.RefreshToken

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

func NonceGTE

func NonceGTE(v string) predicate.RefreshToken

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

func NonceHasPrefix

func NonceHasPrefix(v string) predicate.RefreshToken

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

func NonceHasSuffix

func NonceHasSuffix(v string) predicate.RefreshToken

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

func NonceIn

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

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

func NonceLT

func NonceLT(v string) predicate.RefreshToken

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

func NonceLTE

func NonceLTE(v string) predicate.RefreshToken

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

func NonceNEQ

func NonceNEQ(v string) predicate.RefreshToken

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

func NonceNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func ObsoleteToken

func ObsoleteToken(v string) predicate.RefreshToken

ObsoleteToken applies equality check predicate on the "obsolete_token" field. It's identical to ObsoleteTokenEQ.

func ObsoleteTokenContains

func ObsoleteTokenContains(v string) predicate.RefreshToken

ObsoleteTokenContains applies the Contains predicate on the "obsolete_token" field.

func ObsoleteTokenContainsFold

func ObsoleteTokenContainsFold(v string) predicate.RefreshToken

ObsoleteTokenContainsFold applies the ContainsFold predicate on the "obsolete_token" field.

func ObsoleteTokenEQ

func ObsoleteTokenEQ(v string) predicate.RefreshToken

ObsoleteTokenEQ applies the EQ predicate on the "obsolete_token" field.

func ObsoleteTokenEqualFold

func ObsoleteTokenEqualFold(v string) predicate.RefreshToken

ObsoleteTokenEqualFold applies the EqualFold predicate on the "obsolete_token" field.

func ObsoleteTokenGT

func ObsoleteTokenGT(v string) predicate.RefreshToken

ObsoleteTokenGT applies the GT predicate on the "obsolete_token" field.

func ObsoleteTokenGTE

func ObsoleteTokenGTE(v string) predicate.RefreshToken

ObsoleteTokenGTE applies the GTE predicate on the "obsolete_token" field.

func ObsoleteTokenHasPrefix

func ObsoleteTokenHasPrefix(v string) predicate.RefreshToken

ObsoleteTokenHasPrefix applies the HasPrefix predicate on the "obsolete_token" field.

func ObsoleteTokenHasSuffix

func ObsoleteTokenHasSuffix(v string) predicate.RefreshToken

ObsoleteTokenHasSuffix applies the HasSuffix predicate on the "obsolete_token" field.

func ObsoleteTokenIn

func ObsoleteTokenIn(vs ...string) predicate.RefreshToken

ObsoleteTokenIn applies the In predicate on the "obsolete_token" field.

func ObsoleteTokenLT

func ObsoleteTokenLT(v string) predicate.RefreshToken

ObsoleteTokenLT applies the LT predicate on the "obsolete_token" field.

func ObsoleteTokenLTE

func ObsoleteTokenLTE(v string) predicate.RefreshToken

ObsoleteTokenLTE applies the LTE predicate on the "obsolete_token" field.

func ObsoleteTokenNEQ

func ObsoleteTokenNEQ(v string) predicate.RefreshToken

ObsoleteTokenNEQ applies the NEQ predicate on the "obsolete_token" field.

func ObsoleteTokenNotIn

func ObsoleteTokenNotIn(vs ...string) predicate.RefreshToken

ObsoleteTokenNotIn applies the NotIn predicate on the "obsolete_token" field.

func Or

func Or(predicates ...predicate.RefreshToken) predicate.RefreshToken

Or groups predicates with the OR operator between them.

func ScopesIsNil

func ScopesIsNil() predicate.RefreshToken

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

func ScopesNotNil

func ScopesNotNil() predicate.RefreshToken

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

func Token

func Token(v string) predicate.RefreshToken

Token applies equality check predicate on the "token" field. It's identical to TokenEQ.

func TokenContains

func TokenContains(v string) predicate.RefreshToken

TokenContains applies the Contains predicate on the "token" field.

func TokenContainsFold

func TokenContainsFold(v string) predicate.RefreshToken

TokenContainsFold applies the ContainsFold predicate on the "token" field.

func TokenEQ

func TokenEQ(v string) predicate.RefreshToken

TokenEQ applies the EQ predicate on the "token" field.

func TokenEqualFold

func TokenEqualFold(v string) predicate.RefreshToken

TokenEqualFold applies the EqualFold predicate on the "token" field.

func TokenGT

func TokenGT(v string) predicate.RefreshToken

TokenGT applies the GT predicate on the "token" field.

func TokenGTE

func TokenGTE(v string) predicate.RefreshToken

TokenGTE applies the GTE predicate on the "token" field.

func TokenHasPrefix

func TokenHasPrefix(v string) predicate.RefreshToken

TokenHasPrefix applies the HasPrefix predicate on the "token" field.

func TokenHasSuffix

func TokenHasSuffix(v string) predicate.RefreshToken

TokenHasSuffix applies the HasSuffix predicate on the "token" field.

func TokenIn

func TokenIn(vs ...string) predicate.RefreshToken

TokenIn applies the In predicate on the "token" field.

func TokenLT

func TokenLT(v string) predicate.RefreshToken

TokenLT applies the LT predicate on the "token" field.

func TokenLTE

func TokenLTE(v string) predicate.RefreshToken

TokenLTE applies the LTE predicate on the "token" field.

func TokenNEQ

func TokenNEQ(v string) predicate.RefreshToken

TokenNEQ applies the NEQ predicate on the "token" field.

func TokenNotIn

func TokenNotIn(vs ...string) predicate.RefreshToken

TokenNotIn applies the NotIn predicate on the "token" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

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