Help us shape the future of Go! Take the 2026 Go Developer Survey

scimtoken

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the scimtoken type in the database.
	Label = "scim_token"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldOrganizationID holds the string denoting the organization_id field in the database.
	FieldOrganizationID = "organization_id"
	// FieldGeneration holds the string denoting the generation field in the database.
	FieldGeneration = "generation"
	// FieldTokenPrefix holds the string denoting the token_prefix field in the database.
	FieldTokenPrefix = "token_prefix"
	// FieldTokenHash holds the string denoting the token_hash field in the database.
	FieldTokenHash = "token_hash"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldLastUsedAt holds the string denoting the last_used_at field in the database.
	FieldLastUsedAt = "last_used_at"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldRevokedAt holds the string denoting the revoked_at field in the database.
	FieldRevokedAt = "revoked_at"
	// FieldRevokedBy holds the string denoting the revoked_by field in the database.
	FieldRevokedBy = "revoked_by"
	// Table holds the table name of the scimtoken in the database.
	Table = "sf_scim_tokens"
)

Variables

View Source
var (
	// GenerationValidator is a validator for the "generation" field. It is called by the builders before save.
	GenerationValidator func(int) error
	// TokenPrefixValidator is a validator for the "token_prefix" field. It is called by the builders before save.
	TokenPrefixValidator func(string) error
	// TokenHashValidator is a validator for the "token_hash" field. It is called by the builders before save.
	TokenHashValidator func(string) error
	// DescriptionValidator is a validator for the "description" field. It is called by the builders before save.
	DescriptionValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for scimtoken fields.

Functions

func And

func And(predicates ...predicate.ScimToken) predicate.ScimToken

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.ScimToken

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ScimToken

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ScimToken

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ScimToken

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ScimToken

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ScimToken

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ScimToken

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v uuid.UUID) predicate.ScimToken

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

func CreatedByEQ

func CreatedByEQ(v uuid.UUID) predicate.ScimToken

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

func CreatedByGT

func CreatedByGT(v uuid.UUID) predicate.ScimToken

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

func CreatedByGTE

func CreatedByGTE(v uuid.UUID) predicate.ScimToken

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

func CreatedByIn

func CreatedByIn(vs ...uuid.UUID) predicate.ScimToken

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

func CreatedByIsNil

func CreatedByIsNil() predicate.ScimToken

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

func CreatedByLT

func CreatedByLT(v uuid.UUID) predicate.ScimToken

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

func CreatedByLTE

func CreatedByLTE(v uuid.UUID) predicate.ScimToken

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

func CreatedByNEQ

func CreatedByNEQ(v uuid.UUID) predicate.ScimToken

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

func CreatedByNotIn

func CreatedByNotIn(vs ...uuid.UUID) predicate.ScimToken

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

func CreatedByNotNil

func CreatedByNotNil() predicate.ScimToken

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

func Description

func Description(v string) predicate.ScimToken

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

func DescriptionContains

func DescriptionContains(v string) predicate.ScimToken

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.ScimToken

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.ScimToken

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.ScimToken

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

func DescriptionGT

func DescriptionGT(v string) predicate.ScimToken

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.ScimToken

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.ScimToken

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.ScimToken

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.ScimToken

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.ScimToken

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.ScimToken

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.ScimToken

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.ScimToken

DescriptionNotNil applies the NotNil predicate on the "description" field.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.ScimToken

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.ScimToken

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.ScimToken

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.ScimToken

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.ScimToken

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtIsNil

func ExpiresAtIsNil() predicate.ScimToken

ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.ScimToken

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.ScimToken

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.ScimToken

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.ScimToken

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func ExpiresAtNotNil

func ExpiresAtNotNil() predicate.ScimToken

ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.

func Generation

func Generation(v int) predicate.ScimToken

Generation applies equality check predicate on the "generation" field. It's identical to GenerationEQ.

func GenerationEQ

func GenerationEQ(v int) predicate.ScimToken

GenerationEQ applies the EQ predicate on the "generation" field.

func GenerationGT

func GenerationGT(v int) predicate.ScimToken

GenerationGT applies the GT predicate on the "generation" field.

func GenerationGTE

func GenerationGTE(v int) predicate.ScimToken

GenerationGTE applies the GTE predicate on the "generation" field.

func GenerationIn

func GenerationIn(vs ...int) predicate.ScimToken

