projectissue

package
v0.0.0-...-481d40d Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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"

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 ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

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

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

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

Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.

func PriorityEQ

PriorityEQ applies the EQ predicate on the "priority" field.

func PriorityGT

PriorityGT applies the GT predicate on the "priority" field.

func PriorityGTE

PriorityGTE applies the GTE predicate on the "priority" field.

func PriorityIn

PriorityIn applies the In predicate on the "priority" field.

func PriorityLT

PriorityLT applies the LT predicate on the "priority" field.

func PriorityLTE

PriorityLTE applies the LTE predicate on the "priority" field.

func PriorityNEQ

PriorityNEQ applies the NEQ predicate on the "priority" field.

func PriorityNotIn

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

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

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

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

StatusIn applies the In predicate on the "status" field.

func StatusLT

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

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

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 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.

Jump to

Keyboard shortcuts

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