pullrequest

package
v0.0.0-...-76a6b52 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the pullrequest type in the database.
	Label = "pull_request"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldNodeID holds the string denoting the node_id field in the database.
	FieldNodeID = "node_id"
	// FieldHTMLURL holds the string denoting the html_url field in the database.
	FieldHTMLURL = "html_url"
	// FieldDiffURL holds the string denoting the diff_url field in the database.
	FieldDiffURL = "diff_url"
	// FieldPatchURL holds the string denoting the patch_url field in the database.
	FieldPatchURL = "patch_url"
	// FieldIssueURL holds the string denoting the issue_url field in the database.
	FieldIssueURL = "issue_url"
	// FieldCommitsURL holds the string denoting the commits_url field in the database.
	FieldCommitsURL = "commits_url"
	// FieldReviewCommentsURL holds the string denoting the review_comments_url field in the database.
	FieldReviewCommentsURL = "review_comments_url"
	// FieldReviewCommentURL holds the string denoting the review_comment_url field in the database.
	FieldReviewCommentURL = "review_comment_url"
	// FieldCommentsURL holds the string denoting the comments_url field in the database.
	FieldCommentsURL = "comments_url"
	// FieldStatusesURL holds the string denoting the statuses_url field in the database.
	FieldStatusesURL = "statuses_url"
	// FieldNumber holds the string denoting the number field in the database.
	FieldNumber = "number"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldLocked holds the string denoting the locked field in the database.
	FieldLocked = "locked"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldBody holds the string denoting the body field in the database.
	FieldBody = "body"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldClosedAt holds the string denoting the closed_at field in the database.
	FieldClosedAt = "closed_at"
	// FieldMergedAt holds the string denoting the merged_at field in the database.
	FieldMergedAt = "merged_at"
	// FieldMergeCommitSha holds the string denoting the merge_commit_sha field in the database.
	FieldMergeCommitSha = "merge_commit_sha"
	// FieldHead holds the string denoting the head field in the database.
	FieldHead = "head"
	// FieldBase holds the string denoting the base field in the database.
	FieldBase = "base"
	// FieldDraft holds the string denoting the draft field in the database.
	FieldDraft = "draft"
	// FieldAuthorAssociation holds the string denoting the author_association field in the database.
	FieldAuthorAssociation = "author_association"
	// EdgeRepository holds the string denoting the repository edge name in mutations.
	EdgeRepository = "repository"
	// EdgeIssue holds the string denoting the issue edge name in mutations.
	EdgeIssue = "issue"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeAssignees holds the string denoting the assignees edge name in mutations.
	EdgeAssignees = "assignees"
	// EdgeRequestedReviewers holds the string denoting the requested_reviewers edge name in mutations.
	EdgeRequestedReviewers = "requested_reviewers"
	// Table holds the table name of the pullrequest in the database.
	Table = "pull_requests"
	// RepositoryTable is the table that holds the repository relation/edge.
	RepositoryTable = "pull_requests"
	// RepositoryInverseTable is the table name for the Repository entity.
	// It exists in this package in order to avoid circular dependency with the "repository" package.
	RepositoryInverseTable = "repositories"
	// RepositoryColumn is the table column denoting the repository relation/edge.
	RepositoryColumn = "repository_pull_requests"
	// IssueTable is the table that holds the issue relation/edge.
	IssueTable = "pull_requests"
	// IssueInverseTable is the table name for the Issue entity.
	// It exists in this package in order to avoid circular dependency with the "issue" package.
	IssueInverseTable = "issues"
	// IssueColumn is the table column denoting the issue relation/edge.
	IssueColumn = "issue_pull_request"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "pull_requests"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_prs_created"
	// AssigneesTable is the table that holds the assignees relation/edge. The primary key declared below.
	AssigneesTable = "pull_request_assignees"
	// AssigneesInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	AssigneesInverseTable = "users"
	// RequestedReviewersTable is the table that holds the requested_reviewers relation/edge. The primary key declared below.
	RequestedReviewersTable = "pull_request_requested_reviewers"
	// RequestedReviewersInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	RequestedReviewersInverseTable = "users"
)

Variables

View Source
var (
	// AssigneesPrimaryKey and AssigneesColumn2 are the table columns denoting the
	// primary key for the assignees relation (M2M).
	AssigneesPrimaryKey = []string{"pull_request_id", "user_id"}
	// RequestedReviewersPrimaryKey and RequestedReviewersColumn2 are the table columns denoting the
	// primary key for the requested_reviewers relation (M2M).
	RequestedReviewersPrimaryKey = []string{"pull_request_id", "user_id"}
)

Columns holds all SQL columns for pullrequest fields.

View Source
var ForeignKeys = []string{
	"issue_pull_request",
	"repository_pull_requests",
	"user_prs_created",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "pull_requests" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.PullRequest) predicate.PullRequest

And groups predicates with the AND operator between them.

func AuthorAssociationEQ

func AuthorAssociationEQ(v model.AuthorAssociation) predicate.PullRequest

AuthorAssociationEQ applies the EQ predicate on the "author_association" field.

func AuthorAssociationIn

func AuthorAssociationIn(vs ...model.AuthorAssociation) predicate.PullRequest

AuthorAssociationIn applies the In predicate on the "author_association" field.

func AuthorAssociationNEQ

func AuthorAssociationNEQ(v model.AuthorAssociation) predicate.PullRequest

AuthorAssociationNEQ applies the NEQ predicate on the "author_association" field.

func AuthorAssociationNotIn

func AuthorAssociationNotIn(vs ...model.AuthorAssociation) predicate.PullRequest

AuthorAssociationNotIn applies the NotIn predicate on the "author_association" field.

func AuthorAssociationValidator

func AuthorAssociationValidator(aa model.AuthorAssociation) error

AuthorAssociationValidator is a validator for the "author_association" field enum values. It is called by the builders before save.

