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.
ByClientID orders the results by the client_id field.
ByCode orders the results by the code field.
ByCodeChallenge orders the results by the code_challenge field.
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.
ByRedirectURI orders the results by the redirect_uri field.
ByScope orders the results by the scope field.
ByUserField orders the results by user field.
ClientID applies equality check predicate on the "client_id" field.
ClientIDContains applies the Contains predicate on the "client_id" field.
ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.
ClientIDEQ applies the EQ predicate on the "client_id" field.
ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.
ClientIDGT applies the GT predicate on the "client_id" field.
ClientIDGTE applies the GTE predicate on the "client_id" field.
ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.
ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.
ClientIDIn applies the In predicate on the "client_id" field.
ClientIDLT applies the LT predicate on the "client_id" field.
ClientIDLTE applies the LTE predicate on the "client_id" field.
ClientIDNEQ applies the NEQ predicate on the "client_id" field.
ClientIDNotIn applies the NotIn predicate on the "client_id" field.
Code applies equality check predicate on the "code" field.
CodeChallenge applies equality check predicate on the "code_challenge" field.
CodeChallengeContains applies the Contains predicate on the "code_challenge" field.
CodeChallengeContainsFold applies the ContainsFold predicate on the "code_challenge" field.
CodeChallengeEQ applies the EQ predicate on the "code_challenge" field.
CodeChallengeEqualFold applies the EqualFold predicate on the "code_challenge" field.
CodeChallengeGT applies the GT predicate on the "code_challenge" field.
CodeChallengeGTE applies the GTE predicate on the "code_challenge" field.
CodeChallengeHasPrefix applies the HasPrefix predicate on the "code_challenge" field.
CodeChallengeHasSuffix applies the HasSuffix predicate on the "code_challenge" field.
CodeChallengeIn applies the In predicate on the "code_challenge" field.
CodeChallengeLT applies the LT predicate on the "code_challenge" field.
CodeChallengeLTE applies the LTE predicate on the "code_challenge" field.
CodeChallengeNEQ applies the NEQ predicate on the "code_challenge" field.
CodeChallengeNotIn applies the NotIn predicate on the "code_challenge" 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.
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.
RedirectURI applies equality check predicate on the "redirect_uri" field.
RedirectURIContains applies the Contains predicate on the "redirect_uri" field.
RedirectURIContainsFold applies the ContainsFold predicate on the "redirect_uri" field.
RedirectURIEQ applies the EQ predicate on the "redirect_uri" field.
RedirectURIEqualFold applies the EqualFold predicate on the "redirect_uri" field.
RedirectURIGT applies the GT predicate on the "redirect_uri" field.
RedirectURIGTE applies the GTE predicate on the "redirect_uri" field.
RedirectURIHasPrefix applies the HasPrefix predicate on the "redirect_uri" field.
RedirectURIHasSuffix applies the HasSuffix predicate on the "redirect_uri" field.
RedirectURIIn applies the In predicate on the "redirect_uri" field.
RedirectURILT applies the LT predicate on the "redirect_uri" field.
RedirectURILTE applies the LTE predicate on the "redirect_uri" field.
RedirectURINEQ applies the NEQ predicate on the "redirect_uri" field.
RedirectURINotIn applies the NotIn predicate on the "redirect_uri" field.
Scope applies equality check predicate on the "scope" field.
ScopeContains applies the Contains predicate on the "scope" field.
ScopeContainsFold applies the ContainsFold predicate on the "scope" field.
ScopeEQ applies the EQ predicate on the "scope" field.
ScopeEqualFold applies the EqualFold predicate on the "scope" field.
ScopeGT applies the GT predicate on the "scope" field.
ScopeGTE applies the GTE predicate on the "scope" field.
ScopeHasPrefix applies the HasPrefix predicate on the "scope" field.
ScopeHasSuffix applies the HasSuffix predicate on the "scope" field.
ScopeIn applies the In predicate on the "scope" field.
ScopeLT applies the LT predicate on the "scope" field.
ScopeLTE applies the LTE predicate on the "scope" field.
ScopeNEQ applies the NEQ predicate on the "scope" field.
ScopeNotIn applies the NotIn predicate on the "scope" 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.
FieldClientID holds the string denoting the client_id field in the database.
FieldCode holds the string denoting the code field in the database.
FieldCodeChallenge holds the string denoting the code_challenge field in the database.
FieldExpiresAt holds the string denoting the expires_at field in the database.
FieldID holds the string denoting the id field in the database.
FieldRedirectURI holds the string denoting the redirect_uri field in the database.
FieldScope holds the string denoting the scope 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 code type in the database.
Table holds the table name of the code 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 code fields.
DefaultClientID holds the default value on creation for the "client_id" field.
DefaultCodeChallenge holds the default value on creation for the "code_challenge" field.
DefaultID holds the default value on creation for the "id" field.
DefaultRedirectURI holds the default value on creation for the "redirect_uri" field.
DefaultScope holds the default value on creation for the "scope" field.
ForeignKeys holds the SQL foreign-keys that are owned by the "codes" 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 Code queries.