GenerationIn applies the In predicate on the "generation" field.

func GenerationLT

func GenerationLT(v int) predicate.ScimToken

GenerationLT applies the LT predicate on the "generation" field.

func GenerationLTE

func GenerationLTE(v int) predicate.ScimToken

GenerationLTE applies the LTE predicate on the "generation" field.

func GenerationNEQ

func GenerationNEQ(v int) predicate.ScimToken

GenerationNEQ applies the NEQ predicate on the "generation" field.

func GenerationNotIn

func GenerationNotIn(vs ...int) predicate.ScimToken

GenerationNotIn applies the NotIn predicate on the "generation" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.ScimToken

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.ScimToken

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.ScimToken

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.ScimToken

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.ScimToken

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.ScimToken

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.ScimToken

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.ScimToken

IDNotIn applies the NotIn predicate on the ID field.

func LastUsedAt

func LastUsedAt(v time.Time) predicate.ScimToken

LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.

func LastUsedAtEQ

func LastUsedAtEQ(v time.Time) predicate.ScimToken

LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.

func LastUsedAtGT

func LastUsedAtGT(v time.Time) predicate.ScimToken

LastUsedAtGT applies the GT predicate on the "last_used_at" field.

func LastUsedAtGTE

func LastUsedAtGTE(v time.Time) predicate.ScimToken

LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.

func LastUsedAtIn

func LastUsedAtIn(vs ...time.Time) predicate.ScimToken

LastUsedAtIn applies the In predicate on the "last_used_at" field.

func LastUsedAtIsNil

func LastUsedAtIsNil() predicate.ScimToken

LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.

func LastUsedAtLT

func LastUsedAtLT(v time.Time) predicate.ScimToken

LastUsedAtLT applies the LT predicate on the "last_used_at" field.

func LastUsedAtLTE

func LastUsedAtLTE(v time.Time) predicate.ScimToken

LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.

func LastUsedAtNEQ

func LastUsedAtNEQ(v time.Time) predicate.ScimToken

LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.

func LastUsedAtNotIn

func LastUsedAtNotIn(vs ...time.Time) predicate.ScimToken

LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.

func LastUsedAtNotNil

func LastUsedAtNotNil() predicate.ScimToken

LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ScimToken) predicate.ScimToken

Or groups predicates with the OR operator between them.

func OrganizationID

func OrganizationID(v uuid.UUID) predicate.ScimToken

OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.

func OrganizationIDEQ

func OrganizationIDEQ(v uuid.UUID) predicate.ScimToken

OrganizationIDEQ applies the EQ predicate on the "organization_id" field.

func OrganizationIDGT

func OrganizationIDGT(v uuid.UUID) predicate.ScimToken

OrganizationIDGT applies the GT predicate on the "organization_id" field.

func OrganizationIDGTE

func OrganizationIDGTE(v uuid.UUID) predicate.ScimToken

OrganizationIDGTE applies the GTE predicate on the "organization_id" field.

func OrganizationIDIn

func OrganizationIDIn(vs ...uuid.UUID) predicate.ScimToken

OrganizationIDIn applies the In predicate on the "organization_id" field.

func OrganizationIDLT

func OrganizationIDLT(v uuid.UUID) predicate.ScimToken

OrganizationIDLT applies the LT predicate on the "organization_id" field.

func OrganizationIDLTE

func OrganizationIDLTE(v uuid.UUID) predicate.ScimToken

OrganizationIDLTE applies the LTE predicate on the "organization_id" field.

func OrganizationIDNEQ

func OrganizationIDNEQ(v uuid.UUID) predicate.ScimToken

OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.

func OrganizationIDNotIn

func OrganizationIDNotIn(vs ...uuid.UUID) predicate.ScimToken

OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.

func RevokedAt

func RevokedAt(v time.Time) predicate.ScimToken

RevokedAt applies equality check predicate on the "revoked_at" field. It's identical to RevokedAtEQ.

func RevokedAtEQ

func RevokedAtEQ(v time.Time) predicate.ScimToken

RevokedAtEQ applies the EQ predicate on the "revoked_at" field.

func RevokedAtGT

func RevokedAtGT(v time.Time) predicate.ScimToken

RevokedAtGT applies the GT predicate on the "revoked_at" field.

func RevokedAtGTE

func RevokedAtGTE(v time.Time) predicate.ScimToken

