Documentation ¶
Index ¶
- Constants
- Variables
- func ActiveLockReason(v string) predicate.Issue
- func ActiveLockReasonContains(v string) predicate.Issue
- func ActiveLockReasonContainsFold(v string) predicate.Issue
- func ActiveLockReasonEQ(v string) predicate.Issue
- func ActiveLockReasonEqualFold(v string) predicate.Issue
- func ActiveLockReasonGT(v string) predicate.Issue
- func ActiveLockReasonGTE(v string) predicate.Issue
- func ActiveLockReasonHasPrefix(v string) predicate.Issue
- func ActiveLockReasonHasSuffix(v string) predicate.Issue
- func ActiveLockReasonIn(vs ...string) predicate.Issue
- func ActiveLockReasonIsNil() predicate.Issue
- func ActiveLockReasonLT(v string) predicate.Issue
- func ActiveLockReasonLTE(v string) predicate.Issue
- func ActiveLockReasonNEQ(v string) predicate.Issue
- func ActiveLockReasonNotIn(vs ...string) predicate.Issue
- func ActiveLockReasonNotNil() predicate.Issue
- func And(predicates ...predicate.Issue) predicate.Issue
- func AuthorAssociationEQ(v AuthorAssociation) predicate.Issue
- func AuthorAssociationIn(vs ...AuthorAssociation) predicate.Issue
- func AuthorAssociationNEQ(v AuthorAssociation) predicate.Issue
- func AuthorAssociationNotIn(vs ...AuthorAssociation) predicate.Issue
- func AuthorAssociationValidator(aa AuthorAssociation) error
- func Body(v string) predicate.Issue
- func BodyContains(v string) predicate.Issue
- func BodyContainsFold(v string) predicate.Issue
- func BodyEQ(v string) predicate.Issue
- func BodyEqualFold(v string) predicate.Issue
- func BodyGT(v string) predicate.Issue
- func BodyGTE(v string) predicate.Issue
- func BodyHasPrefix(v string) predicate.Issue
- func BodyHasSuffix(v string) predicate.Issue
- func BodyIn(vs ...string) predicate.Issue
- func BodyIsNil() predicate.Issue
- func BodyLT(v string) predicate.Issue
- func BodyLTE(v string) predicate.Issue
- func BodyNEQ(v string) predicate.Issue
- func BodyNotIn(vs ...string) predicate.Issue
- func BodyNotNil() predicate.Issue
- func ClosedAt(v time.Time) predicate.Issue
- func ClosedAtEQ(v time.Time) predicate.Issue
- func ClosedAtGT(v time.Time) predicate.Issue
- func ClosedAtGTE(v time.Time) predicate.Issue
- func ClosedAtIn(vs ...time.Time) predicate.Issue
- func ClosedAtIsNil() predicate.Issue
- func ClosedAtLT(v time.Time) predicate.Issue
- func ClosedAtLTE(v time.Time) predicate.Issue
- func ClosedAtNEQ(v time.Time) predicate.Issue
- func ClosedAtNotIn(vs ...time.Time) predicate.Issue
- func ClosedAtNotNil() predicate.Issue
- func CommentsURL(v string) predicate.Issue
- func CommentsURLContains(v string) predicate.Issue
- func CommentsURLContainsFold(v string) predicate.Issue
- func CommentsURLEQ(v string) predicate.Issue
- func CommentsURLEqualFold(v string) predicate.Issue
- func CommentsURLGT(v string) predicate.Issue
- func CommentsURLGTE(v string) predicate.Issue
- func CommentsURLHasPrefix(v string) predicate.Issue
- func CommentsURLHasSuffix(v string) predicate.Issue
- func CommentsURLIn(vs ...string) predicate.Issue
- func CommentsURLLT(v string) predicate.Issue
- func CommentsURLLTE(v string) predicate.Issue
- func CommentsURLNEQ(v string) predicate.Issue
- func CommentsURLNotIn(vs ...string) predicate.Issue
- func CreatedAt(v time.Time) predicate.Issue
- func CreatedAtEQ(v time.Time) predicate.Issue
- func CreatedAtGT(v time.Time) predicate.Issue
- func CreatedAtGTE(v time.Time) predicate.Issue
- func CreatedAtIn(vs ...time.Time) predicate.Issue
- func CreatedAtLT(v time.Time) predicate.Issue
- func CreatedAtLTE(v time.Time) predicate.Issue
- func CreatedAtNEQ(v time.Time) predicate.Issue
- func CreatedAtNotIn(vs ...time.Time) predicate.Issue
- func Draft(v bool) predicate.Issue
- func DraftEQ(v bool) predicate.Issue
- func DraftNEQ(v bool) predicate.Issue
- func EventsURL(v string) predicate.Issue
- func EventsURLContains(v string) predicate.Issue
- func EventsURLContainsFold(v string) predicate.Issue
- func EventsURLEQ(v string) predicate.Issue
- func EventsURLEqualFold(v string) predicate.Issue
- func EventsURLGT(v string) predicate.Issue
- func EventsURLGTE(v string) predicate.Issue
- func EventsURLHasPrefix(v string) predicate.Issue
- func EventsURLHasSuffix(v string) predicate.Issue
- func EventsURLIn(vs ...string) predicate.Issue
- func EventsURLLT(v string) predicate.Issue
- func EventsURLLTE(v string) predicate.Issue
- func EventsURLNEQ(v string) predicate.Issue
- func EventsURLNotIn(vs ...string) predicate.Issue
- func HTMLURL(v string) predicate.Issue
- func HTMLURLContains(v string) predicate.Issue
- func HTMLURLContainsFold(v string) predicate.Issue
- func HTMLURLEQ(v string) predicate.Issue
- func HTMLURLEqualFold(v string) predicate.Issue
- func HTMLURLGT(v string) predicate.Issue
- func HTMLURLGTE(v string) predicate.Issue
- func HTMLURLHasPrefix(v string) predicate.Issue
- func HTMLURLHasSuffix(v string) predicate.Issue
- func HTMLURLIn(vs ...string) predicate.Issue
- func HTMLURLLT(v string) predicate.Issue
- func HTMLURLLTE(v string) predicate.Issue
- func HTMLURLNEQ(v string) predicate.Issue
- func HTMLURLNotIn(vs ...string) predicate.Issue
- func HasAssignees() predicate.Issue
- func HasAssigneesWith(preds ...predicate.User) predicate.Issue
- func HasClosedBy() predicate.Issue
- func HasClosedByWith(preds ...predicate.User) predicate.Issue
- func HasComments() predicate.Issue
- func HasCommentsWith(preds ...predicate.IssueComment) predicate.Issue
- func HasRepository() predicate.Issue
- func HasRepositoryWith(preds ...predicate.Repository) predicate.Issue
- func HasUser() predicate.Issue
- func HasUserWith(preds ...predicate.User) predicate.Issue
- func ID(id int64) predicate.Issue
- func IDEQ(id int64) predicate.Issue
- func IDGT(id int64) predicate.Issue
- func IDGTE(id int64) predicate.Issue
- func IDIn(ids ...int64) predicate.Issue
- func IDLT(id int64) predicate.Issue
- func IDLTE(id int64) predicate.Issue
- func IDNEQ(id int64) predicate.Issue
- func IDNotIn(ids ...int64) predicate.Issue
- func LabelsURL(v string) predicate.Issue
- func LabelsURLContains(v string) predicate.Issue
- func LabelsURLContainsFold(v string) predicate.Issue
- func LabelsURLEQ(v string) predicate.Issue
- func LabelsURLEqualFold(v string) predicate.Issue
- func LabelsURLGT(v string) predicate.Issue
- func LabelsURLGTE(v string) predicate.Issue
- func LabelsURLHasPrefix(v string) predicate.Issue
- func LabelsURLHasSuffix(v string) predicate.Issue
- func LabelsURLIn(vs ...string) predicate.Issue
- func LabelsURLLT(v string) predicate.Issue
- func LabelsURLLTE(v string) predicate.Issue
- func LabelsURLNEQ(v string) predicate.Issue
- func LabelsURLNotIn(vs ...string) predicate.Issue
- func Locked(v bool) predicate.Issue
- func LockedEQ(v bool) predicate.Issue
- func LockedNEQ(v bool) predicate.Issue
- func NodeID(v string) predicate.Issue
- func NodeIDContains(v string) predicate.Issue
- func NodeIDContainsFold(v string) predicate.Issue
- func NodeIDEQ(v string) predicate.Issue
- func NodeIDEqualFold(v string) predicate.Issue
- func NodeIDGT(v string) predicate.Issue
- func NodeIDGTE(v string) predicate.Issue
- func NodeIDHasPrefix(v string) predicate.Issue
- func NodeIDHasSuffix(v string) predicate.Issue
- func NodeIDIn(vs ...string) predicate.Issue
- func NodeIDLT(v string) predicate.Issue
- func NodeIDLTE(v string) predicate.Issue
- func NodeIDNEQ(v string) predicate.Issue
- func NodeIDNotIn(vs ...string) predicate.Issue
- func Not(p predicate.Issue) predicate.Issue
- func Number(v int64) predicate.Issue
- func NumberEQ(v int64) predicate.Issue
- func NumberGT(v int64) predicate.Issue
- func NumberGTE(v int64) predicate.Issue
- func NumberIn(vs ...int64) predicate.Issue
- func NumberLT(v int64) predicate.Issue
- func NumberLTE(v int64) predicate.Issue
- func NumberNEQ(v int64) predicate.Issue
- func NumberNotIn(vs ...int64) predicate.Issue
- func Or(predicates ...predicate.Issue) predicate.Issue
- func RepositoryURL(v string) predicate.Issue
- func RepositoryURLContains(v string) predicate.Issue
- func RepositoryURLContainsFold(v string) predicate.Issue
- func RepositoryURLEQ(v string) predicate.Issue
- func RepositoryURLEqualFold(v string) predicate.Issue
- func RepositoryURLGT(v string) predicate.Issue
- func RepositoryURLGTE(v string) predicate.Issue
- func RepositoryURLHasPrefix(v string) predicate.Issue
- func RepositoryURLHasSuffix(v string) predicate.Issue
- func RepositoryURLIn(vs ...string) predicate.Issue
- func RepositoryURLLT(v string) predicate.Issue
- func RepositoryURLLTE(v string) predicate.Issue
- func RepositoryURLNEQ(v string) predicate.Issue
- func RepositoryURLNotIn(vs ...string) predicate.Issue
- func State(v string) predicate.Issue
- func StateContains(v string) predicate.Issue
- func StateContainsFold(v string) predicate.Issue
- func StateEQ(v string) predicate.Issue
- func StateEqualFold(v string) predicate.Issue
- func StateGT(v string) predicate.Issue
- func StateGTE(v string) predicate.Issue
- func StateHasPrefix(v string) predicate.Issue
- func StateHasSuffix(v string) predicate.Issue
- func StateIn(vs ...string) predicate.Issue
- func StateLT(v string) predicate.Issue
- func StateLTE(v string) predicate.Issue
- func StateNEQ(v string) predicate.Issue
- func StateNotIn(vs ...string) predicate.Issue
- func StateReasonEQ(v StateReason) predicate.Issue
- func StateReasonIn(vs ...StateReason) predicate.Issue
- func StateReasonIsNil() predicate.Issue
- func StateReasonNEQ(v StateReason) predicate.Issue
- func StateReasonNotIn(vs ...StateReason) predicate.Issue
- func StateReasonNotNil() predicate.Issue
- func StateReasonValidator(sr StateReason) error
- func Title(v string) predicate.Issue
- func TitleContains(v string) predicate.Issue
- func TitleContainsFold(v string) predicate.Issue
- func TitleEQ(v string) predicate.Issue
- func TitleEqualFold(v string) predicate.Issue
- func TitleGT(v string) predicate.Issue
- func TitleGTE(v string) predicate.Issue
- func TitleHasPrefix(v string) predicate.Issue
- func TitleHasSuffix(v string) predicate.Issue
- func TitleIn(vs ...string) predicate.Issue
- func TitleLT(v string) predicate.Issue
- func TitleLTE(v string) predicate.Issue
- func TitleNEQ(v string) predicate.Issue
- func TitleNotIn(vs ...string) predicate.Issue
- func URL(v string) predicate.Issue
- func URLContains(v string) predicate.Issue
- func URLContainsFold(v string) predicate.Issue
- func URLEQ(v string) predicate.Issue
- func URLEqualFold(v string) predicate.Issue
- func URLGT(v string) predicate.Issue
- func URLGTE(v string) predicate.Issue
- func URLHasPrefix(v string) predicate.Issue
- func URLHasSuffix(v string) predicate.Issue
- func URLIn(vs ...string) predicate.Issue
- func URLLT(v string) predicate.Issue
- func URLLTE(v string) predicate.Issue
- func URLNEQ(v string) predicate.Issue
- func URLNotIn(vs ...string) predicate.Issue
- func UpdatedAt(v time.Time) predicate.Issue
- func UpdatedAtEQ(v time.Time) predicate.Issue
- func UpdatedAtGT(v time.Time) predicate.Issue
- func UpdatedAtGTE(v time.Time) predicate.Issue
- func UpdatedAtIn(vs ...time.Time) predicate.Issue
- func UpdatedAtLT(v time.Time) predicate.Issue
- func UpdatedAtLTE(v time.Time) predicate.Issue
- func UpdatedAtNEQ(v time.Time) predicate.Issue
- func UpdatedAtNotIn(vs ...time.Time) predicate.Issue
- func ValidColumn(column string) bool
- type AuthorAssociation
- type OrderOption
- func ByActiveLockReason(opts ...sql.OrderTermOption) OrderOption
- func ByAssignees(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAssigneesCount(opts ...sql.OrderTermOption) OrderOption
- func ByAuthorAssociation(opts ...sql.OrderTermOption) OrderOption
- func ByBody(opts ...sql.OrderTermOption) OrderOption
- func ByClosedAt(opts ...sql.OrderTermOption) OrderOption
- func ByClosedByField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCommentsURL(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDraft(opts ...sql.OrderTermOption) OrderOption
- func ByEventsURL(opts ...sql.OrderTermOption) OrderOption
- func ByHTMLURL(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLabelsURL(opts ...sql.OrderTermOption) OrderOption
- func ByLocked(opts ...sql.OrderTermOption) OrderOption
- func ByNodeID(opts ...sql.OrderTermOption) OrderOption
- func ByNumber(opts ...sql.OrderTermOption) OrderOption
- func ByRepositoryField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRepositoryURL(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByStateReason(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByURL(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- type StateReason
Constants ¶
const ( // Label holds the string label denoting the issue type in the database. Label = "issue" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNodeID holds the string denoting the node_id field in the database. FieldNodeID = "node_id" // FieldURL holds the string denoting the url field in the database. FieldURL = "url" // FieldRepositoryURL holds the string denoting the repository_url field in the database. FieldRepositoryURL = "repository_url" // FieldLabelsURL holds the string denoting the labels_url field in the database. FieldLabelsURL = "labels_url" // FieldCommentsURL holds the string denoting the comments_url field in the database. FieldCommentsURL = "comments_url" // FieldEventsURL holds the string denoting the events_url field in the database. FieldEventsURL = "events_url" // FieldHTMLURL holds the string denoting the html_url field in the database. FieldHTMLURL = "html_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" // FieldStateReason holds the string denoting the state_reason field in the database. FieldStateReason = "state_reason" // 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" // FieldLocked holds the string denoting the locked field in the database. FieldLocked = "locked" // FieldActiveLockReason holds the string denoting the active_lock_reason field in the database. FieldActiveLockReason = "active_lock_reason" // FieldClosedAt holds the string denoting the closed_at field in the database. FieldClosedAt = "closed_at" // 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" // 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" // FieldReactions holds the string denoting the reactions field in the database. FieldReactions = "reactions" // EdgeRepository holds the string denoting the repository edge name in mutations. EdgeRepository = "repository" // 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" // EdgeClosedBy holds the string denoting the closed_by edge name in mutations. EdgeClosedBy = "closed_by" // EdgeComments holds the string denoting the comments edge name in mutations. EdgeComments = "comments" // Table holds the table name of the issue in the database. Table = "issues" // RepositoryTable is the table that holds the repository relation/edge. RepositoryTable = "issues" // 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_issues" // UserTable is the table that holds the user relation/edge. UserTable = "issues" // 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_issues_created" // AssigneesTable is the table that holds the assignees relation/edge. The primary key declared below. AssigneesTable = "issue_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" // ClosedByTable is the table that holds the closed_by relation/edge. ClosedByTable = "issues" // ClosedByInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. ClosedByInverseTable = "users" // ClosedByColumn is the table column denoting the closed_by relation/edge. ClosedByColumn = "issue_closed_by" // CommentsTable is the table that holds the comments relation/edge. CommentsTable = "issue_comments" // CommentsInverseTable is the table name for the IssueComment entity. // It exists in this package in order to avoid circular dependency with the "issuecomment" package. CommentsInverseTable = "issue_comments" // CommentsColumn is the table column denoting the comments relation/edge. CommentsColumn = "issue_comments" )
Variables ¶
var ( // AssigneesPrimaryKey and AssigneesColumn2 are the table columns denoting the // primary key for the assignees relation (M2M). AssigneesPrimaryKey = []string{"issue_id", "user_id"} )
var Columns = []string{ FieldID, FieldNodeID, FieldURL, FieldRepositoryURL, FieldLabelsURL, FieldCommentsURL, FieldEventsURL, FieldHTMLURL, FieldNumber, FieldState, FieldStateReason, FieldTitle, FieldBody, FieldLocked, FieldActiveLockReason, FieldClosedAt, FieldCreatedAt, FieldUpdatedAt, FieldDraft, FieldAuthorAssociation, FieldReactions, }
Columns holds all SQL columns for issue fields.
var ForeignKeys = []string{
"issue_closed_by",
"repository_issues",
"user_issues_created",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "issues" table and are not defined as standalone fields in the schema.
Functions ¶
func ActiveLockReason ¶
ActiveLockReason applies equality check predicate on the "active_lock_reason" field. It's identical to ActiveLockReasonEQ.
func ActiveLockReasonContains ¶
ActiveLockReasonContains applies the Contains predicate on the "active_lock_reason" field.
func ActiveLockReasonContainsFold ¶
ActiveLockReasonContainsFold applies the ContainsFold predicate on the "active_lock_reason" field.
func ActiveLockReasonEQ ¶
ActiveLockReasonEQ applies the EQ predicate on the "active_lock_reason" field.
func ActiveLockReasonEqualFold ¶
ActiveLockReasonEqualFold applies the EqualFold predicate on the "active_lock_reason" field.
func ActiveLockReasonGT ¶
ActiveLockReasonGT applies the GT predicate on the "active_lock_reason" field.
func ActiveLockReasonGTE ¶
ActiveLockReasonGTE applies the GTE predicate on the "active_lock_reason" field.
func ActiveLockReasonHasPrefix ¶
ActiveLockReasonHasPrefix applies the HasPrefix predicate on the "active_lock_reason" field.
func ActiveLockReasonHasSuffix ¶
ActiveLockReasonHasSuffix applies the HasSuffix predicate on the "active_lock_reason" field.
func ActiveLockReasonIn ¶
ActiveLockReasonIn applies the In predicate on the "active_lock_reason" field.
func ActiveLockReasonIsNil ¶
ActiveLockReasonIsNil applies the IsNil predicate on the "active_lock_reason" field.
func ActiveLockReasonLT ¶
ActiveLockReasonLT applies the LT predicate on the "active_lock_reason" field.
func ActiveLockReasonLTE ¶
ActiveLockReasonLTE applies the LTE predicate on the "active_lock_reason" field.
func ActiveLockReasonNEQ ¶
ActiveLockReasonNEQ applies the NEQ predicate on the "active_lock_reason" field.
func ActiveLockReasonNotIn ¶
ActiveLockReasonNotIn applies the NotIn predicate on the "active_lock_reason" field.
func ActiveLockReasonNotNil ¶
ActiveLockReasonNotNil applies the NotNil predicate on the "active_lock_reason" field.
func AuthorAssociationEQ ¶
func AuthorAssociationEQ(v AuthorAssociation) predicate.Issue
AuthorAssociationEQ applies the EQ predicate on the "author_association" field.
func AuthorAssociationIn ¶
func AuthorAssociationIn(vs ...AuthorAssociation) predicate.Issue
AuthorAssociationIn applies the In predicate on the "author_association" field.
func AuthorAssociationNEQ ¶
func AuthorAssociationNEQ(v AuthorAssociation) predicate.Issue
AuthorAssociationNEQ applies the NEQ predicate on the "author_association" field.
func AuthorAssociationNotIn ¶
func AuthorAssociationNotIn(vs ...AuthorAssociation) predicate.Issue
AuthorAssociationNotIn applies the NotIn predicate on the "author_association" field.
func AuthorAssociationValidator ¶
func AuthorAssociationValidator(aa AuthorAssociation) error
AuthorAssociationValidator is a validator for the "author_association" field enum values. It is called by the builders before save.
func BodyContains ¶
BodyContains applies the Contains predicate on the "body" field.
func BodyContainsFold ¶
BodyContainsFold applies the ContainsFold predicate on the "body" field.
func BodyEqualFold ¶
BodyEqualFold applies the EqualFold predicate on the "body" field.
func BodyHasPrefix ¶
BodyHasPrefix applies the HasPrefix predicate on the "body" field.
func BodyHasSuffix ¶
BodyHasSuffix applies the HasSuffix predicate on the "body" field.
func BodyNotNil ¶
BodyNotNil applies the NotNil predicate on the "body" field.
func ClosedAt ¶
ClosedAt applies equality check predicate on the "closed_at" field. It's identical to ClosedAtEQ.
func ClosedAtEQ ¶
ClosedAtEQ applies the EQ predicate on the "closed_at" field.
func ClosedAtGT ¶
ClosedAtGT applies the GT predicate on the "closed_at" field.
func ClosedAtGTE ¶
ClosedAtGTE applies the GTE predicate on the "closed_at" field.
func ClosedAtIn ¶
ClosedAtIn applies the In predicate on the "closed_at" field.
func ClosedAtIsNil ¶
ClosedAtIsNil applies the IsNil predicate on the "closed_at" field.
func ClosedAtLT ¶
ClosedAtLT applies the LT predicate on the "closed_at" field.
func ClosedAtLTE ¶
ClosedAtLTE applies the LTE predicate on the "closed_at" field.
func ClosedAtNEQ ¶
ClosedAtNEQ applies the NEQ predicate on the "closed_at" field.
func ClosedAtNotIn ¶
ClosedAtNotIn applies the NotIn predicate on the "closed_at" field.
func ClosedAtNotNil ¶
ClosedAtNotNil applies the NotNil predicate on the "closed_at" field.
func CommentsURL ¶
CommentsURL applies equality check predicate on the "comments_url" field. It's identical to CommentsURLEQ.
func CommentsURLContains ¶
CommentsURLContains applies the Contains predicate on the "comments_url" field.
func CommentsURLContainsFold ¶
CommentsURLContainsFold applies the ContainsFold predicate on the "comments_url" field.
func CommentsURLEQ ¶
CommentsURLEQ applies the EQ predicate on the "comments_url" field.
func CommentsURLEqualFold ¶
CommentsURLEqualFold applies the EqualFold predicate on the "comments_url" field.
func CommentsURLGT ¶
CommentsURLGT applies the GT predicate on the "comments_url" field.
func CommentsURLGTE ¶
CommentsURLGTE applies the GTE predicate on the "comments_url" field.
func CommentsURLHasPrefix ¶
CommentsURLHasPrefix applies the HasPrefix predicate on the "comments_url" field.
func CommentsURLHasSuffix ¶
CommentsURLHasSuffix applies the HasSuffix predicate on the "comments_url" field.
func CommentsURLIn ¶
CommentsURLIn applies the In predicate on the "comments_url" field.
func CommentsURLLT ¶
CommentsURLLT applies the LT predicate on the "comments_url" field.
func CommentsURLLTE ¶
CommentsURLLTE applies the LTE predicate on the "comments_url" field.
func CommentsURLNEQ ¶
CommentsURLNEQ applies the NEQ predicate on the "comments_url" field.
func CommentsURLNotIn ¶
CommentsURLNotIn applies the NotIn predicate on the "comments_url" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Draft ¶
Draft applies equality check predicate on the "draft" field. It's identical to DraftEQ.
func EventsURL ¶
EventsURL applies equality check predicate on the "events_url" field. It's identical to EventsURLEQ.
func EventsURLContains ¶
EventsURLContains applies the Contains predicate on the "events_url" field.
func EventsURLContainsFold ¶
EventsURLContainsFold applies the ContainsFold predicate on the "events_url" field.
func EventsURLEQ ¶
EventsURLEQ applies the EQ predicate on the "events_url" field.
func EventsURLEqualFold ¶
EventsURLEqualFold applies the EqualFold predicate on the "events_url" field.
func EventsURLGT ¶
EventsURLGT applies the GT predicate on the "events_url" field.
func EventsURLGTE ¶
EventsURLGTE applies the GTE predicate on the "events_url" field.
func EventsURLHasPrefix ¶
EventsURLHasPrefix applies the HasPrefix predicate on the "events_url" field.
func EventsURLHasSuffix ¶
EventsURLHasSuffix applies the HasSuffix predicate on the "events_url" field.
func EventsURLIn ¶
EventsURLIn applies the In predicate on the "events_url" field.
func EventsURLLT ¶
EventsURLLT applies the LT predicate on the "events_url" field.
func EventsURLLTE ¶
EventsURLLTE applies the LTE predicate on the "events_url" field.
func EventsURLNEQ ¶
EventsURLNEQ applies the NEQ predicate on the "events_url" field.
func EventsURLNotIn ¶
EventsURLNotIn applies the NotIn predicate on the "events_url" field.
func HTMLURL ¶
HTMLURL applies equality check predicate on the "html_url" field. It's identical to HTMLURLEQ.
func HTMLURLContains ¶
HTMLURLContains applies the Contains predicate on the "html_url" field.
func HTMLURLContainsFold ¶
HTMLURLContainsFold applies the ContainsFold predicate on the "html_url" field.
func HTMLURLEqualFold ¶
HTMLURLEqualFold applies the EqualFold predicate on the "html_url" field.
func HTMLURLGTE ¶
HTMLURLGTE applies the GTE predicate on the "html_url" field.
func HTMLURLHasPrefix ¶
HTMLURLHasPrefix applies the HasPrefix predicate on the "html_url" field.
func HTMLURLHasSuffix ¶
HTMLURLHasSuffix applies the HasSuffix predicate on the "html_url" field.
func HTMLURLLTE ¶
HTMLURLLTE applies the LTE predicate on the "html_url" field.
func HTMLURLNEQ ¶
HTMLURLNEQ applies the NEQ predicate on the "html_url" field.
func HTMLURLNotIn ¶
HTMLURLNotIn applies the NotIn predicate on the "html_url" field.
func HasAssignees ¶
HasAssignees applies the HasEdge predicate on the "assignees" edge.
func HasAssigneesWith ¶
HasAssigneesWith applies the HasEdge predicate on the "assignees" edge with a given conditions (other predicates).
func HasClosedBy ¶
HasClosedBy applies the HasEdge predicate on the "closed_by" edge.
func HasClosedByWith ¶
HasClosedByWith applies the HasEdge predicate on the "closed_by" edge with a given conditions (other predicates).
func HasComments ¶
HasComments applies the HasEdge predicate on the "comments" edge.
func HasCommentsWith ¶
func HasCommentsWith(preds ...predicate.IssueComment) predicate.Issue
HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).
func HasRepository ¶
HasRepository applies the HasEdge predicate on the "repository" edge.
func HasRepositoryWith ¶
func HasRepositoryWith(preds ...predicate.Repository) predicate.Issue
HasRepositoryWith applies the HasEdge predicate on the "repository" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func LabelsURL ¶
LabelsURL applies equality check predicate on the "labels_url" field. It's identical to LabelsURLEQ.
func LabelsURLContains ¶
LabelsURLContains applies the Contains predicate on the "labels_url" field.
func LabelsURLContainsFold ¶
LabelsURLContainsFold applies the ContainsFold predicate on the "labels_url" field.
func LabelsURLEQ ¶
LabelsURLEQ applies the EQ predicate on the "labels_url" field.
func LabelsURLEqualFold ¶
LabelsURLEqualFold applies the EqualFold predicate on the "labels_url" field.
func LabelsURLGT ¶
LabelsURLGT applies the GT predicate on the "labels_url" field.
func LabelsURLGTE ¶
LabelsURLGTE applies the GTE predicate on the "labels_url" field.
func LabelsURLHasPrefix ¶
LabelsURLHasPrefix applies the HasPrefix predicate on the "labels_url" field.
func LabelsURLHasSuffix ¶
LabelsURLHasSuffix applies the HasSuffix predicate on the "labels_url" field.
func LabelsURLIn ¶
LabelsURLIn applies the In predicate on the "labels_url" field.
func LabelsURLLT ¶
LabelsURLLT applies the LT predicate on the "labels_url" field.
func LabelsURLLTE ¶
LabelsURLLTE applies the LTE predicate on the "labels_url" field.
func LabelsURLNEQ ¶
LabelsURLNEQ applies the NEQ predicate on the "labels_url" field.
func LabelsURLNotIn ¶
LabelsURLNotIn applies the NotIn predicate on the "labels_url" field.
func Locked ¶
Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.
func NodeID ¶
NodeID applies equality check predicate on the "node_id" field. It's identical to NodeIDEQ.
func NodeIDContains ¶
NodeIDContains applies the Contains predicate on the "node_id" field.
func NodeIDContainsFold ¶
NodeIDContainsFold applies the ContainsFold predicate on the "node_id" field.
func NodeIDEqualFold ¶
NodeIDEqualFold applies the EqualFold predicate on the "node_id" field.
func NodeIDHasPrefix ¶
NodeIDHasPrefix applies the HasPrefix predicate on the "node_id" field.
func NodeIDHasSuffix ¶
NodeIDHasSuffix applies the HasSuffix predicate on the "node_id" field.
func NodeIDNotIn ¶
NodeIDNotIn applies the NotIn predicate on the "node_id" field.
func Number ¶
Number applies equality check predicate on the "number" field. It's identical to NumberEQ.
func NumberNotIn ¶
NumberNotIn applies the NotIn predicate on the "number" field.
func RepositoryURL ¶
RepositoryURL applies equality check predicate on the "repository_url" field. It's identical to RepositoryURLEQ.
func RepositoryURLContains ¶
RepositoryURLContains applies the Contains predicate on the "repository_url" field.
func RepositoryURLContainsFold ¶
RepositoryURLContainsFold applies the ContainsFold predicate on the "repository_url" field.
func RepositoryURLEQ ¶
RepositoryURLEQ applies the EQ predicate on the "repository_url" field.
func RepositoryURLEqualFold ¶
RepositoryURLEqualFold applies the EqualFold predicate on the "repository_url" field.
func RepositoryURLGT ¶
RepositoryURLGT applies the GT predicate on the "repository_url" field.
func RepositoryURLGTE ¶
RepositoryURLGTE applies the GTE predicate on the "repository_url" field.
func RepositoryURLHasPrefix ¶
RepositoryURLHasPrefix applies the HasPrefix predicate on the "repository_url" field.
func RepositoryURLHasSuffix ¶
RepositoryURLHasSuffix applies the HasSuffix predicate on the "repository_url" field.
func RepositoryURLIn ¶
RepositoryURLIn applies the In predicate on the "repository_url" field.
func RepositoryURLLT ¶
RepositoryURLLT applies the LT predicate on the "repository_url" field.
func RepositoryURLLTE ¶
RepositoryURLLTE applies the LTE predicate on the "repository_url" field.
func RepositoryURLNEQ ¶
RepositoryURLNEQ applies the NEQ predicate on the "repository_url" field.
func RepositoryURLNotIn ¶
RepositoryURLNotIn applies the NotIn predicate on the "repository_url" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateContains ¶
StateContains applies the Contains predicate on the "state" field.
func StateContainsFold ¶
StateContainsFold applies the ContainsFold predicate on the "state" field.
func StateEqualFold ¶
StateEqualFold applies the EqualFold predicate on the "state" field.
func StateHasPrefix ¶
StateHasPrefix applies the HasPrefix predicate on the "state" field.
func StateHasSuffix ¶
StateHasSuffix applies the HasSuffix predicate on the "state" field.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" field.
func StateReasonEQ ¶
func StateReasonEQ(v StateReason) predicate.Issue
StateReasonEQ applies the EQ predicate on the "state_reason" field.
func StateReasonIn ¶
func StateReasonIn(vs ...StateReason) predicate.Issue
StateReasonIn applies the In predicate on the "state_reason" field.
func StateReasonIsNil ¶
StateReasonIsNil applies the IsNil predicate on the "state_reason" field.
func StateReasonNEQ ¶
func StateReasonNEQ(v StateReason) predicate.Issue
StateReasonNEQ applies the NEQ predicate on the "state_reason" field.
func StateReasonNotIn ¶
func StateReasonNotIn(vs ...StateReason) predicate.Issue
StateReasonNotIn applies the NotIn predicate on the "state_reason" field.
func StateReasonNotNil ¶
StateReasonNotNil applies the NotNil predicate on the "state_reason" field.
func StateReasonValidator ¶
func StateReasonValidator(sr StateReason) error
StateReasonValidator is a validator for the "state_reason" field enum values. It is called by the builders before save.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func URLContains ¶
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEqualFold ¶
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLHasPrefix ¶
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type AuthorAssociation ¶
type AuthorAssociation string
AuthorAssociation defines the type for the "author_association" enum field.
const ( AuthorAssociationCOLLABORATOR AuthorAssociation = "COLLABORATOR" AuthorAssociationCONTRIBUTOR AuthorAssociation = "CONTRIBUTOR" AuthorAssociationFIRST_TIMER AuthorAssociation = "FIRST_TIMER" AuthorAssociationFIRST_TIME_CONTRIBUTOR AuthorAssociation = "FIRST_TIME_CONTRIBUTOR" AuthorAssociationMANNEQUIN AuthorAssociation = "MANNEQUIN" AuthorAssociationMEMBER AuthorAssociation = "MEMBER" AuthorAssociationNONE AuthorAssociation = "NONE" AuthorAssociationOWNER AuthorAssociation = "OWNER" )
AuthorAssociation values.
func (AuthorAssociation) String ¶
func (aa AuthorAssociation) String() string
type OrderOption ¶
OrderOption defines the ordering options for the Issue queries.
func ByActiveLockReason ¶
func ByActiveLockReason(opts ...sql.OrderTermOption) OrderOption
ByActiveLockReason orders the results by the active_lock_reason field.
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 ByClosedByField ¶
func ByClosedByField(field string, opts ...sql.OrderTermOption) OrderOption
ByClosedByField orders the results by closed_by field.
func ByComments ¶
func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByComments orders the results by comments terms.
func ByCommentsCount ¶
func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption
ByCommentsCount orders the results by comments count.
func ByCommentsURL ¶
func ByCommentsURL(opts ...sql.OrderTermOption) OrderOption
ByCommentsURL orders the results by the comments_url field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDraft ¶
func ByDraft(opts ...sql.OrderTermOption) OrderOption
ByDraft orders the results by the draft field.
func ByEventsURL ¶
func ByEventsURL(opts ...sql.OrderTermOption) OrderOption
ByEventsURL orders the results by the events_url 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 ByLabelsURL ¶
func ByLabelsURL(opts ...sql.OrderTermOption) OrderOption
ByLabelsURL orders the results by the labels_url field.
func ByLocked ¶
func ByLocked(opts ...sql.OrderTermOption) OrderOption
ByLocked orders the results by the locked 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 ByRepositoryField ¶
func ByRepositoryField(field string, opts ...sql.OrderTermOption) OrderOption
ByRepositoryField orders the results by repository field.
func ByRepositoryURL ¶
func ByRepositoryURL(opts ...sql.OrderTermOption) OrderOption
ByRepositoryURL orders the results by the repository_url field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state field.
func ByStateReason ¶
func ByStateReason(opts ...sql.OrderTermOption) OrderOption
ByStateReason orders the results by the state_reason 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 StateReason ¶
type StateReason string
StateReason defines the type for the "state_reason" enum field.
const ( StateReasonCompleted StateReason = "completed" StateReasonReopened StateReason = "reopened" StateReasonNotPlanned StateReason = "not_planned" )
StateReason values.
func (StateReason) String ¶
func (sr StateReason) String() string