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.
ByID orders the results by the id field.
ByMessageID orders the results by the message_id field.
ByPullRequestAuthorLogin orders the results by the pull_request_author_login field.
ByPullRequestBody orders the results by the pull_request_body field.
ByPullRequestID orders the results by the pull_request_id field.
ByPullRequestTitle orders the results by the pull_request_title field.
ByRepoID orders the results by the repo_id 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.
MessageID applies equality check predicate on the "message_id" field.
MessageIDEQ applies the EQ predicate on the "message_id" field.
MessageIDGT applies the GT predicate on the "message_id" field.
MessageIDGTE applies the GTE predicate on the "message_id" field.
MessageIDIn applies the In predicate on the "message_id" field.
MessageIDLT applies the LT predicate on the "message_id" field.
MessageIDLTE applies the LTE predicate on the "message_id" field.
MessageIDNEQ applies the NEQ predicate on the "message_id" field.
MessageIDNotIn applies the NotIn predicate on the "message_id" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
PullRequestAuthorLogin applies equality check predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginContains applies the Contains predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginContainsFold applies the ContainsFold predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginEQ applies the EQ predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginEqualFold applies the EqualFold predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginGT applies the GT predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginGTE applies the GTE predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginHasPrefix applies the HasPrefix predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginHasSuffix applies the HasSuffix predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginIn applies the In predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginLT applies the LT predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginLTE applies the LTE predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginNEQ applies the NEQ predicate on the "pull_request_author_login" field.
PullRequestAuthorLoginNotIn applies the NotIn predicate on the "pull_request_author_login" field.
PullRequestBody applies equality check predicate on the "pull_request_body" field.
PullRequestBodyContains applies the Contains predicate on the "pull_request_body" field.
PullRequestBodyContainsFold applies the ContainsFold predicate on the "pull_request_body" field.
PullRequestBodyEQ applies the EQ predicate on the "pull_request_body" field.
PullRequestBodyEqualFold applies the EqualFold predicate on the "pull_request_body" field.
PullRequestBodyGT applies the GT predicate on the "pull_request_body" field.
PullRequestBodyGTE applies the GTE predicate on the "pull_request_body" field.
PullRequestBodyHasPrefix applies the HasPrefix predicate on the "pull_request_body" field.
PullRequestBodyHasSuffix applies the HasSuffix predicate on the "pull_request_body" field.
PullRequestBodyIn applies the In predicate on the "pull_request_body" field.
PullRequestBodyLT applies the LT predicate on the "pull_request_body" field.
PullRequestBodyLTE applies the LTE predicate on the "pull_request_body" field.
PullRequestBodyNEQ applies the NEQ predicate on the "pull_request_body" field.
PullRequestBodyNotIn applies the NotIn predicate on the "pull_request_body" field.
PullRequestID applies equality check predicate on the "pull_request_id" field.
PullRequestIDEQ applies the EQ predicate on the "pull_request_id" field.
PullRequestIDGT applies the GT predicate on the "pull_request_id" field.
PullRequestIDGTE applies the GTE predicate on the "pull_request_id" field.
PullRequestIDIn applies the In predicate on the "pull_request_id" field.
PullRequestIDLT applies the LT predicate on the "pull_request_id" field.
PullRequestIDLTE applies the LTE predicate on the "pull_request_id" field.
PullRequestIDNEQ applies the NEQ predicate on the "pull_request_id" field.
PullRequestIDNotIn applies the NotIn predicate on the "pull_request_id" field.
PullRequestTitle applies equality check predicate on the "pull_request_title" field.
PullRequestTitleContains applies the Contains predicate on the "pull_request_title" field.
PullRequestTitleContainsFold applies the ContainsFold predicate on the "pull_request_title" field.
PullRequestTitleEQ applies the EQ predicate on the "pull_request_title" field.
PullRequestTitleEqualFold applies the EqualFold predicate on the "pull_request_title" field.
PullRequestTitleGT applies the GT predicate on the "pull_request_title" field.
PullRequestTitleGTE applies the GTE predicate on the "pull_request_title" field.
PullRequestTitleHasPrefix applies the HasPrefix predicate on the "pull_request_title" field.
PullRequestTitleHasSuffix applies the HasSuffix predicate on the "pull_request_title" field.
PullRequestTitleIn applies the In predicate on the "pull_request_title" field.
PullRequestTitleLT applies the LT predicate on the "pull_request_title" field.
PullRequestTitleLTE applies the LTE predicate on the "pull_request_title" field.
PullRequestTitleNEQ applies the NEQ predicate on the "pull_request_title" field.
PullRequestTitleNotIn applies the NotIn predicate on the "pull_request_title" field.
RepoID applies equality check predicate on the "repo_id" field.
RepoIDEQ applies the EQ predicate on the "repo_id" field.
RepoIDGT applies the GT predicate on the "repo_id" field.
RepoIDGTE applies the GTE predicate on the "repo_id" field.
RepoIDIn applies the In predicate on the "repo_id" field.
RepoIDLT applies the LT predicate on the "repo_id" field.
RepoIDLTE applies the LTE predicate on the "repo_id" field.
RepoIDNEQ applies the NEQ predicate on the "repo_id" field.
RepoIDNotIn applies the NotIn predicate on the "repo_id" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
FieldID holds the string denoting the id field in the database.
FieldMessageID holds the string denoting the message_id field in the database.
FieldPullRequestAuthorLogin holds the string denoting the pull_request_author_login field in the database.
FieldPullRequestBody holds the string denoting the pull_request_body field in the database.
FieldPullRequestID holds the string denoting the pull_request_id field in the database.
FieldPullRequestTitle holds the string denoting the pull_request_title field in the database.
FieldRepoID holds the string denoting the repo_id field in the database.
Label holds the string label denoting the prnotification type in the database.
Table holds the table name of the prnotification in the database.
# Variables
Columns holds all SQL columns for prnotification fields.
DefaultPullRequestAuthorLogin holds the default value on creation for the "pull_request_author_login" field.
DefaultPullRequestBody holds the default value on creation for the "pull_request_body" field.
DefaultPullRequestTitle holds the default value on creation for the "pull_request_title" field.
# Type aliases
OrderOption defines the ordering options for the PRNotification queries.