func Body

Body applies equality check predicate on the "body" field. It's identical to BodyEQ.

func BodyContains

func BodyContains(v string) predicate.PullRequest

BodyContains applies the Contains predicate on the "body" field.

func BodyContainsFold

func BodyContainsFold(v string) predicate.PullRequest

BodyContainsFold applies the ContainsFold predicate on the "body" field.

func BodyEQ

func BodyEQ(v string) predicate.PullRequest

BodyEQ applies the EQ predicate on the "body" field.

func BodyEqualFold

func BodyEqualFold(v string) predicate.PullRequest

BodyEqualFold applies the EqualFold predicate on the "body" field.

func BodyGT

func BodyGT(v string) predicate.PullRequest

BodyGT applies the GT predicate on the "body" field.

func BodyGTE

func BodyGTE(v string) predicate.PullRequest

BodyGTE applies the GTE predicate on the "body" field.

func BodyHasPrefix

func BodyHasPrefix(v string) predicate.PullRequest

BodyHasPrefix applies the HasPrefix predicate on the "body" field.

func BodyHasSuffix

func BodyHasSuffix(v string) predicate.PullRequest

BodyHasSuffix applies the HasSuffix predicate on the "body" field.

func BodyIn

func BodyIn(vs ...string) predicate.PullRequest

BodyIn applies the In predicate on the "body" field.

func BodyIsNil

func BodyIsNil() predicate.PullRequest

BodyIsNil applies the IsNil predicate on the "body" field.

func BodyLT

func BodyLT(v string) predicate.PullRequest

BodyLT applies the LT predicate on the "body" field.

func BodyLTE

func BodyLTE(v string) predicate.PullRequest

BodyLTE applies the LTE predicate on the "body" field.

func BodyNEQ

func BodyNEQ(v string) predicate.PullRequest

BodyNEQ applies the NEQ predicate on the "body" field.

func BodyNotIn

func BodyNotIn(vs ...string) predicate.PullRequest

BodyNotIn applies the NotIn predicate on the "body" field.

func BodyNotNil

func BodyNotNil() predicate.PullRequest

BodyNotNil applies the NotNil predicate on the "body" field.

func ClosedAt

func ClosedAt(v time.Time) predicate.PullRequest

ClosedAt applies equality check predicate on the "closed_at" field. It's identical to ClosedAtEQ.

func ClosedAtEQ

func ClosedAtEQ(v time.Time) predicate.PullRequest

ClosedAtEQ applies the EQ predicate on the "closed_at" field.

func ClosedAtGT

func ClosedAtGT(v time.Time) predicate.PullRequest

ClosedAtGT applies the GT predicate on the "closed_at" field.

func ClosedAtGTE

func ClosedAtGTE(v time.Time) predicate.PullRequest

ClosedAtGTE applies the GTE predicate on the "closed_at" field.

func ClosedAtIn

func ClosedAtIn(vs ...time.Time) predicate.PullRequest

ClosedAtIn applies the In predicate on the "closed_at" field.

func ClosedAtIsNil

func ClosedAtIsNil() predicate.PullRequest

ClosedAtIsNil applies the IsNil predicate on the "closed_at" field.

func ClosedAtLT

func ClosedAtLT(v time.Time) predicate.PullRequest

ClosedAtLT applies the LT predicate on the "closed_at" field.

func ClosedAtLTE

func ClosedAtLTE(v time.Time) predicate.PullRequest

ClosedAtLTE applies the LTE predicate on the "closed_at" field.

func ClosedAtNEQ

func ClosedAtNEQ(v time.Time) predicate.PullRequest

ClosedAtNEQ applies the NEQ predicate on the "closed_at" field.

func ClosedAtNotIn

func ClosedAtNotIn(vs ...time.Time) predicate.PullRequest

ClosedAtNotIn applies the NotIn predicate on the "closed_at" field.

func ClosedAtNotNil

func ClosedAtNotNil() predicate.PullRequest

ClosedAtNotNil applies the NotNil predicate on the "closed_at" field.

func CommentsURL

func CommentsURL(v string) predicate.PullRequest

CommentsURL applies equality check predicate on the "comments_url" field. It's identical to CommentsURLEQ.

func CommentsURLContains

func CommentsURLContains(v string) predicate.PullRequest

CommentsURLContains applies the Contains predicate on the "comments_url" field.

func CommentsURLContainsFold

func CommentsURLContainsFold(v string) predicate.PullRequest

CommentsURLContainsFold applies the ContainsFold predicate on the "comments_url" field.

func CommentsURLEQ

func CommentsURLEQ(v string) predicate.PullRequest

CommentsURLEQ applies the EQ predicate on the "comments_url" field.

func CommentsURLEqualFold

func CommentsURLEqualFold(v string) predicate.PullRequest

CommentsURLEqualFold applies the EqualFold predicate on the "comments_url" field.

func CommentsURLGT

func CommentsURLGT(v string) predicate.PullRequest

CommentsURLGT applies the GT predicate on the "comments_url" field.

func CommentsURLGTE

func CommentsURLGTE(v string) predicate.PullRequest

CommentsURLGTE applies the GTE predicate on the "comments_url" field.

func CommentsURLHasPrefix

func CommentsURLHasPrefix(v string) predicate.PullRequest

CommentsURLHasPrefix applies the HasPrefix predicate on the "comments_url" field.

func CommentsURLHasSuffix

func CommentsURLHasSuffix(v string) predicate.PullRequest

CommentsURLHasSuffix applies the HasSuffix predicate on the "comments_url" field.

func CommentsURLIn

func CommentsURLIn(vs ...string) predicate.PullRequest

CommentsURLIn applies the In predicate on the "comments_url" field.

func CommentsURLLT

func CommentsURLLT(v string) predicate.PullRequest

CommentsURLLT applies the LT predicate on the "comments_url" field.

func CommentsURLLTE

