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

# Functions

Active applies equality check predicate on the "active" field.
ActiveEQ applies the EQ predicate on the "active" field.
ActiveNEQ applies the NEQ predicate on the "active" field.
And groups predicates with the AND operator between them.
ByActive orders the results by the active field.
ByCode orders the results by the code field.
ByID orders the results by the id field.
BySessionField orders the results by session field.
Code applies equality check predicate on the "code" field.
CodeContains applies the Contains predicate on the "code" field.
CodeContainsFold applies the ContainsFold predicate on the "code" field.
CodeEQ applies the EQ predicate on the "code" field.
CodeEqualFold applies the EqualFold predicate on the "code" field.
CodeGT applies the GT predicate on the "code" field.
CodeGTE applies the GTE predicate on the "code" field.
CodeHasPrefix applies the HasPrefix predicate on the "code" field.
CodeHasSuffix applies the HasSuffix predicate on the "code" field.
CodeIn applies the In predicate on the "code" field.
CodeLT applies the LT predicate on the "code" field.
CodeLTE applies the LTE predicate on the "code" field.
CodeNEQ applies the NEQ predicate on the "code" field.
CodeNotIn applies the NotIn predicate on the "code" 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.
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.
FieldActive holds the string denoting the active field in the database.
FieldCode holds the string denoting the code field in the database.
FieldID holds the string denoting the id field in the database.
Label holds the string label denoting the authcode 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 authcode in the database.

# Variables

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

# Type aliases

OrderOption defines the ordering options for the AuthCode queries.