package
0.0.0-20250202080437-b9f4f5b05815
Repository: https://github.com/koalatea/authserver.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByID orders the results by the id field.
BySessionField orders the results by session field.
BySignature orders the results by the signature field.
HasSession applies the HasEdge predicate on the "session" edge.
HasSessionWith applies the HasEdge predicate on the "session" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Signature applies equality check predicate on the "signature" field.
SignatureContains applies the Contains predicate on the "signature" field.
SignatureContainsFold applies the ContainsFold predicate on the "signature" field.
SignatureEQ applies the EQ predicate on the "signature" field.
SignatureEqualFold applies the EqualFold predicate on the "signature" field.
SignatureGT applies the GT predicate on the "signature" field.
SignatureGTE applies the GTE predicate on the "signature" field.
SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.
SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.
SignatureIn applies the In predicate on the "signature" field.
SignatureLT applies the LT predicate on the "signature" field.
SignatureLTE applies the LTE predicate on the "signature" field.
SignatureNEQ applies the NEQ predicate on the "signature" field.
SignatureNotIn applies the NotIn predicate on the "signature" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

EdgeSession holds the string denoting the session edge name in mutations.
FieldID holds the string denoting the id field in the database.
FieldSignature holds the string denoting the signature field in the database.
Label holds the string label denoting the oauthrefreshtoken type in the database.
SessionColumn is the table column denoting the session relation/edge.
SessionInverseTable is the table name for the OAuthSession entity.
SessionTable is the table that holds the session relation/edge.
Table holds the table name of the oauthrefreshtoken in the database.

# Variables

Columns holds all SQL columns for oauthrefreshtoken fields.
ForeignKeys holds the SQL foreign-keys that are owned by the "oauth_refresh_tokens" table and are not defined as standalone fields in the schema.

# Type aliases

OrderOption defines the ordering options for the OAuthRefreshToken queries.