func CommentsURLLTE(v string) predicate.PullRequest

CommentsURLLTE applies the LTE predicate on the "comments_url" field.

func CommentsURLNEQ

func CommentsURLNEQ(v string) predicate.PullRequest

CommentsURLNEQ applies the NEQ predicate on the "comments_url" field.

func CommentsURLNotIn

func CommentsURLNotIn(vs ...string) predicate.PullRequest

CommentsURLNotIn applies the NotIn predicate on the "comments_url" field.

func CommitsURL

func CommitsURL(v string) predicate.PullRequest

CommitsURL applies equality check predicate on the "commits_url" field. It's identical to CommitsURLEQ.

func CommitsURLContains

func CommitsURLContains(v string) predicate.PullRequest

CommitsURLContains applies the Contains predicate on the "commits_url" field.

func CommitsURLContainsFold

func CommitsURLContainsFold(v string) predicate.PullRequest

CommitsURLContainsFold applies the ContainsFold predicate on the "commits_url" field.

func CommitsURLEQ

func CommitsURLEQ(v string) predicate.PullRequest

CommitsURLEQ applies the EQ predicate on the "commits_url" field.

func CommitsURLEqualFold

func CommitsURLEqualFold(v string) predicate.PullRequest

CommitsURLEqualFold applies the EqualFold predicate on the "commits_url" field.

func CommitsURLGT

func CommitsURLGT(v string) predicate.PullRequest

CommitsURLGT applies the GT predicate on the "commits_url" field.

func CommitsURLGTE

func CommitsURLGTE(v string) predicate.PullRequest

CommitsURLGTE applies the GTE predicate on the "commits_url" field.

func CommitsURLHasPrefix

func CommitsURLHasPrefix(v string) predicate.PullRequest

CommitsURLHasPrefix applies the HasPrefix predicate on the "commits_url" field.

func CommitsURLHasSuffix

func CommitsURLHasSuffix(v string) predicate.PullRequest

CommitsURLHasSuffix applies the HasSuffix predicate on the "commits_url" field.

func CommitsURLIn

func CommitsURLIn(vs ...string) predicate.PullRequest

CommitsURLIn applies the In predicate on the "commits_url" field.

func CommitsURLLT

func CommitsURLLT(v string) predicate.PullRequest

CommitsURLLT applies the LT predicate on the "commits_url" field.

func CommitsURLLTE

func CommitsURLLTE(v string) predicate.PullRequest

CommitsURLLTE applies the LTE predicate on the "commits_url" field.

func CommitsURLNEQ

func CommitsURLNEQ(v string) predicate.PullRequest

CommitsURLNEQ applies the NEQ predicate on the "commits_url" field.

func CommitsURLNotIn

func CommitsURLNotIn(vs ...string) predicate.PullRequest

CommitsURLNotIn applies the NotIn predicate on the "commits_url" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.PullRequest

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.PullRequest

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.PullRequest

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.PullRequest

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.PullRequest

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.PullRequest

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.PullRequest

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.PullRequest

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.PullRequest

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DiffURL

func DiffURL(v string) predicate.PullRequest

DiffURL applies equality check predicate on the "diff_url" field. It's identical to DiffURLEQ.

func DiffURLContains

func DiffURLContains(v string) predicate.PullRequest

DiffURLContains applies the Contains predicate on the "diff_url" field.

func DiffURLContainsFold

func DiffURLContainsFold(v string) predicate.PullRequest

DiffURLContainsFold applies the ContainsFold predicate on the "diff_url" field.

func DiffURLEQ

func DiffURLEQ(v string) predicate.PullRequest

DiffURLEQ applies the EQ predicate on the "diff_url" field.

func DiffURLEqualFold

func DiffURLEqualFold(v string) predicate.PullRequest

DiffURLEqualFold applies the EqualFold predicate on the "diff_url" field.

func DiffURLGT

func DiffURLGT(v string) predicate.PullRequest

DiffURLGT applies the GT predicate on the "diff_url" field.

func DiffURLGTE

func DiffURLGTE(v string) predicate.PullRequest

DiffURLGTE applies the GTE predicate on the "diff_url" field.

func DiffURLHasPrefix

func DiffURLHasPrefix(v string) predicate.PullRequest

DiffURLHasPrefix applies the HasPrefix predicate on the "diff_url" field.

func DiffURLHasSuffix

func DiffURLHasSuffix(v string) predicate.PullRequest

DiffURLHasSuffix applies the HasSuffix predicate on the "diff_url" field.

func DiffURLIn

func DiffURLIn(vs ...string) predicate.PullRequest

DiffURLIn applies the In predicate on the "diff_url" field.

func DiffURLLT

func DiffURLLT(v string) predicate.PullRequest

DiffURLLT applies the LT predicate on the "diff_url" field.

func DiffURLLTE

func DiffURLLTE(v string) predicate.PullRequest

DiffURLLTE applies the LTE predicate on the "diff_url" field.

func DiffURLNEQ

func DiffURLNEQ(v string) predicate.PullRequest

DiffURLNEQ applies the NEQ predicate on the "diff_url" field.

func DiffURLNotIn

func DiffURLNotIn(vs ...string) predicate.PullRequest

DiffURLNotIn applies the NotIn predicate on the "diff_url" field.

func Draft

func Draft(v bool) predicate.PullRequest

Draft applies equality check predicate on the "draft" field. It's identical to DraftEQ.

func DraftEQ

func DraftEQ(v bool) predicate.PullRequest

DraftEQ applies the EQ predicate on the "draft" field.

func DraftIsNil

func DraftIsNil() predicate.PullRequest

DraftIsNil applies the IsNil predicate on the "draft" field.

func DraftNEQ

func DraftNEQ(v bool) predicate.PullRequest

DraftNEQ applies the NEQ predicate on the "draft" field.

func DraftNotNil

func DraftNotNil() predicate.PullRequest

