package
0.0.0-20240513023348-5feaf8d2ad78
Repository: https://github.com/go-faster/bot.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
ByFirstName orders the results by the first_name field.
ByGithubToken orders the results by the github_token field.
ByID orders the results by the id field.
ByLastName orders the results by the last_name field.
ByUsername orders the results by the username field.
FirstName applies equality check predicate on the "first_name" field.
FirstNameContains applies the Contains predicate on the "first_name" field.
FirstNameContainsFold applies the ContainsFold predicate on the "first_name" field.
FirstNameEQ applies the EQ predicate on the "first_name" field.
FirstNameEqualFold applies the EqualFold predicate on the "first_name" field.
FirstNameGT applies the GT predicate on the "first_name" field.
FirstNameGTE applies the GTE predicate on the "first_name" field.
FirstNameHasPrefix applies the HasPrefix predicate on the "first_name" field.
FirstNameHasSuffix applies the HasSuffix predicate on the "first_name" field.
FirstNameIn applies the In predicate on the "first_name" field.
FirstNameLT applies the LT predicate on the "first_name" field.
FirstNameLTE applies the LTE predicate on the "first_name" field.
FirstNameNEQ applies the NEQ predicate on the "first_name" field.
FirstNameNotIn applies the NotIn predicate on the "first_name" field.
GithubToken applies equality check predicate on the "github_token" field.
GithubTokenContains applies the Contains predicate on the "github_token" field.
GithubTokenContainsFold applies the ContainsFold predicate on the "github_token" field.
GithubTokenEQ applies the EQ predicate on the "github_token" field.
GithubTokenEqualFold applies the EqualFold predicate on the "github_token" field.
GithubTokenGT applies the GT predicate on the "github_token" field.
GithubTokenGTE applies the GTE predicate on the "github_token" field.
GithubTokenHasPrefix applies the HasPrefix predicate on the "github_token" field.
GithubTokenHasSuffix applies the HasSuffix predicate on the "github_token" field.
GithubTokenIn applies the In predicate on the "github_token" field.
GithubTokenIsNil applies the IsNil predicate on the "github_token" field.
GithubTokenLT applies the LT predicate on the "github_token" field.
GithubTokenLTE applies the LTE predicate on the "github_token" field.
GithubTokenNEQ applies the NEQ predicate on the "github_token" field.
GithubTokenNotIn applies the NotIn predicate on the "github_token" field.
GithubTokenNotNil applies the NotNil predicate on the "github_token" field.
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.
LastName applies equality check predicate on the "last_name" field.
LastNameContains applies the Contains predicate on the "last_name" field.
LastNameContainsFold applies the ContainsFold predicate on the "last_name" field.
LastNameEQ applies the EQ predicate on the "last_name" field.
LastNameEqualFold applies the EqualFold predicate on the "last_name" field.
LastNameGT applies the GT predicate on the "last_name" field.
LastNameGTE applies the GTE predicate on the "last_name" field.
LastNameHasPrefix applies the HasPrefix predicate on the "last_name" field.
LastNameHasSuffix applies the HasSuffix predicate on the "last_name" field.
LastNameIn applies the In predicate on the "last_name" field.
LastNameLT applies the LT predicate on the "last_name" field.
LastNameLTE applies the LTE predicate on the "last_name" field.
LastNameNEQ applies the NEQ predicate on the "last_name" field.
LastNameNotIn applies the NotIn predicate on the "last_name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Username applies equality check predicate on the "username" field.
UsernameContains applies the Contains predicate on the "username" field.
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
UsernameEQ applies the EQ predicate on the "username" field.
UsernameEqualFold applies the EqualFold predicate on the "username" field.
UsernameGT applies the GT predicate on the "username" field.
UsernameGTE applies the GTE predicate on the "username" field.
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
UsernameIn applies the In predicate on the "username" field.
UsernameLT applies the LT predicate on the "username" field.
UsernameLTE applies the LTE predicate on the "username" field.
UsernameNEQ applies the NEQ predicate on the "username" field.
UsernameNotIn applies the NotIn predicate on the "username" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
FieldFirstName holds the string denoting the first_name field in the database.
FieldGithubToken holds the string denoting the github_token field in the database.
FieldID holds the string denoting the id field in the database.
FieldLastName holds the string denoting the last_name field in the database.
FieldUsername holds the string denoting the username field in the database.
Label holds the string label denoting the user type in the database.
Table holds the table name of the user in the database.
# Variables
Columns holds all SQL columns for user fields.
# Type aliases
OrderOption defines the ordering options for the User queries.