package
0.0.0-20241115152746-6b37c952dfcd
Repository: https://github.com/ophum/github-teams-oauth2.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByExpiresAt orders the results by the expires_at field.
ByGroups orders the results by groups terms.
ByGroupsCount orders the results by groups count.
ByID orders the results by the id field.
ByToken orders the results by the token field.
ByUserField orders the results by user field.
ExpiresAt applies equality check predicate on the "expires_at" field.
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
ExpiresAtGT applies the GT predicate on the "expires_at" field.
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
ExpiresAtIn applies the In predicate on the "expires_at" field.
ExpiresAtLT applies the LT predicate on the "expires_at" field.
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
HasGroups applies the HasEdge predicate on the "groups" edge.
HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
HasUser applies the HasEdge predicate on the "user" edge.
HasUserWith applies the HasEdge predicate on the "user" 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.
Token applies equality check predicate on the "token" field.
TokenContains applies the Contains predicate on the "token" field.
TokenContainsFold applies the ContainsFold predicate on the "token" field.
TokenEQ applies the EQ predicate on the "token" field.
TokenEqualFold applies the EqualFold predicate on the "token" field.
TokenGT applies the GT predicate on the "token" field.
TokenGTE applies the GTE predicate on the "token" field.
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
TokenIn applies the In predicate on the "token" field.
TokenLT applies the LT predicate on the "token" field.
TokenLTE applies the LTE predicate on the "token" field.
TokenNEQ applies the NEQ predicate on the "token" field.
TokenNotIn applies the NotIn predicate on the "token" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

EdgeGroups holds the string denoting the groups edge name in mutations.
EdgeUser holds the string denoting the user edge name in mutations.
FieldExpiresAt holds the string denoting the expires_at field in the database.
FieldID holds the string denoting the id field in the database.
FieldToken holds the string denoting the token field in the database.
GroupsInverseTable is the table name for the Group entity.
GroupsTable is the table that holds the groups relation/edge.
Label holds the string label denoting the accesstoken type in the database.
Table holds the table name of the accesstoken in the database.
UserColumn is the table column denoting the user relation/edge.
UserInverseTable is the table name for the User entity.
UserTable is the table that holds the user relation/edge.

# Variables

Columns holds all SQL columns for accesstoken fields.
DefaultID holds the default value on creation for the "id" field.
ForeignKeys holds the SQL foreign-keys that are owned by the "access_tokens" table and are not defined as standalone fields in the schema.
GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the primary key for the groups relation (M2M).

# Type aliases

OrderOption defines the ordering options for the AccessToken queries.