DraftNotNil applies the NotNil predicate on the "draft" field.

func HTMLURL

func HTMLURL(v string) predicate.PullRequest

HTMLURL applies equality check predicate on the "html_url" field. It's identical to HTMLURLEQ.

func HTMLURLContains

func HTMLURLContains(v string) predicate.PullRequest

HTMLURLContains applies the Contains predicate on the "html_url" field.

func HTMLURLContainsFold

func HTMLURLContainsFold(v string) predicate.PullRequest

HTMLURLContainsFold applies the ContainsFold predicate on the "html_url" field.

func HTMLURLEQ

func HTMLURLEQ(v string) predicate.PullRequest

HTMLURLEQ applies the EQ predicate on the "html_url" field.

func HTMLURLEqualFold

func HTMLURLEqualFold(v string) predicate.PullRequest

HTMLURLEqualFold applies the EqualFold predicate on the "html_url" field.

func HTMLURLGT

func HTMLURLGT(v string) predicate.PullRequest

HTMLURLGT applies the GT predicate on the "html_url" field.

func HTMLURLGTE

func HTMLURLGTE(v string) predicate.PullRequest

HTMLURLGTE applies the GTE predicate on the "html_url" field.

func HTMLURLHasPrefix

func HTMLURLHasPrefix(v string) predicate.PullRequest

HTMLURLHasPrefix applies the HasPrefix predicate on the "html_url" field.

func HTMLURLHasSuffix

func HTMLURLHasSuffix(v string) predicate.PullRequest

HTMLURLHasSuffix applies the HasSuffix predicate on the "html_url" field.

func HTMLURLIn

func HTMLURLIn(vs ...string) predicate.PullRequest

HTMLURLIn applies the In predicate on the "html_url" field.

func HTMLURLLT

func HTMLURLLT(v string) predicate.PullRequest

HTMLURLLT applies the LT predicate on the "html_url" field.

func HTMLURLLTE

func HTMLURLLTE(v string) predicate.PullRequest

HTMLURLLTE applies the LTE predicate on the "html_url" field.

func HTMLURLNEQ

func HTMLURLNEQ(v string) predicate.PullRequest

HTMLURLNEQ applies the NEQ predicate on the "html_url" field.

func HTMLURLNotIn

func HTMLURLNotIn(vs ...string) predicate.PullRequest

HTMLURLNotIn applies the NotIn predicate on the "html_url" field.

func HasAssignees

func HasAssignees() predicate.PullRequest

HasAssignees applies the HasEdge predicate on the "assignees" edge.

func HasAssigneesWith

func HasAssigneesWith(preds ...predicate.User) predicate.PullRequest

HasAssigneesWith applies the HasEdge predicate on the "assignees" edge with a given conditions (other predicates).

func HasIssue

func HasIssue() predicate.PullRequest

HasIssue applies the HasEdge predicate on the "issue" edge.

func HasIssueWith

func HasIssueWith(preds ...predicate.Issue) predicate.PullRequest

HasIssueWith applies the HasEdge predicate on the "issue" edge with a given conditions (other predicates).

func HasRepository

func HasRepository() predicate.PullRequest

HasRepository applies the HasEdge predicate on the "repository" edge.

func HasRepositoryWith

func HasRepositoryWith(preds ...predicate.Repository) predicate.PullRequest

HasRepositoryWith applies the HasEdge predicate on the "repository" edge with a given conditions (other predicates).

func HasRequestedReviewers

func HasRequestedReviewers() predicate.PullRequest

HasRequestedReviewers applies the HasEdge predicate on the "requested_reviewers" edge.

func HasRequestedReviewersWith

func HasRequestedReviewersWith(preds ...predicate.User) predicate.PullRequest

HasRequestedReviewersWith applies the HasEdge predicate on the "requested_reviewers" edge with a given conditions (other predicates).

func HasUser

func HasUser() predicate.PullRequest

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.PullRequest

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.PullRequest

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.PullRequest

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.PullRequest

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.PullRequest

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.PullRequest

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.PullRequest

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.PullRequest

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.PullRequest

IDNotIn applies the NotIn predicate on the ID field.

func IssueURL

func IssueURL(v string) predicate.PullRequest

IssueURL applies equality check predicate on the "issue_url" field. It's identical to IssueURLEQ.

func IssueURLContains

func IssueURLContains(v string) predicate.PullRequest

IssueURLContains applies the Contains predicate on the "issue_url" field.

func IssueURLContainsFold

func IssueURLContainsFold(v string) predicate.PullRequest

IssueURLContainsFold applies the ContainsFold predicate on the "issue_url" field.

func IssueURLEQ

func IssueURLEQ(v string) predicate.PullRequest

IssueURLEQ applies the EQ predicate on the "issue_url" field.

func IssueURLEqualFold

func IssueURLEqualFold(v string) predicate.PullRequest

IssueURLEqualFold applies the EqualFold predicate on the "issue_url" field.

func IssueURLGT

func IssueURLGT(v string) predicate.PullRequest

IssueURLGT applies the GT predicate on the "issue_url" field.

func IssueURLGTE

func IssueURLGTE(v string) predicate.PullRequest

IssueURLGTE applies the GTE predicate on the "issue_url" field.

func IssueURLHasPrefix

func IssueURLHasPrefix(v string) predicate.PullRequest

IssueURLHasPrefix applies the HasPrefix predicate on the "issue_url" field.

func IssueURLHasSuffix

func IssueURLHasSuffix(v string) predicate.PullRequest

IssueURLHasSuffix applies the HasSuffix predicate on the "issue_url" field.

func IssueURLIn

func IssueURLIn(vs ...string) predicate.PullRequest

IssueURLIn applies the In predicate on the "issue_url" field.

func IssueURLLT

func IssueURLLT(v string) predicate.PullRequest

IssueURLLT applies the LT predicate on the "issue_url" field.

func IssueURLLTE