RevokedAtGTE applies the GTE predicate on the "revoked_at" field.

func RevokedAtIn

func RevokedAtIn(vs ...time.Time) predicate.ScimToken

RevokedAtIn applies the In predicate on the "revoked_at" field.

func RevokedAtIsNil

func RevokedAtIsNil() predicate.ScimToken

RevokedAtIsNil applies the IsNil predicate on the "revoked_at" field.

func RevokedAtLT

func RevokedAtLT(v time.Time) predicate.ScimToken

RevokedAtLT applies the LT predicate on the "revoked_at" field.

func RevokedAtLTE

func RevokedAtLTE(v time.Time) predicate.ScimToken

RevokedAtLTE applies the LTE predicate on the "revoked_at" field.

func RevokedAtNEQ

func RevokedAtNEQ(v time.Time) predicate.ScimToken

RevokedAtNEQ applies the NEQ predicate on the "revoked_at" field.

func RevokedAtNotIn

func RevokedAtNotIn(vs ...time.Time) predicate.ScimToken

RevokedAtNotIn applies the NotIn predicate on the "revoked_at" field.

func RevokedAtNotNil

func RevokedAtNotNil() predicate.ScimToken

RevokedAtNotNil applies the NotNil predicate on the "revoked_at" field.

func RevokedBy

func RevokedBy(v uuid.UUID) predicate.ScimToken

RevokedBy applies equality check predicate on the "revoked_by" field. It's identical to RevokedByEQ.

func RevokedByEQ

func RevokedByEQ(v uuid.UUID) predicate.ScimToken

RevokedByEQ applies the EQ predicate on the "revoked_by" field.

func RevokedByGT

func RevokedByGT(v uuid.UUID) predicate.ScimToken

RevokedByGT applies the GT predicate on the "revoked_by" field.

func RevokedByGTE

func RevokedByGTE(v uuid.UUID) predicate.ScimToken

RevokedByGTE applies the GTE predicate on the "revoked_by" field.

func RevokedByIn

func RevokedByIn(vs ...uuid.UUID) predicate.ScimToken

RevokedByIn applies the In predicate on the "revoked_by" field.

func RevokedByIsNil

func RevokedByIsNil() predicate.ScimToken

RevokedByIsNil applies the IsNil predicate on the "revoked_by" field.

func RevokedByLT

func RevokedByLT(v uuid.UUID) predicate.ScimToken

RevokedByLT applies the LT predicate on the "revoked_by" field.

func RevokedByLTE

func RevokedByLTE(v uuid.UUID) predicate.ScimToken

RevokedByLTE applies the LTE predicate on the "revoked_by" field.

func RevokedByNEQ

func RevokedByNEQ(v uuid.UUID) predicate.ScimToken

RevokedByNEQ applies the NEQ predicate on the "revoked_by" field.

func RevokedByNotIn

func RevokedByNotIn(vs ...uuid.UUID) predicate.ScimToken

RevokedByNotIn applies the NotIn predicate on the "revoked_by" field.

func RevokedByNotNil

func RevokedByNotNil() predicate.ScimToken

RevokedByNotNil applies the NotNil predicate on the "revoked_by" field.

func TokenHash

func TokenHash(v string) predicate.ScimToken

TokenHash applies equality check predicate on the "token_hash" field. It's identical to TokenHashEQ.

func TokenHashContains

func TokenHashContains(v string) predicate.ScimToken

TokenHashContains applies the Contains predicate on the "token_hash" field.

func TokenHashContainsFold

func TokenHashContainsFold(v string) predicate.ScimToken

TokenHashContainsFold applies the ContainsFold predicate on the "token_hash" field.

func TokenHashEQ

func TokenHashEQ(v string) predicate.ScimToken

TokenHashEQ applies the EQ predicate on the "token_hash" field.

func TokenHashEqualFold

func TokenHashEqualFold(v string) predicate.ScimToken

TokenHashEqualFold applies the EqualFold predicate on the "token_hash" field.

func TokenHashGT

func TokenHashGT(v string) predicate.ScimToken

TokenHashGT applies the GT predicate on the "token_hash" field.

func TokenHashGTE

func TokenHashGTE(v string) predicate.ScimToken

TokenHashGTE applies the GTE predicate on the "token_hash" field.

func TokenHashHasPrefix

func TokenHashHasPrefix(v string) predicate.ScimToken

