jwtkey

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the jwtkey type in the database.
	Label = "jwt_key"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldLabel holds the string denoting the label field in the database.
	FieldLabel = "label"
	// FieldPrivateKey holds the string denoting the private_key field in the database.
	FieldPrivateKey = "private_key"
	// Table holds the table name of the jwtkey in the database.
	Table = "jwt_keys"
)

Variables

Columns holds all SQL columns for jwtkey fields.

Functions

func And

func And(predicates ...predicate.JWTKey) predicate.JWTKey

And groups predicates with the AND operator between them.

func ID

func ID(id int) predicate.JWTKey

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.JWTKey

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.JWTKey

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.JWTKey

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.JWTKey

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.JWTKey

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.JWTKey

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LabelContains

func LabelContains(v string) predicate.JWTKey

LabelContains applies the Contains predicate on the "label" field.

func LabelContainsFold

func LabelContainsFold(v string) predicate.JWTKey

LabelContainsFold applies the ContainsFold predicate on the "label" field.

func LabelEQ

func LabelEQ(v string) predicate.JWTKey

LabelEQ applies the EQ predicate on the "label" field.

func LabelEqualFold

func LabelEqualFold(v string) predicate.JWTKey

LabelEqualFold applies the EqualFold predicate on the "label" field.

func LabelGT

func LabelGT(v string) predicate.JWTKey

LabelGT applies the GT predicate on the "label" field.

func LabelGTE

func LabelGTE(v string) predicate.JWTKey

LabelGTE applies the GTE predicate on the "label" field.

func LabelHasPrefix

func LabelHasPrefix(v string) predicate.JWTKey

LabelHasPrefix applies the HasPrefix predicate on the "label" field.

func LabelHasSuffix

func LabelHasSuffix(v string) predicate.JWTKey

LabelHasSuffix applies the HasSuffix predicate on the "label" field.

func LabelIn

func LabelIn(vs ...string) predicate.JWTKey

LabelIn applies the In predicate on the "label" field.

func LabelLT

func LabelLT(v string) predicate.JWTKey

LabelLT applies the LT predicate on the "label" field.

func LabelLTE

func LabelLTE(v string) predicate.JWTKey

LabelLTE applies the LTE predicate on the "label" field.

func LabelNEQ

func LabelNEQ(v string) predicate.JWTKey

LabelNEQ applies the NEQ predicate on the "label" field.

func LabelNotIn

func LabelNotIn(vs ...string) predicate.JWTKey

LabelNotIn applies the NotIn predicate on the "label" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.JWTKey) predicate.JWTKey

Or groups predicates with the OR operator between them.

func PrivateKey

func PrivateKey(v []byte) predicate.JWTKey

PrivateKey applies equality check predicate on the "private_key" field. It's identical to PrivateKeyEQ.

func PrivateKeyEQ

func PrivateKeyEQ(v []byte) predicate.JWTKey

PrivateKeyEQ applies the EQ predicate on the "private_key" field.

func PrivateKeyGT

func PrivateKeyGT(v []byte) predicate.JWTKey

PrivateKeyGT applies the GT predicate on the "private_key" field.

func PrivateKeyGTE

func PrivateKeyGTE(v []byte) predicate.JWTKey

PrivateKeyGTE applies the GTE predicate on the "private_key" field.

func PrivateKeyIn

func PrivateKeyIn(vs ...[]byte) predicate.JWTKey

PrivateKeyIn applies the In predicate on the "private_key" field.

func PrivateKeyLT

func PrivateKeyLT(v []byte) predicate.JWTKey

PrivateKeyLT applies the LT predicate on the "private_key" field.

func PrivateKeyLTE

func PrivateKeyLTE(v []byte) predicate.JWTKey

PrivateKeyLTE applies the LTE predicate on the "private_key" field.

func PrivateKeyNEQ

func PrivateKeyNEQ(v []byte) predicate.JWTKey

PrivateKeyNEQ applies the NEQ predicate on the "private_key" field.

func PrivateKeyNotIn

func PrivateKeyNotIn(vs ...[]byte) predicate.JWTKey

PrivateKeyNotIn applies the NotIn predicate on the "private_key" 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 JWTKey queries.

func ByID

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

ByID orders the results by the id field.

func ByLabel

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

ByLabel orders the results by the label field.

Jump to

Keyboard shortcuts

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