prnotification

package
v0.0.0-...-5feaf8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the prnotification type in the database.
	Label = "pr_notification"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldRepoID holds the string denoting the repo_id field in the database.
	FieldRepoID = "repo_id"
	// FieldPullRequestID holds the string denoting the pull_request_id field in the database.
	FieldPullRequestID = "pull_request_id"
	// FieldPullRequestTitle holds the string denoting the pull_request_title field in the database.
	FieldPullRequestTitle = "pull_request_title"
	// FieldPullRequestBody holds the string denoting the pull_request_body field in the database.
	FieldPullRequestBody = "pull_request_body"
	// FieldPullRequestAuthorLogin holds the string denoting the pull_request_author_login field in the database.
	FieldPullRequestAuthorLogin = "pull_request_author_login"
	// FieldMessageID holds the string denoting the message_id field in the database.
	FieldMessageID = "message_id"
	// Table holds the table name of the prnotification in the database.
	Table = "pr_notifications"
)

Variables

View Source
var (
	// DefaultPullRequestTitle holds the default value on creation for the "pull_request_title" field.
	DefaultPullRequestTitle string
	// DefaultPullRequestBody holds the default value on creation for the "pull_request_body" field.
	DefaultPullRequestBody string
	// DefaultPullRequestAuthorLogin holds the default value on creation for the "pull_request_author_login" field.
	DefaultPullRequestAuthorLogin string
)

Columns holds all SQL columns for prnotification fields.

Functions

func And

And groups predicates with the AND operator between them.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.PRNotification

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.PRNotification

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.PRNotification

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.PRNotification

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.PRNotification

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.PRNotification

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.PRNotification

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.PRNotification

IDNotIn applies the NotIn predicate on the ID field.

func MessageID

func MessageID(v int) predicate.PRNotification

MessageID applies equality check predicate on the "message_id" field. It's identical to MessageIDEQ.

func MessageIDEQ

func MessageIDEQ(v int) predicate.PRNotification

MessageIDEQ applies the EQ predicate on the "message_id" field.

func MessageIDGT

func MessageIDGT(v int) predicate.PRNotification

MessageIDGT applies the GT predicate on the "message_id" field.

func MessageIDGTE

func MessageIDGTE(v int) predicate.PRNotification

MessageIDGTE applies the GTE predicate on the "message_id" field.

func MessageIDIn

func MessageIDIn(vs ...int) predicate.PRNotification

MessageIDIn applies the In predicate on the "message_id" field.

func MessageIDLT

func MessageIDLT(v int) predicate.PRNotification

MessageIDLT applies the LT predicate on the "message_id" field.

func MessageIDLTE

func MessageIDLTE(v int) predicate.PRNotification

MessageIDLTE applies the LTE predicate on the "message_id" field.

func MessageIDNEQ

func MessageIDNEQ(v int) predicate.PRNotification

MessageIDNEQ applies the NEQ predicate on the "message_id" field.

func MessageIDNotIn

func MessageIDNotIn(vs ...int) predicate.PRNotification

MessageIDNotIn applies the NotIn predicate on the "message_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PullRequestAuthorLogin

func PullRequestAuthorLogin(v string) predicate.PRNotification

PullRequestAuthorLogin applies equality check predicate on the "pull_request_author_login" field. It's identical to PullRequestAuthorLoginEQ.

func PullRequestAuthorLoginContains

func PullRequestAuthorLoginContains(v string) predicate.PRNotification

PullRequestAuthorLoginContains applies the Contains predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginContainsFold

func PullRequestAuthorLoginContainsFold(v string) predicate.PRNotification

PullRequestAuthorLoginContainsFold applies the ContainsFold predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginEQ

func PullRequestAuthorLoginEQ(v string) predicate.PRNotification

PullRequestAuthorLoginEQ applies the EQ predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginEqualFold

func PullRequestAuthorLoginEqualFold(v string) predicate.PRNotification

PullRequestAuthorLoginEqualFold applies the EqualFold predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginGT

func PullRequestAuthorLoginGT(v string) predicate.PRNotification

PullRequestAuthorLoginGT applies the GT predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginGTE

func PullRequestAuthorLoginGTE(v string) predicate.PRNotification

PullRequestAuthorLoginGTE applies the GTE predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginHasPrefix

func PullRequestAuthorLoginHasPrefix(v string) predicate.PRNotification

PullRequestAuthorLoginHasPrefix applies the HasPrefix predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginHasSuffix

func PullRequestAuthorLoginHasSuffix(v string) predicate.PRNotification

PullRequestAuthorLoginHasSuffix applies the HasSuffix predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginIn

func PullRequestAuthorLoginIn(vs ...string) predicate.PRNotification

PullRequestAuthorLoginIn applies the In predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginLT

func PullRequestAuthorLoginLT(v string) predicate.PRNotification

PullRequestAuthorLoginLT applies the LT predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginLTE

func PullRequestAuthorLoginLTE(v string) predicate.PRNotification

PullRequestAuthorLoginLTE applies the LTE predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginNEQ

func PullRequestAuthorLoginNEQ(v string) predicate.PRNotification

PullRequestAuthorLoginNEQ applies the NEQ predicate on the "pull_request_author_login" field.

func PullRequestAuthorLoginNotIn

func PullRequestAuthorLoginNotIn(vs ...string) predicate.PRNotification

PullRequestAuthorLoginNotIn applies the NotIn predicate on the "pull_request_author_login" field.

func PullRequestBody

func PullRequestBody(v string) predicate.PRNotification

PullRequestBody applies equality check predicate on the "pull_request_body" field. It's identical to PullRequestBodyEQ.

func PullRequestBodyContains

func PullRequestBodyContains(v string) predicate.PRNotification

PullRequestBodyContains applies the Contains predicate on the "pull_request_body" field.

func PullRequestBodyContainsFold

func PullRequestBodyContainsFold(v string) predicate.PRNotification

PullRequestBodyContainsFold applies the ContainsFold predicate on the "pull_request_body" field.

func PullRequestBodyEQ

func PullRequestBodyEQ(v string) predicate.PRNotification

PullRequestBodyEQ applies the EQ predicate on the "pull_request_body" field.

func PullRequestBodyEqualFold

func PullRequestBodyEqualFold(v string) predicate.PRNotification

PullRequestBodyEqualFold applies the EqualFold predicate on the "pull_request_body" field.

func PullRequestBodyGT

func PullRequestBodyGT(v string) predicate.PRNotification

PullRequestBodyGT applies the GT predicate on the "pull_request_body" field.

func PullRequestBodyGTE

func PullRequestBodyGTE(v string) predicate.PRNotification

PullRequestBodyGTE applies the GTE predicate on the "pull_request_body" field.

func PullRequestBodyHasPrefix

func PullRequestBodyHasPrefix(v string) predicate.PRNotification

PullRequestBodyHasPrefix applies the HasPrefix predicate on the "pull_request_body" field.

func PullRequestBodyHasSuffix

func PullRequestBodyHasSuffix(v string) predicate.PRNotification

PullRequestBodyHasSuffix applies the HasSuffix predicate on the "pull_request_body" field.

func PullRequestBodyIn

func PullRequestBodyIn(vs ...string) predicate.PRNotification

PullRequestBodyIn applies the In predicate on the "pull_request_body" field.

func PullRequestBodyLT

func PullRequestBodyLT(v string) predicate.PRNotification

PullRequestBodyLT applies the LT predicate on the "pull_request_body" field.

func PullRequestBodyLTE

func PullRequestBodyLTE(v string) predicate.PRNotification

PullRequestBodyLTE applies the LTE predicate on the "pull_request_body" field.

func PullRequestBodyNEQ

func PullRequestBodyNEQ(v string) predicate.PRNotification

PullRequestBodyNEQ applies the NEQ predicate on the "pull_request_body" field.

func PullRequestBodyNotIn

func PullRequestBodyNotIn(vs ...string) predicate.PRNotification

PullRequestBodyNotIn applies the NotIn predicate on the "pull_request_body" field.

func PullRequestID

func PullRequestID(v int) predicate.PRNotification

PullRequestID applies equality check predicate on the "pull_request_id" field. It's identical to PullRequestIDEQ.

func PullRequestIDEQ

func PullRequestIDEQ(v int) predicate.PRNotification

PullRequestIDEQ applies the EQ predicate on the "pull_request_id" field.

func PullRequestIDGT

func PullRequestIDGT(v int) predicate.PRNotification

PullRequestIDGT applies the GT predicate on the "pull_request_id" field.

func PullRequestIDGTE

func PullRequestIDGTE(v int) predicate.PRNotification

PullRequestIDGTE applies the GTE predicate on the "pull_request_id" field.

func PullRequestIDIn

func PullRequestIDIn(vs ...int) predicate.PRNotification

PullRequestIDIn applies the In predicate on the "pull_request_id" field.

func PullRequestIDLT

func PullRequestIDLT(v int) predicate.PRNotification

PullRequestIDLT applies the LT predicate on the "pull_request_id" field.

func PullRequestIDLTE

func PullRequestIDLTE(v int) predicate.PRNotification

PullRequestIDLTE applies the LTE predicate on the "pull_request_id" field.

func PullRequestIDNEQ

func PullRequestIDNEQ(v int) predicate.PRNotification

PullRequestIDNEQ applies the NEQ predicate on the "pull_request_id" field.

func PullRequestIDNotIn

func PullRequestIDNotIn(vs ...int) predicate.PRNotification

PullRequestIDNotIn applies the NotIn predicate on the "pull_request_id" field.

func PullRequestTitle

func PullRequestTitle(v string) predicate.PRNotification