TokenHashHasPrefix applies the HasPrefix predicate on the "token_hash" field.

func TokenHashHasSuffix

func TokenHashHasSuffix(v string) predicate.ScimToken

TokenHashHasSuffix applies the HasSuffix predicate on the "token_hash" field.

func TokenHashIn

func TokenHashIn(vs ...string) predicate.ScimToken

TokenHashIn applies the In predicate on the "token_hash" field.

func TokenHashLT

func TokenHashLT(v string) predicate.ScimToken

TokenHashLT applies the LT predicate on the "token_hash" field.

func TokenHashLTE

func TokenHashLTE(v string) predicate.ScimToken

TokenHashLTE applies the LTE predicate on the "token_hash" field.

func TokenHashNEQ

func TokenHashNEQ(v string) predicate.ScimToken

TokenHashNEQ applies the NEQ predicate on the "token_hash" field.

func TokenHashNotIn

func TokenHashNotIn(vs ...string) predicate.ScimToken

TokenHashNotIn applies the NotIn predicate on the "token_hash" field.

func TokenPrefix

func TokenPrefix(v string) predicate.ScimToken

TokenPrefix applies equality check predicate on the "token_prefix" field. It's identical to TokenPrefixEQ.

func TokenPrefixContains

func TokenPrefixContains(v string) predicate.ScimToken

TokenPrefixContains applies the Contains predicate on the "token_prefix" field.

func TokenPrefixContainsFold

func TokenPrefixContainsFold(v string) predicate.ScimToken

TokenPrefixContainsFold applies the ContainsFold predicate on the "token_prefix" field.

func TokenPrefixEQ

func TokenPrefixEQ(v string) predicate.ScimToken

TokenPrefixEQ applies the EQ predicate on the "token_prefix" field.

func TokenPrefixEqualFold

func TokenPrefixEqualFold(v string) predicate.ScimToken

TokenPrefixEqualFold applies the EqualFold predicate on the "token_prefix" field.

func TokenPrefixGT

func TokenPrefixGT(v string) predicate.ScimToken

TokenPrefixGT applies the GT predicate on the "token_prefix" field.

func TokenPrefixGTE

func TokenPrefixGTE(v string) predicate.ScimToken

TokenPrefixGTE applies the GTE predicate on the "token_prefix" field.

func TokenPrefixHasPrefix

func TokenPrefixHasPrefix(v string) predicate.ScimToken

TokenPrefixHasPrefix applies the HasPrefix predicate on the "token_prefix" field.

func TokenPrefixHasSuffix

func TokenPrefixHasSuffix(v string) predicate.ScimToken

TokenPrefixHasSuffix applies the HasSuffix predicate on the "token_prefix" field.

func TokenPrefixIn

func TokenPrefixIn(vs ...string) predicate.ScimToken

TokenPrefixIn applies the In predicate on the "token_prefix" field.

func TokenPrefixLT

func TokenPrefixLT(v string) predicate.ScimToken

TokenPrefixLT applies the LT predicate on the "token_prefix" field.

func TokenPrefixLTE

func TokenPrefixLTE(v string) predicate.ScimToken

TokenPrefixLTE applies the LTE predicate on the "token_prefix" field.

func TokenPrefixNEQ

func TokenPrefixNEQ(v string) predicate.ScimToken

TokenPrefixNEQ applies the NEQ predicate on the "token_prefix" field.

func TokenPrefixNotIn

func TokenPrefixNotIn(vs ...string) predicate.ScimToken

TokenPrefixNotIn applies the NotIn predicate on the "token_prefix" 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 ScimToken queries.

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 ByDescription

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

ByDescription orders the results by the description field.

func ByExpiresAt

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

ByExpiresAt orders the results by the expires_at field.

func ByGeneration

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

ByGeneration orders the results by the generation field.

func ByID

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

ByID orders the results by the id field.

func ByLastUsedAt

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

ByLastUsedAt orders the results by the last_used_at field.

func ByOrganizationID

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

ByOrganizationID orders the results by the organization_id field.

func ByRevokedAt

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

ByRevokedAt orders the results by the revoked_at field.

func ByRevokedBy

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

ByRevokedBy orders the results by the revoked_by field.

func ByTokenHash

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

ByTokenHash orders the results by the token_hash field.

func ByTokenPrefix

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

ByTokenPrefix orders the results by the token_prefix field.

Jump to

Keyboard shortcuts

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