func IssueURLLTE(v string) predicate.PullRequest

IssueURLLTE applies the LTE predicate on the "issue_url" field.

func IssueURLNEQ

func IssueURLNEQ(v string) predicate.PullRequest

IssueURLNEQ applies the NEQ predicate on the "issue_url" field.

func IssueURLNotIn

func IssueURLNotIn(vs ...string) predicate.PullRequest

IssueURLNotIn applies the NotIn predicate on the "issue_url" field.

func Locked

func Locked(v bool) predicate.PullRequest

Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.

func LockedEQ

func LockedEQ(v bool) predicate.PullRequest

LockedEQ applies the EQ predicate on the "locked" field.

func LockedNEQ

func LockedNEQ(v bool) predicate.PullRequest

LockedNEQ applies the NEQ predicate on the "locked" field.

func MergeCommitSha

func MergeCommitSha(v string) predicate.PullRequest

MergeCommitSha applies equality check predicate on the "merge_commit_sha" field. It's identical to MergeCommitShaEQ.

func MergeCommitShaContains

func MergeCommitShaContains(v string) predicate.PullRequest

MergeCommitShaContains applies the Contains predicate on the "merge_commit_sha" field.

func MergeCommitShaContainsFold

func MergeCommitShaContainsFold(v string) predicate.PullRequest

MergeCommitShaContainsFold applies the ContainsFold predicate on the "merge_commit_sha" field.

func MergeCommitShaEQ

func MergeCommitShaEQ(v string) predicate.PullRequest

MergeCommitShaEQ applies the EQ predicate on the "merge_commit_sha" field.

func MergeCommitShaEqualFold

func MergeCommitShaEqualFold(v string) predicate.PullRequest

MergeCommitShaEqualFold applies the EqualFold predicate on the "merge_commit_sha" field.

func MergeCommitShaGT

func MergeCommitShaGT(v string) predicate.PullRequest

MergeCommitShaGT applies the GT predicate on the "merge_commit_sha" field.

func MergeCommitShaGTE

func MergeCommitShaGTE(v string) predicate.PullRequest

MergeCommitShaGTE applies the GTE predicate on the "merge_commit_sha" field.

func MergeCommitShaHasPrefix

func MergeCommitShaHasPrefix(v string) predicate.PullRequest

MergeCommitShaHasPrefix applies the HasPrefix predicate on the "merge_commit_sha" field.

func MergeCommitShaHasSuffix

func MergeCommitShaHasSuffix(v string) predicate.PullRequest

MergeCommitShaHasSuffix applies the HasSuffix predicate on the "merge_commit_sha" field.

func MergeCommitShaIn

func MergeCommitShaIn(vs ...string) predicate.PullRequest

MergeCommitShaIn applies the In predicate on the "merge_commit_sha" field.

func MergeCommitShaIsNil

func MergeCommitShaIsNil() predicate.PullRequest

MergeCommitShaIsNil applies the IsNil predicate on the "merge_commit_sha" field.

func MergeCommitShaLT

func MergeCommitShaLT(v string) predicate.PullRequest

MergeCommitShaLT applies the LT predicate on the "merge_commit_sha" field.

func MergeCommitShaLTE

func MergeCommitShaLTE(v string) predicate.PullRequest

MergeCommitShaLTE applies the LTE predicate on the "merge_commit_sha" field.

func MergeCommitShaNEQ

func MergeCommitShaNEQ(v string) predicate.PullRequest

MergeCommitShaNEQ applies the NEQ predicate on the "merge_commit_sha" field.

func MergeCommitShaNotIn

func MergeCommitShaNotIn(vs ...string) predicate.PullRequest

MergeCommitShaNotIn applies the NotIn predicate on the "merge_commit_sha" field.

func MergeCommitShaNotNil

func MergeCommitShaNotNil() predicate.PullRequest

MergeCommitShaNotNil applies the NotNil predicate on the "merge_commit_sha" field.

func MergedAt

func MergedAt(v time.Time) predicate.PullRequest

MergedAt applies equality check predicate on the "merged_at" field. It's identical to MergedAtEQ.

func MergedAtEQ

func MergedAtEQ(v time.Time) predicate.PullRequest

MergedAtEQ applies the EQ predicate on the "merged_at" field.

func MergedAtGT

func MergedAtGT(v time.Time) predicate.PullRequest

MergedAtGT applies the GT predicate on the "merged_at" field.

func MergedAtGTE

func MergedAtGTE(v time.Time) predicate.PullRequest

MergedAtGTE applies the GTE predicate on the "merged_at" field.

func MergedAtIn

func MergedAtIn(vs ...time.Time) predicate.PullRequest

MergedAtIn applies the In predicate on the "merged_at" field.

func MergedAtIsNil

func MergedAtIsNil() predicate.PullRequest

MergedAtIsNil applies the IsNil predicate on the "merged_at" field.

func MergedAtLT

func MergedAtLT(v time.Time) predicate.PullRequest

MergedAtLT applies the LT predicate on the "merged_at" field.

func MergedAtLTE

func MergedAtLTE(v time.Time) predicate.PullRequest

MergedAtLTE applies the LTE predicate on the "merged_at" field.

func MergedAtNEQ

func MergedAtNEQ(v time.Time) predicate.PullRequest

MergedAtNEQ applies the NEQ predicate on the "merged_at" field.

func MergedAtNotIn

func MergedAtNotIn(vs ...time.Time) predicate.PullRequest

MergedAtNotIn applies the NotIn predicate on the "merged_at" field.

func MergedAtNotNil

func MergedAtNotNil() predicate.PullRequest

MergedAtNotNil applies the NotNil predicate on the "merged_at" field.

func NodeID

func NodeID(v string) predicate.PullRequest

NodeID applies equality check predicate on the "node_id" field. It's identical to NodeIDEQ.

func NodeIDContains

func NodeIDContains(v string) predicate.PullRequest