PullRequestTitle applies equality check predicate on the "pull_request_title" field. It's identical to PullRequestTitleEQ.

func PullRequestTitleContains

func PullRequestTitleContains(v string) predicate.PRNotification

PullRequestTitleContains applies the Contains predicate on the "pull_request_title" field.

func PullRequestTitleContainsFold

func PullRequestTitleContainsFold(v string) predicate.PRNotification

PullRequestTitleContainsFold applies the ContainsFold predicate on the "pull_request_title" field.

func PullRequestTitleEQ

func PullRequestTitleEQ(v string) predicate.PRNotification

PullRequestTitleEQ applies the EQ predicate on the "pull_request_title" field.

func PullRequestTitleEqualFold

func PullRequestTitleEqualFold(v string) predicate.PRNotification

PullRequestTitleEqualFold applies the EqualFold predicate on the "pull_request_title" field.

func PullRequestTitleGT

func PullRequestTitleGT(v string) predicate.PRNotification

PullRequestTitleGT applies the GT predicate on the "pull_request_title" field.

func PullRequestTitleGTE

func PullRequestTitleGTE(v string) predicate.PRNotification

PullRequestTitleGTE applies the GTE predicate on the "pull_request_title" field.

func PullRequestTitleHasPrefix

func PullRequestTitleHasPrefix(v string) predicate.PRNotification

PullRequestTitleHasPrefix applies the HasPrefix predicate on the "pull_request_title" field.

func PullRequestTitleHasSuffix

func PullRequestTitleHasSuffix(v string) predicate.PRNotification

PullRequestTitleHasSuffix applies the HasSuffix predicate on the "pull_request_title" field.

func PullRequestTitleIn

func PullRequestTitleIn(vs ...string) predicate.PRNotification

PullRequestTitleIn applies the In predicate on the "pull_request_title" field.

func PullRequestTitleLT

func PullRequestTitleLT(v string) predicate.PRNotification

PullRequestTitleLT applies the LT predicate on the "pull_request_title" field.

func PullRequestTitleLTE

func PullRequestTitleLTE(v string) predicate.PRNotification

PullRequestTitleLTE applies the LTE predicate on the "pull_request_title" field.

func PullRequestTitleNEQ

func PullRequestTitleNEQ(v string) predicate.PRNotification

PullRequestTitleNEQ applies the NEQ predicate on the "pull_request_title" field.

func PullRequestTitleNotIn

func PullRequestTitleNotIn(vs ...string) predicate.PRNotification

PullRequestTitleNotIn applies the NotIn predicate on the "pull_request_title" field.

func RepoID

func RepoID(v int64) predicate.PRNotification

RepoID applies equality check predicate on the "repo_id" field. It's identical to RepoIDEQ.

func RepoIDEQ

func RepoIDEQ(v int64) predicate.PRNotification

RepoIDEQ applies the EQ predicate on the "repo_id" field.

func RepoIDGT

func RepoIDGT(v int64) predicate.PRNotification

RepoIDGT applies the GT predicate on the "repo_id" field.

func RepoIDGTE

func RepoIDGTE(v int64) predicate.PRNotification

RepoIDGTE applies the GTE predicate on the "repo_id" field.

func RepoIDIn

func RepoIDIn(vs ...int64) predicate.PRNotification

RepoIDIn applies the In predicate on the "repo_id" field.

func RepoIDLT

func RepoIDLT(v int64) predicate.PRNotification

RepoIDLT applies the LT predicate on the "repo_id" field.

func RepoIDLTE

func RepoIDLTE(v int64) predicate.PRNotification

RepoIDLTE applies the LTE predicate on the "repo_id" field.

func RepoIDNEQ

func RepoIDNEQ(v int64) predicate.PRNotification

RepoIDNEQ applies the NEQ predicate on the "repo_id" field.

func RepoIDNotIn

func RepoIDNotIn(vs ...int64) predicate.PRNotification

RepoIDNotIn applies the NotIn predicate on the "repo_id" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the PRNotification queries.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByMessageID

func ByMessageID(opts ...sql.OrderTermOption) OrderOption

ByMessageID orders the results by the message_id field.

func ByPullRequestAuthorLogin

func ByPullRequestAuthorLogin(opts ...sql.OrderTermOption) OrderOption

ByPullRequestAuthorLogin orders the results by the pull_request_author_login field.

func ByPullRequestBody

func ByPullRequestBody(opts ...sql.OrderTermOption) OrderOption

ByPullRequestBody orders the results by the pull_request_body field.

func ByPullRequestID

func ByPullRequestID(opts ...sql.OrderTermOption) OrderOption

ByPullRequestID orders the results by the pull_request_id field.

func ByPullRequestTitle

func ByPullRequestTitle(opts ...sql.OrderTermOption) OrderOption

ByPullRequestTitle orders the results by the pull_request_title field.

func ByRepoID

func ByRepoID(opts ...sql.OrderTermOption) OrderOption

ByRepoID orders the results by the repo_id field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL