Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProjectIssue) predicate.ProjectIssue
- func AssigneeID(v uuid.UUID) predicate.ProjectIssue
- func AssigneeIDEQ(v uuid.UUID) predicate.ProjectIssue
- func AssigneeIDIn(vs ...uuid.UUID) predicate.ProjectIssue
- func AssigneeIDIsNil() predicate.ProjectIssue
- func AssigneeIDNEQ(v uuid.UUID) predicate.ProjectIssue
- func AssigneeIDNotIn(vs ...uuid.UUID) predicate.ProjectIssue
- func AssigneeIDNotNil() predicate.ProjectIssue
- func CreatedAt(v time.Time) predicate.ProjectIssue
- func CreatedAtEQ(v time.Time) predicate.ProjectIssue
- func CreatedAtGT(v time.Time) predicate.ProjectIssue
- func CreatedAtGTE(v time.Time) predicate.ProjectIssue
- func CreatedAtIn(vs ...time.Time) predicate.ProjectIssue
- func CreatedAtLT(v time.Time) predicate.ProjectIssue
- func CreatedAtLTE(v time.Time) predicate.ProjectIssue
- func CreatedAtNEQ(v time.Time) predicate.ProjectIssue
- func CreatedAtNotIn(vs ...time.Time) predicate.ProjectIssue
- func DeletedAt(v time.Time) predicate.ProjectIssue
- func DeletedAtEQ(v time.Time) predicate.ProjectIssue
- func DeletedAtGT(v time.Time) predicate.ProjectIssue
- func DeletedAtGTE(v time.Time) predicate.ProjectIssue
- func DeletedAtIn(vs ...time.Time) predicate.ProjectIssue
- func DeletedAtIsNil() predicate.ProjectIssue
- func DeletedAtLT(v time.Time) predicate.ProjectIssue
- func DeletedAtLTE(v time.Time) predicate.ProjectIssue
- func DeletedAtNEQ(v time.Time) predicate.ProjectIssue
- func DeletedAtNotIn(vs ...time.Time) predicate.ProjectIssue
- func DeletedAtNotNil() predicate.ProjectIssue
- func DesignDocument(v string) predicate.ProjectIssue
- func DesignDocumentContains(v string) predicate.ProjectIssue
- func DesignDocumentContainsFold(v string) predicate.ProjectIssue
- func DesignDocumentEQ(v string) predicate.ProjectIssue
- func DesignDocumentEqualFold(v string) predicate.ProjectIssue
- func DesignDocumentGT(v string) predicate.ProjectIssue
- func DesignDocumentGTE(v string) predicate.ProjectIssue
- func DesignDocumentHasPrefix(v string) predicate.ProjectIssue
- func DesignDocumentHasSuffix(v string) predicate.ProjectIssue
- func DesignDocumentIn(vs ...string) predicate.ProjectIssue
- func DesignDocumentIsNil() predicate.ProjectIssue
- func DesignDocumentLT(v string) predicate.ProjectIssue
- func DesignDocumentLTE(v string) predicate.ProjectIssue
- func DesignDocumentNEQ(v string) predicate.ProjectIssue
- func DesignDocumentNotIn(vs ...string) predicate.ProjectIssue
- func DesignDocumentNotNil() predicate.ProjectIssue
- func HasAssignee() predicate.ProjectIssue
- func HasAssigneeWith(preds ...predicate.User) predicate.ProjectIssue
- func HasComments() predicate.ProjectIssue
- func HasCommentsWith(preds ...predicate.ProjectIssueComment) predicate.ProjectIssue
- func HasProject() predicate.ProjectIssue
- func HasProjectTasks() predicate.ProjectIssue
- func HasProjectTasksWith(preds ...predicate.ProjectTask) predicate.ProjectIssue
- func HasProjectWith(preds ...predicate.Project) predicate.ProjectIssue
- func HasUser() predicate.ProjectIssue
- func HasUserWith(preds ...predicate.User) predicate.ProjectIssue
- func ID(id uuid.UUID) predicate.ProjectIssue
- func IDEQ(id uuid.UUID) predicate.ProjectIssue
- func IDGT(id uuid.UUID) predicate.ProjectIssue
- func IDGTE(id uuid.UUID) predicate.ProjectIssue
- func IDIn(ids ...uuid.UUID) predicate.ProjectIssue
- func IDLT(id uuid.UUID) predicate.ProjectIssue
- func IDLTE(id uuid.UUID) predicate.ProjectIssue
- func IDNEQ(id uuid.UUID) predicate.ProjectIssue
- func IDNotIn(ids ...uuid.UUID) predicate.ProjectIssue
- func Not(p predicate.ProjectIssue) predicate.ProjectIssue
- func Or(predicates ...predicate.ProjectIssue) predicate.ProjectIssue
- func Priority(v consts.ProjectIssuePriority) predicate.ProjectIssue
- func PriorityEQ(v consts.ProjectIssuePriority) predicate.ProjectIssue
- func PriorityGT(v consts.ProjectIssuePriority) predicate.ProjectIssue
- func PriorityGTE(v consts.ProjectIssuePriority) predicate.ProjectIssue
- func PriorityIn(vs ...consts.ProjectIssuePriority) predicate.ProjectIssue
- func PriorityLT(v consts.ProjectIssuePriority) predicate.ProjectIssue
- func PriorityLTE(v consts.ProjectIssuePriority) predicate.ProjectIssue
- func PriorityNEQ(v consts.ProjectIssuePriority) predicate.ProjectIssue
- func PriorityNotIn(vs ...consts.ProjectIssuePriority) predicate.ProjectIssue
- func ProjectID(v uuid.UUID) predicate.ProjectIssue
- func ProjectIDEQ(v uuid.UUID) predicate.ProjectIssue
- func ProjectIDIn(vs ...uuid.UUID) predicate.ProjectIssue
- func ProjectIDNEQ(v uuid.UUID) predicate.ProjectIssue
- func ProjectIDNotIn(vs ...uuid.UUID) predicate.ProjectIssue
- func RequirementDocument(v string) predicate.ProjectIssue
- func RequirementDocumentContains(v string) predicate.ProjectIssue
- func RequirementDocumentContainsFold(v string) predicate.ProjectIssue
- func RequirementDocumentEQ(v string) predicate.ProjectIssue
- func RequirementDocumentEqualFold(v string) predicate.ProjectIssue
- func RequirementDocumentGT(v string) predicate.ProjectIssue
- func RequirementDocumentGTE(v string) predicate.ProjectIssue
- func RequirementDocumentHasPrefix(v string) predicate.ProjectIssue
- func RequirementDocumentHasSuffix(v string) predicate.ProjectIssue
- func RequirementDocumentIn(vs ...string) predicate.ProjectIssue
- func RequirementDocumentIsNil() predicate.ProjectIssue
- func RequirementDocumentLT(v string) predicate.ProjectIssue
- func RequirementDocumentLTE(v string) predicate.ProjectIssue
- func RequirementDocumentNEQ(v string) predicate.ProjectIssue
- func RequirementDocumentNotIn(vs ...string) predicate.ProjectIssue
- func RequirementDocumentNotNil() predicate.ProjectIssue
- func Status(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusContains(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusContainsFold(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusEQ(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusEqualFold(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusGT(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusGTE(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusHasPrefix(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusHasSuffix(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusIn(vs ...consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusLT(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusLTE(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusNEQ(v consts.ProjectIssueStatus) predicate.ProjectIssue
- func StatusNotIn(vs ...consts.ProjectIssueStatus) predicate.ProjectIssue
- func Summary(v string) predicate.ProjectIssue
- func SummaryContains(v string) predicate.ProjectIssue
- func SummaryContainsFold(v string) predicate.ProjectIssue
- func SummaryEQ(v string) predicate.ProjectIssue
- func SummaryEqualFold(v string) predicate.ProjectIssue
- func SummaryGT(v string) predicate.ProjectIssue
- func SummaryGTE(v string) predicate.ProjectIssue
- func SummaryHasPrefix(v string) predicate.ProjectIssue
- func SummaryHasSuffix(v string) predicate.ProjectIssue
- func SummaryIn(vs ...string) predicate.ProjectIssue
- func SummaryIsNil() predicate.ProjectIssue
- func SummaryLT(v string) predicate.ProjectIssue
- func SummaryLTE(v string) predicate.ProjectIssue
- func SummaryNEQ(v string) predicate.ProjectIssue
- func SummaryNotIn(vs ...string) predicate.ProjectIssue
- func SummaryNotNil() predicate.ProjectIssue
- func Title(v string) predicate.ProjectIssue
- func TitleContains(v string) predicate.ProjectIssue
- func TitleContainsFold(v string) predicate.ProjectIssue
- func TitleEQ(v string) predicate.ProjectIssue
- func TitleEqualFold(v string) predicate.ProjectIssue
- func TitleGT(v string) predicate.ProjectIssue
- func TitleGTE(v string) predicate.ProjectIssue
- func TitleHasPrefix(v string) predicate.ProjectIssue
- func TitleHasSuffix(v string) predicate.ProjectIssue
- func TitleIn(vs ...string) predicate.ProjectIssue
- func TitleLT(v string) predicate.ProjectIssue
- func TitleLTE(v string) predicate.ProjectIssue
- func TitleNEQ(v string) predicate.ProjectIssue
- func TitleNotIn(vs ...string) predicate.ProjectIssue
- func UpdatedAt(v time.Time) predicate.ProjectIssue
- func UpdatedAtEQ(v time.Time) predicate.ProjectIssue
- func UpdatedAtGT(v time.Time) predicate.ProjectIssue
- func UpdatedAtGTE(v time.Time) predicate.ProjectIssue
- func UpdatedAtIn(vs ...time.Time) predicate.ProjectIssue
- func UpdatedAtLT(v time.Time) predicate.ProjectIssue
- func UpdatedAtLTE(v time.Time) predicate.ProjectIssue
- func UpdatedAtNEQ(v time.Time) predicate.ProjectIssue
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProjectIssue
- func UserID(v uuid.UUID) predicate.ProjectIssue
- func UserIDEQ(v uuid.UUID) predicate.ProjectIssue
- func UserIDIn(vs ...uuid.UUID) predicate.ProjectIssue
- func UserIDNEQ(v uuid.UUID) predicate.ProjectIssue
- func UserIDNotIn(vs ...uuid.UUID) predicate.ProjectIssue
- func ValidColumn(column string) bool
- type OrderOption
- func ByAssigneeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAssigneeID(opts ...sql.OrderTermOption) OrderOption
- func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDesignDocument(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPriority(opts ...sql.OrderTermOption) OrderOption
- func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByProjectTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProjectTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByRequirementDocument(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySummary(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the projectissue type in the database. Label = "project_issue" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldRequirementDocument holds the string denoting the requirement_document field in the database. FieldRequirementDocument = "requirement_document" // FieldDesignDocument holds the string denoting the design_document field in the database. FieldDesignDocument = "design_document" // FieldSummary holds the string denoting the summary field in the database. FieldSummary = "summary" // FieldAssigneeID holds the string denoting the assignee_id field in the database. FieldAssigneeID = "assignee_id" // FieldPriority holds the string denoting the priority field in the database. FieldPriority = "priority" // 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" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeAssignee holds the string denoting the assignee edge name in mutations. EdgeAssignee = "assignee" // EdgeProject holds the string denoting the project edge name in mutations. EdgeProject = "project" // EdgeComments holds the string denoting the comments edge name in mutations. EdgeComments = "comments" // EdgeProjectTasks holds the string denoting the project_tasks edge name in mutations. EdgeProjectTasks = "project_tasks" // Table holds the table name of the projectissue in the database. Table = "project_issues" // UserTable is the table that holds the user relation/edge. UserTable = "project_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_id" // AssigneeTable is the table that holds the assignee relation/edge. AssigneeTable = "project_issues" // AssigneeInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. AssigneeInverseTable = "users" // AssigneeColumn is the table column denoting the assignee relation/edge. AssigneeColumn = "assignee_id" // ProjectTable is the table that holds the project relation/edge. ProjectTable = "project_issues" // ProjectInverseTable is the table name for the Project entity. // It exists in this package in order to avoid circular dependency with the "project" package. ProjectInverseTable = "projects" // ProjectColumn is the table column denoting the project relation/edge. ProjectColumn = "project_id" // CommentsTable is the table that holds the comments relation/edge. CommentsTable = "project_issue_comments" // CommentsInverseTable is the table name for the ProjectIssueComment entity. // It exists in this package in order to avoid circular dependency with the "projectissuecomment" package. CommentsInverseTable = "project_issue_comments" // CommentsColumn is the table column denoting the comments relation/edge. CommentsColumn = "issue_id" // ProjectTasksTable is the table that holds the project_tasks relation/edge. ProjectTasksTable = "project_tasks" // ProjectTasksInverseTable is the table name for the ProjectTask entity. // It exists in this package in order to avoid circular dependency with the "projecttask" package. ProjectTasksInverseTable = "project_tasks" // ProjectTasksColumn is the table column denoting the project_tasks relation/edge. ProjectTasksColumn = "issue_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus consts.ProjectIssueStatus // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // DefaultPriority holds the default value on creation for the "priority" field. DefaultPriority consts.ProjectIssuePriority // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/chaitin/MonkeyCode/backend/db/runtime"
var Columns = []string{ FieldID, FieldDeletedAt, FieldUserID, FieldProjectID, FieldStatus, FieldTitle, FieldRequirementDocument, FieldDesignDocument, FieldSummary, FieldAssigneeID, FieldPriority, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for projectissue fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProjectIssue) predicate.ProjectIssue
And groups predicates with the AND operator between them.
func AssigneeID ¶
func AssigneeID(v uuid.UUID) predicate.ProjectIssue
AssigneeID applies equality check predicate on the "assignee_id" field. It's identical to AssigneeIDEQ.
func AssigneeIDEQ ¶
func AssigneeIDEQ(v uuid.UUID) predicate.ProjectIssue
AssigneeIDEQ applies the EQ predicate on the "assignee_id" field.
func AssigneeIDIn ¶
func AssigneeIDIn(vs ...uuid.UUID) predicate.ProjectIssue
AssigneeIDIn applies the In predicate on the "assignee_id" field.
func AssigneeIDIsNil ¶
func AssigneeIDIsNil() predicate.ProjectIssue
AssigneeIDIsNil applies the IsNil predicate on the "assignee_id" field.
func AssigneeIDNEQ ¶
func AssigneeIDNEQ(v uuid.UUID) predicate.ProjectIssue
AssigneeIDNEQ applies the NEQ predicate on the "assignee_id" field.
func AssigneeIDNotIn ¶
func AssigneeIDNotIn(vs ...uuid.UUID) predicate.ProjectIssue
AssigneeIDNotIn applies the NotIn predicate on the "assignee_id" field.
func AssigneeIDNotNil ¶
func AssigneeIDNotNil() predicate.ProjectIssue
AssigneeIDNotNil applies the NotNil predicate on the "assignee_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProjectIssue
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProjectIssue
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProjectIssue
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProjectIssue
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProjectIssue
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProjectIssue
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProjectIssue
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProjectIssue
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProjectIssue
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.ProjectIssue
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.ProjectIssue
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.ProjectIssue
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.ProjectIssue
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.ProjectIssue
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.ProjectIssue
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.ProjectIssue
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.ProjectIssue
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.ProjectIssue
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.ProjectIssue
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.ProjectIssue
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DesignDocument ¶
func DesignDocument(v string) predicate.ProjectIssue
DesignDocument applies equality check predicate on the "design_document" field. It's identical to DesignDocumentEQ.
func DesignDocumentContains ¶
func DesignDocumentContains(v string) predicate.ProjectIssue
DesignDocumentContains applies the Contains predicate on the "design_document" field.
func DesignDocumentContainsFold ¶
func DesignDocumentContainsFold(v string) predicate.ProjectIssue
DesignDocumentContainsFold applies the ContainsFold predicate on the "design_document" field.
func DesignDocumentEQ ¶
func DesignDocumentEQ(v string) predicate.ProjectIssue
DesignDocumentEQ applies the EQ predicate on the "design_document" field.
func DesignDocumentEqualFold ¶
func DesignDocumentEqualFold(v string) predicate.ProjectIssue
DesignDocumentEqualFold applies the EqualFold predicate on the "design_document" field.
func DesignDocumentGT ¶
func DesignDocumentGT(v string) predicate.ProjectIssue
DesignDocumentGT applies the GT predicate on the "design_document" field.
func DesignDocumentGTE ¶
func DesignDocumentGTE(v string) predicate.ProjectIssue
DesignDocumentGTE applies the GTE predicate on the "design_document" field.
func DesignDocumentHasPrefix ¶
func DesignDocumentHasPrefix(v string) predicate.ProjectIssue
DesignDocumentHasPrefix applies the HasPrefix predicate on the "design_document" field.
func DesignDocumentHasSuffix ¶
func DesignDocumentHasSuffix(v string) predicate.ProjectIssue
DesignDocumentHasSuffix applies the HasSuffix predicate on the "design_document" field.
func DesignDocumentIn ¶
func DesignDocumentIn(vs ...string) predicate.ProjectIssue
DesignDocumentIn applies the In predicate on the "design_document" field.
func DesignDocumentIsNil ¶
func DesignDocumentIsNil() predicate.ProjectIssue
DesignDocumentIsNil applies the IsNil predicate on the "design_document" field.
func DesignDocumentLT ¶
func DesignDocumentLT(v string) predicate.ProjectIssue
DesignDocumentLT applies the LT predicate on the "design_document" field.
func DesignDocumentLTE ¶
func DesignDocumentLTE(v string) predicate.ProjectIssue
DesignDocumentLTE applies the LTE predicate on the "design_document" field.
func DesignDocumentNEQ ¶
func DesignDocumentNEQ(v string) predicate.ProjectIssue
DesignDocumentNEQ applies the NEQ predicate on the "design_document" field.
func DesignDocumentNotIn ¶
func DesignDocumentNotIn(vs ...string) predicate.ProjectIssue
DesignDocumentNotIn applies the NotIn predicate on the "design_document" field.
func DesignDocumentNotNil ¶
func DesignDocumentNotNil() predicate.ProjectIssue
DesignDocumentNotNil applies the NotNil predicate on the "design_document" field.
func HasAssignee ¶
func HasAssignee() predicate.ProjectIssue
HasAssignee applies the HasEdge predicate on the "assignee" edge.
func HasAssigneeWith ¶
func HasAssigneeWith(preds ...predicate.User) predicate.ProjectIssue
HasAssigneeWith applies the HasEdge predicate on the "assignee" edge with a given conditions (other predicates).
func HasComments ¶
func HasComments() predicate.ProjectIssue
HasComments applies the HasEdge predicate on the "comments" edge.
func HasCommentsWith ¶
func HasCommentsWith(preds ...predicate.ProjectIssueComment) predicate.ProjectIssue
HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).
func HasProject ¶
func HasProject() predicate.ProjectIssue
HasProject applies the HasEdge predicate on the "project" edge.
func HasProjectTasks ¶
func HasProjectTasks() predicate.ProjectIssue
HasProjectTasks applies the HasEdge predicate on the "project_tasks" edge.
func HasProjectTasksWith ¶
func HasProjectTasksWith(preds ...predicate.ProjectTask) predicate.ProjectIssue
HasProjectTasksWith applies the HasEdge predicate on the "project_tasks" edge with a given conditions (other predicates).
func HasProjectWith ¶
func HasProjectWith(preds ...predicate.Project) predicate.ProjectIssue
HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.ProjectIssue
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.ProjectIssue
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ProjectIssue
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ProjectIssue
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ProjectIssue
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ProjectIssue
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ProjectIssue
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ProjectIssue
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ProjectIssue
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ProjectIssue
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ProjectIssue) predicate.ProjectIssue
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProjectIssue) predicate.ProjectIssue
Or groups predicates with the OR operator between them.
func Priority ¶
func Priority(v consts.ProjectIssuePriority) predicate.ProjectIssue
Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.
func PriorityEQ ¶
func PriorityEQ(v consts.ProjectIssuePriority) predicate.ProjectIssue
PriorityEQ applies the EQ predicate on the "priority" field.
func PriorityGT ¶
func PriorityGT(v consts.ProjectIssuePriority) predicate.ProjectIssue
PriorityGT applies the GT predicate on the "priority" field.
func PriorityGTE ¶
func PriorityGTE(v consts.ProjectIssuePriority) predicate.ProjectIssue
PriorityGTE applies the GTE predicate on the "priority" field.
func PriorityIn ¶
func PriorityIn(vs ...consts.ProjectIssuePriority) predicate.ProjectIssue
PriorityIn applies the In predicate on the "priority" field.
func PriorityLT ¶
func PriorityLT(v consts.ProjectIssuePriority) predicate.ProjectIssue
PriorityLT applies the LT predicate on the "priority" field.
func PriorityLTE ¶
func PriorityLTE(v consts.ProjectIssuePriority) predicate.ProjectIssue
PriorityLTE applies the LTE predicate on the "priority" field.
func PriorityNEQ ¶
func PriorityNEQ(v consts.ProjectIssuePriority) predicate.ProjectIssue
PriorityNEQ applies the NEQ predicate on the "priority" field.
func PriorityNotIn ¶
func PriorityNotIn(vs ...consts.ProjectIssuePriority) predicate.ProjectIssue
PriorityNotIn applies the NotIn predicate on the "priority" field.
func ProjectID ¶
func ProjectID(v uuid.UUID) predicate.ProjectIssue
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶
func ProjectIDEQ(v uuid.UUID) predicate.ProjectIssue
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDIn ¶
func ProjectIDIn(vs ...uuid.UUID) predicate.ProjectIssue
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDNEQ ¶
func ProjectIDNEQ(v uuid.UUID) predicate.ProjectIssue
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
func ProjectIDNotIn(vs ...uuid.UUID) predicate.ProjectIssue
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func RequirementDocument ¶
func RequirementDocument(v string) predicate.ProjectIssue
RequirementDocument applies equality check predicate on the "requirement_document" field. It's identical to RequirementDocumentEQ.
func RequirementDocumentContains ¶
func RequirementDocumentContains(v string) predicate.ProjectIssue
RequirementDocumentContains applies the Contains predicate on the "requirement_document" field.
func RequirementDocumentContainsFold ¶
func RequirementDocumentContainsFold(v string) predicate.ProjectIssue
RequirementDocumentContainsFold applies the ContainsFold predicate on the "requirement_document" field.
func RequirementDocumentEQ ¶
func RequirementDocumentEQ(v string) predicate.ProjectIssue
RequirementDocumentEQ applies the EQ predicate on the "requirement_document" field.
func RequirementDocumentEqualFold ¶
func RequirementDocumentEqualFold(v string) predicate.ProjectIssue
RequirementDocumentEqualFold applies the EqualFold predicate on the "requirement_document" field.
func RequirementDocumentGT ¶
func RequirementDocumentGT(v string) predicate.ProjectIssue
RequirementDocumentGT applies the GT predicate on the "requirement_document" field.
func RequirementDocumentGTE ¶
func RequirementDocumentGTE(v string) predicate.ProjectIssue
RequirementDocumentGTE applies the GTE predicate on the "requirement_document" field.
func RequirementDocumentHasPrefix ¶
func RequirementDocumentHasPrefix(v string) predicate.ProjectIssue
RequirementDocumentHasPrefix applies the HasPrefix predicate on the "requirement_document" field.
func RequirementDocumentHasSuffix ¶
func RequirementDocumentHasSuffix(v string) predicate.ProjectIssue
RequirementDocumentHasSuffix applies the HasSuffix predicate on the "requirement_document" field.
func RequirementDocumentIn ¶
func RequirementDocumentIn(vs ...string) predicate.ProjectIssue
RequirementDocumentIn applies the In predicate on the "requirement_document" field.
func RequirementDocumentIsNil ¶
func RequirementDocumentIsNil() predicate.ProjectIssue
RequirementDocumentIsNil applies the IsNil predicate on the "requirement_document" field.
func RequirementDocumentLT ¶
func RequirementDocumentLT(v string) predicate.ProjectIssue
RequirementDocumentLT applies the LT predicate on the "requirement_document" field.
func RequirementDocumentLTE ¶
func RequirementDocumentLTE(v string) predicate.ProjectIssue
RequirementDocumentLTE applies the LTE predicate on the "requirement_document" field.
func RequirementDocumentNEQ ¶
func RequirementDocumentNEQ(v string) predicate.ProjectIssue
RequirementDocumentNEQ applies the NEQ predicate on the "requirement_document" field.
func RequirementDocumentNotIn ¶
func RequirementDocumentNotIn(vs ...string) predicate.ProjectIssue
RequirementDocumentNotIn applies the NotIn predicate on the "requirement_document" field.
func RequirementDocumentNotNil ¶
func RequirementDocumentNotNil() predicate.ProjectIssue
RequirementDocumentNotNil applies the NotNil predicate on the "requirement_document" field.
func Status ¶
func Status(v consts.ProjectIssueStatus) predicate.ProjectIssue
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...consts.ProjectIssueStatus) predicate.ProjectIssue
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v consts.ProjectIssueStatus) predicate.ProjectIssue
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...consts.ProjectIssueStatus) predicate.ProjectIssue
StatusNotIn applies the NotIn predicate on the "status" field.
func Summary ¶
func Summary(v string) predicate.ProjectIssue
Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.
func SummaryContains ¶
func SummaryContains(v string) predicate.ProjectIssue
SummaryContains applies the Contains predicate on the "summary" field.
func SummaryContainsFold ¶
func SummaryContainsFold(v string) predicate.ProjectIssue
SummaryContainsFold applies the ContainsFold predicate on the "summary" field.
func SummaryEQ ¶
func SummaryEQ(v string) predicate.ProjectIssue
SummaryEQ applies the EQ predicate on the "summary" field.
func SummaryEqualFold ¶
func SummaryEqualFold(v string) predicate.ProjectIssue
SummaryEqualFold applies the EqualFold predicate on the "summary" field.
func SummaryGT ¶
func SummaryGT(v string) predicate.ProjectIssue
SummaryGT applies the GT predicate on the "summary" field.
func SummaryGTE ¶
func SummaryGTE(v string) predicate.ProjectIssue
SummaryGTE applies the GTE predicate on the "summary" field.
func SummaryHasPrefix ¶
func SummaryHasPrefix(v string) predicate.ProjectIssue
SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.
func SummaryHasSuffix ¶
func SummaryHasSuffix(v string) predicate.ProjectIssue
SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.
func SummaryIn ¶
func SummaryIn(vs ...string) predicate.ProjectIssue
SummaryIn applies the In predicate on the "summary" field.
func SummaryIsNil ¶
func SummaryIsNil() predicate.ProjectIssue
SummaryIsNil applies the IsNil predicate on the "summary" field.
func SummaryLT ¶
func SummaryLT(v string) predicate.ProjectIssue
SummaryLT applies the LT predicate on the "summary" field.
func SummaryLTE ¶
func SummaryLTE(v string) predicate.ProjectIssue
SummaryLTE applies the LTE predicate on the "summary" field.
func SummaryNEQ ¶
func SummaryNEQ(v string) predicate.ProjectIssue
SummaryNEQ applies the NEQ predicate on the "summary" field.
func SummaryNotIn ¶
func SummaryNotIn(vs ...string) predicate.ProjectIssue
SummaryNotIn applies the NotIn predicate on the "summary" field.
func SummaryNotNil ¶
func SummaryNotNil() predicate.ProjectIssue
SummaryNotNil applies the NotNil predicate on the "summary" field.
func Title ¶
func Title(v string) predicate.ProjectIssue
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
func TitleContains(v string) predicate.ProjectIssue
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
func TitleContainsFold(v string) predicate.ProjectIssue
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEQ ¶
func TitleEQ(v string) predicate.ProjectIssue
TitleEQ applies the EQ predicate on the "title" field.
func TitleEqualFold ¶
func TitleEqualFold(v string) predicate.ProjectIssue
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleGT ¶
func TitleGT(v string) predicate.ProjectIssue
TitleGT applies the GT predicate on the "title" field.
func TitleGTE ¶
func TitleGTE(v string) predicate.ProjectIssue
TitleGTE applies the GTE predicate on the "title" field.
func TitleHasPrefix ¶
func TitleHasPrefix(v string) predicate.ProjectIssue
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
func TitleHasSuffix(v string) predicate.ProjectIssue
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIn ¶
func TitleIn(vs ...string) predicate.ProjectIssue
TitleIn applies the In predicate on the "title" field.
func TitleLT ¶
func TitleLT(v string) predicate.ProjectIssue
TitleLT applies the LT predicate on the "title" field.
func TitleLTE ¶
func TitleLTE(v string) predicate.ProjectIssue
TitleLTE applies the LTE predicate on the "title" field.
func TitleNEQ ¶
func TitleNEQ(v string) predicate.ProjectIssue
TitleNEQ applies the NEQ predicate on the "title" field.
func TitleNotIn ¶
func TitleNotIn(vs ...string) predicate.ProjectIssue
TitleNotIn applies the NotIn predicate on the "title" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProjectIssue
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProjectIssue
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProjectIssue
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProjectIssue
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProjectIssue
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProjectIssue
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProjectIssue
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProjectIssue
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProjectIssue
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.ProjectIssue
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.ProjectIssue
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.ProjectIssue
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.ProjectIssue
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.ProjectIssue
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ProjectIssue queries.
func ByAssigneeField ¶
func ByAssigneeField(field string, opts ...sql.OrderTermOption) OrderOption
ByAssigneeField orders the results by assignee field.
func ByAssigneeID ¶
func ByAssigneeID(opts ...sql.OrderTermOption) OrderOption
ByAssigneeID orders the results by the assignee_id 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 ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDesignDocument ¶
func ByDesignDocument(opts ...sql.OrderTermOption) OrderOption
ByDesignDocument orders the results by the design_document field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPriority ¶
func ByPriority(opts ...sql.OrderTermOption) OrderOption
ByPriority orders the results by the priority field.
func ByProjectField ¶
func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
ByProjectField orders the results by project field.
func ByProjectID ¶
func ByProjectID(opts ...sql.OrderTermOption) OrderOption
ByProjectID orders the results by the project_id field.
func ByProjectTasks ¶
func ByProjectTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProjectTasks orders the results by project_tasks terms.
func ByProjectTasksCount ¶
func ByProjectTasksCount(opts ...sql.OrderTermOption) OrderOption
ByProjectTasksCount orders the results by project_tasks count.
func ByRequirementDocument ¶
func ByRequirementDocument(opts ...sql.OrderTermOption) OrderOption
ByRequirementDocument orders the results by the requirement_document field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySummary ¶
func BySummary(opts ...sql.OrderTermOption) OrderOption
BySummary orders the results by the summary field.
func ByTitle ¶
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title 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.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.