NodeIDContains applies the Contains predicate on the "node_id" field.

func NodeIDContainsFold

func NodeIDContainsFold(v string) predicate.PullRequest

NodeIDContainsFold applies the ContainsFold predicate on the "node_id" field.

func NodeIDEQ

func NodeIDEQ(v string) predicate.PullRequest

NodeIDEQ applies the EQ predicate on the "node_id" field.

func NodeIDEqualFold

func NodeIDEqualFold(v string) predicate.PullRequest

NodeIDEqualFold applies the EqualFold predicate on the "node_id" field.

func NodeIDGT

func NodeIDGT(v string) predicate.PullRequest

NodeIDGT applies the GT predicate on the "node_id" field.

func NodeIDGTE

func NodeIDGTE(v string) predicate.PullRequest

NodeIDGTE applies the GTE predicate on the "node_id" field.

func NodeIDHasPrefix

func NodeIDHasPrefix(v string) predicate.PullRequest

NodeIDHasPrefix applies the HasPrefix predicate on the "node_id" field.

func NodeIDHasSuffix

func NodeIDHasSuffix(v string) predicate.PullRequest

NodeIDHasSuffix applies the HasSuffix predicate on the "node_id" field.

func NodeIDIn

func NodeIDIn(vs ...string) predicate.PullRequest

NodeIDIn applies the In predicate on the "node_id" field.

func NodeIDLT

func NodeIDLT(v string) predicate.PullRequest

NodeIDLT applies the LT predicate on the "node_id" field.

func NodeIDLTE

func NodeIDLTE(v string) predicate.PullRequest

NodeIDLTE applies the LTE predicate on the "node_id" field.

func NodeIDNEQ

func NodeIDNEQ(v string) predicate.PullRequest

NodeIDNEQ applies the NEQ predicate on the "node_id" field.

func NodeIDNotIn

func NodeIDNotIn(vs ...string) predicate.PullRequest

NodeIDNotIn applies the NotIn predicate on the "node_id" field.

func Not

Not applies the not operator on the given predicate.

func Number

func Number(v int64) predicate.PullRequest

Number applies equality check predicate on the "number" field. It's identical to NumberEQ.

func NumberEQ

func NumberEQ(v int64) predicate.PullRequest

NumberEQ applies the EQ predicate on the "number" field.

func NumberGT

func NumberGT(v int64) predicate.PullRequest

NumberGT applies the GT predicate on the "number" field.

func NumberGTE

func NumberGTE(v int64) predicate.PullRequest

NumberGTE applies the GTE predicate on the "number" field.

func NumberIn

func NumberIn(vs ...int64) predicate.PullRequest

NumberIn applies the In predicate on the "number" field.

func NumberLT

func NumberLT(v int64) predicate.PullRequest

NumberLT applies the LT predicate on the "number" field.

func NumberLTE

func NumberLTE(v int64) predicate.PullRequest

NumberLTE applies the LTE predicate on the "number" field.

func NumberNEQ

func NumberNEQ(v int64) predicate.PullRequest

NumberNEQ applies the NEQ predicate on the "number" field.

func NumberNotIn

func NumberNotIn(vs ...int64) predicate.PullRequest

NumberNotIn applies the NotIn predicate on the "number" field.

func Or

func Or(predicates ...predicate.PullRequest) predicate.PullRequest

Or groups predicates with the OR operator between them.

func PatchURL

func PatchURL(v string) predicate.PullRequest

PatchURL applies equality check predicate on the "patch_url" field. It's identical to PatchURLEQ.

func PatchURLContains

func PatchURLContains(v string) predicate.PullRequest

PatchURLContains applies the Contains predicate on the "patch_url" field.

func PatchURLContainsFold

func PatchURLContainsFold(v string) predicate.PullRequest

PatchURLContainsFold applies the ContainsFold predicate on the "patch_url" field.

func PatchURLEQ

func PatchURLEQ(v string) predicate.PullRequest

PatchURLEQ applies the EQ predicate on the "patch_url" field.

func PatchURLEqualFold

func PatchURLEqualFold(v string) predicate.PullRequest

PatchURLEqualFold applies the EqualFold predicate on the "patch_url" field.

func PatchURLGT

func PatchURLGT(v string) predicate.PullRequest

PatchURLGT applies the GT predicate on the "patch_url" field.

func PatchURLGTE

func PatchURLGTE(v string) predicate.PullRequest

PatchURLGTE applies the GTE predicate on the "patch_url" field.

func PatchURLHasPrefix

func PatchURLHasPrefix(v string) predicate.PullRequest

PatchURLHasPrefix applies the HasPrefix predicate on the "patch_url" field.

func PatchURLHasSuffix

func PatchURLHasSuffix(v string) predicate.PullRequest

PatchURLHasSuffix applies the HasSuffix predicate on the "patch_url" field.

func PatchURLIn

func PatchURLIn(vs ...string) predicate.PullRequest

PatchURLIn applies the In predicate on the "patch_url" field.

func PatchURLLT

func PatchURLLT(v string) predicate.PullRequest

PatchURLLT applies the LT predicate on the "patch_url" field.

func PatchURLLTE

func PatchURLLTE(v string) predicate.PullRequest

PatchURLLTE applies the LTE predicate on the "patch_url" field.

func PatchURLNEQ

func PatchURLNEQ(v string) predicate.PullRequest

PatchURLNEQ applies the NEQ predicate on the "patch_url" field.

func PatchURLNotIn

func PatchURLNotIn(vs ...string) predicate.PullRequest

PatchURLNotIn applies the NotIn predicate on the "patch_url" field.

func ReviewCommentURL

func ReviewCommentURL(v string) predicate.PullRequest

ReviewCommentURL applies equality check predicate on the "review_comment_url" field. It's identical to ReviewCommentURLEQ.

func ReviewCommentURLContains

func ReviewCommentURLContains(v string) predicate.PullRequest

ReviewCommentURLContains applies the Contains predicate on the "review_comment_url" field.

func ReviewCommentURLContainsFold

func ReviewCommentURLContainsFold(v string) predicate.PullRequest

ReviewCommentURLContainsFold applies the ContainsFold predicate on the "review_comment_url" field.

func ReviewCommentURLEQ

func ReviewCommentURLEQ(v string) predicate.PullRequest

ReviewCommentURLEQ applies the EQ predicate on the "review_comment_url" field.

func ReviewCommentURLEqualFold

func ReviewCommentURLEqualFold(v string) predicate.PullRequest

ReviewCommentURLEqualFold applies the EqualFold predicate on the "review_comment_url" field.

func ReviewCommentURLGT

func ReviewCommentURLGT(v string) predicate.PullRequest

ReviewCommentURLGT applies the GT predicate on the "review_comment_url" field.

func ReviewCommentURLGTE

func ReviewCommentURLGTE(v string) predicate.PullRequest

ReviewCommentURLGTE applies the GTE predicate on the "review_comment_url" field.

func ReviewCommentURLHasPrefix

func ReviewCommentURLHasPrefix(v string) predicate.PullRequest

ReviewCommentURLHasPrefix applies the HasPrefix predicate on the "review_comment_url" field.

func ReviewCommentURLHasSuffix

func ReviewCommentURLHasSuffix(v string) predicate.PullRequest

ReviewCommentURLHasSuffix applies the HasSuffix predicate on the "review_comment_url" field.

func ReviewCommentURLIn

func ReviewCommentURLIn(vs ...string) predicate.PullRequest

ReviewCommentURLIn applies the In predicate on the "review_comment_url" field.

func ReviewCommentURLLT

func ReviewCommentURLLT(v string) predicate.PullRequest

ReviewCommentURLLT applies the LT predicate on the "review_comment_url" field.

func ReviewCommentURLLTE

func ReviewCommentURLLTE(v string) predicate.PullRequest

ReviewCommentURLLTE applies the LTE predicate on the "review_comment_url" field.

func ReviewCommentURLNEQ

func ReviewCommentURLNEQ(v string) predicate.PullRequest

ReviewCommentURLNEQ applies the NEQ predicate on the "review_comment_url" field.

func ReviewCommentURLNotIn

func ReviewCommentURLNotIn(vs ...string) predicate.PullRequest

ReviewCommentURLNotIn applies the NotIn predicate on the "review_comment_url" field.

func ReviewCommentsURL

func ReviewCommentsURL(v string) predicate.PullRequest

ReviewCommentsURL applies equality check predicate on the "review_comments_url" field. It's identical to ReviewCommentsURLEQ.

func ReviewCommentsURLContains

func ReviewCommentsURLContains(v string) predicate.PullRequest

ReviewCommentsURLContains applies the Contains predicate on the "review_comments_url" field.

func ReviewCommentsURLContainsFold

func ReviewCommentsURLContainsFold(v string) predicate.PullRequest

ReviewCommentsURLContainsFold applies the ContainsFold predicate on the "review_comments_url" field.

func ReviewCommentsURLEQ

func ReviewCommentsURLEQ(v string) predicate.PullRequest

ReviewCommentsURLEQ applies the EQ predicate on the "review_comments_url" field.

func ReviewCommentsURLEqualFold

func ReviewCommentsURLEqualFold(v string) predicate.PullRequest

ReviewCommentsURLEqualFold applies the EqualFold predicate on the "review_comments_url" field.

func ReviewCommentsURLGT

func ReviewCommentsURLGT(v string) predicate.PullRequest

ReviewCommentsURLGT applies the GT predicate on the "review_comments_url" field.

func ReviewCommentsURLGTE

func ReviewCommentsURLGTE(v string) predicate.PullRequest

ReviewCommentsURLGTE applies the GTE predicate on the "review_comments_url" field.

func ReviewCommentsURLHasPrefix

func ReviewCommentsURLHasPrefix(v string) predicate.PullRequest

ReviewCommentsURLHasPrefix applies the HasPrefix predicate on the "review_comments_url" field.

func ReviewCommentsURLHasSuffix

func ReviewCommentsURLHasSuffix(v string) predicate.PullRequest

ReviewCommentsURLHasSuffix applies the HasSuffix predicate on the "review_comments_url" field.

func ReviewCommentsURLIn

func ReviewCommentsURLIn(vs ...string) predicate.PullRequest

ReviewCommentsURLIn applies the In predicate on the "review_comments_url" field.

func ReviewCommentsURLLT

func ReviewCommentsURLLT(v string) predicate.PullRequest

ReviewCommentsURLLT applies the LT predicate on the "review_comments_url" field.

func ReviewCommentsURLLTE

func ReviewCommentsURLLTE(v string) predicate.PullRequest

ReviewCommentsURLLTE applies the LTE predicate on the "review_comments_url" field.

func ReviewCommentsURLNEQ

func ReviewCommentsURLNEQ(v string) predicate.PullRequest

ReviewCommentsURLNEQ applies the NEQ predicate on the "review_comments_url" field.

func ReviewCommentsURLNotIn

func ReviewCommentsURLNotIn(vs ...string) predicate.PullRequest

ReviewCommentsURLNotIn applies the NotIn predicate on the "review_comments_url" field.

func StateEQ

func StateEQ(v State) predicate.PullRequest

StateEQ applies the EQ predicate on the "state" field.

func StateIn

func StateIn(vs ...State) predicate.PullRequest

StateIn applies the In predicate on the "state" field.

func StateNEQ

func StateNEQ(v State) predicate.PullRequest

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

func StateNotIn(vs ...State) predicate.PullRequest

StateNotIn applies the NotIn predicate on the "state" field.

func StateValidator

func StateValidator(s State) error

StateValidator is a validator for the "state" field enum values. It is called by the builders before save.

func StatusesURL

func StatusesURL(v string) predicate.PullRequest

StatusesURL applies equality check predicate on the "statuses_url" field. It's identical to StatusesURLEQ.

func StatusesURLContains

func StatusesURLContains(v string) predicate.PullRequest

StatusesURLContains applies the Contains predicate on the "statuses_url" field.

func StatusesURLContainsFold

func StatusesURLContainsFold(v string) predicate.PullRequest

StatusesURLContainsFold applies the ContainsFold predicate on the "statuses_url" field.

func StatusesURLEQ

func StatusesURLEQ(v string) predicate.PullRequest

StatusesURLEQ applies the EQ predicate on the "statuses_url" field.

func StatusesURLEqualFold

func StatusesURLEqualFold(v string) predicate.PullRequest

StatusesURLEqualFold applies the EqualFold predicate on the "statuses_url" field.

func StatusesURLGT

func StatusesURLGT(v string) predicate.PullRequest

StatusesURLGT applies the GT predicate on the "statuses_url" field.

func StatusesURLGTE

func StatusesURLGTE(v string) predicate.PullRequest

StatusesURLGTE applies the GTE predicate on the "statuses_url" field.

func StatusesURLHasPrefix

func StatusesURLHasPrefix(v string) predicate.PullRequest

StatusesURLHasPrefix applies the HasPrefix predicate on the "statuses_url" field.

func StatusesURLHasSuffix

func StatusesURLHasSuffix(v string) predicate.PullRequest

StatusesURLHasSuffix applies the HasSuffix predicate on the "statuses_url" field.

func StatusesURLIn

func StatusesURLIn(vs ...string) predicate.PullRequest

StatusesURLIn applies the In predicate on the "statuses_url" field.

func StatusesURLLT

func StatusesURLLT(v string) predicate.PullRequest

StatusesURLLT applies the LT predicate on the "statuses_url" field.

func StatusesURLLTE

func StatusesURLLTE(v string) predicate.PullRequest

StatusesURLLTE applies the LTE predicate on the "statuses_url" field.

func StatusesURLNEQ

func StatusesURLNEQ(v string) predicate.PullRequest

StatusesURLNEQ applies the NEQ predicate on the "statuses_url" field.

func StatusesURLNotIn

func StatusesURLNotIn(vs ...string) predicate.PullRequest

StatusesURLNotIn applies the NotIn predicate on the "statuses_url" field.

func Title

func Title(v string) predicate.PullRequest

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.PullRequest

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.PullRequest

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.PullRequest

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.PullRequest

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.PullRequest

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.PullRequest

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.PullRequest

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.PullRequest

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.PullRequest

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.PullRequest

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.PullRequest

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.PullRequest

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.PullRequest

TitleNotIn applies the NotIn predicate on the "title" field.

func URL

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.PullRequest

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.PullRequest

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.PullRequest

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.PullRequest

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.PullRequest

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.PullRequest

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.PullRequest

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.PullRequest

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.PullRequest

URLIn applies the In predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.PullRequest

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.PullRequest

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.PullRequest

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.PullRequest

URLNotIn applies the NotIn predicate on the "url" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.PullRequest

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.PullRequest

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.PullRequest

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.PullRequest

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.PullRequest

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.PullRequest

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.PullRequest

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.PullRequest

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.PullRequest

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 PullRequest queries.

func ByAssignees

func ByAssignees(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAssignees orders the results by assignees terms.

func ByAssigneesCount

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

ByAssigneesCount orders the results by assignees count.

func ByAuthorAssociation

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

ByAuthorAssociation orders the results by the author_association field.

func ByBody

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

ByBody orders the results by the body field.

func ByClosedAt

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

ByClosedAt orders the results by the closed_at field.

func ByCommentsURL

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

ByCommentsURL orders the results by the comments_url field.

func ByCommitsURL

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

ByCommitsURL orders the results by the commits_url field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDiffURL

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

ByDiffURL orders the results by the diff_url field.

func ByDraft

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

ByDraft orders the results by the draft field.

func ByHTMLURL

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

ByHTMLURL orders the results by the html_url field.

func ByID

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

ByID orders the results by the id field.

func ByIssueField

func ByIssueField(field string, opts ...sql.OrderTermOption) OrderOption

ByIssueField orders the results by issue field.

func ByIssueURL

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

ByIssueURL orders the results by the issue_url field.

func ByLocked

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

ByLocked orders the results by the locked field.

func ByMergeCommitSha

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

ByMergeCommitSha orders the results by the merge_commit_sha field.

func ByMergedAt

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

ByMergedAt orders the results by the merged_at field.

func ByNodeID

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

ByNodeID orders the results by the node_id field.

func ByNumber

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

ByNumber orders the results by the number field.

func ByPatchURL

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

ByPatchURL orders the results by the patch_url field.

func ByRepositoryField

func ByRepositoryField(field string, opts ...sql.OrderTermOption) OrderOption

ByRepositoryField orders the results by repository field.

func ByRequestedReviewers

func ByRequestedReviewers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRequestedReviewers orders the results by requested_reviewers terms.

func ByRequestedReviewersCount

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

ByRequestedReviewersCount orders the results by requested_reviewers count.

func ByReviewCommentURL

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

ByReviewCommentURL orders the results by the review_comment_url field.

func ByReviewCommentsURL

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

ByReviewCommentsURL orders the results by the review_comments_url field.

func ByState

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

ByState orders the results by the state field.

func ByStatusesURL

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

ByStatusesURL orders the results by the statuses_url field.

func ByTitle

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

ByTitle orders the results by the title field.

func ByURL

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

ByURL orders the results by the url field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUserField

func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption

ByUserField orders the results by user field.

type State

type State string

State defines the type for the "state" enum field.

const (
	StateOpen   State = "open"
	StateClosed State = "closed"
)

State values.

func (State) String

func (s State) String() string

Jump to

Keyboard shortcuts

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