Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TicketStatus) predicate.TicketStatus
- func Color(v string) predicate.TicketStatus
- func ColorContains(v string) predicate.TicketStatus
- func ColorContainsFold(v string) predicate.TicketStatus
- func ColorEQ(v string) predicate.TicketStatus
- func ColorEqualFold(v string) predicate.TicketStatus
- func ColorGT(v string) predicate.TicketStatus
- func ColorGTE(v string) predicate.TicketStatus
- func ColorHasPrefix(v string) predicate.TicketStatus
- func ColorHasSuffix(v string) predicate.TicketStatus
- func ColorIn(vs ...string) predicate.TicketStatus
- func ColorLT(v string) predicate.TicketStatus
- func ColorLTE(v string) predicate.TicketStatus
- func ColorNEQ(v string) predicate.TicketStatus
- func ColorNotIn(vs ...string) predicate.TicketStatus
- func Description(v string) predicate.TicketStatus
- func DescriptionContains(v string) predicate.TicketStatus
- func DescriptionContainsFold(v string) predicate.TicketStatus
- func DescriptionEQ(v string) predicate.TicketStatus
- func DescriptionEqualFold(v string) predicate.TicketStatus
- func DescriptionGT(v string) predicate.TicketStatus
- func DescriptionGTE(v string) predicate.TicketStatus
- func DescriptionHasPrefix(v string) predicate.TicketStatus
- func DescriptionHasSuffix(v string) predicate.TicketStatus
- func DescriptionIn(vs ...string) predicate.TicketStatus
- func DescriptionIsNil() predicate.TicketStatus
- func DescriptionLT(v string) predicate.TicketStatus
- func DescriptionLTE(v string) predicate.TicketStatus
- func DescriptionNEQ(v string) predicate.TicketStatus
- func DescriptionNotIn(vs ...string) predicate.TicketStatus
- func DescriptionNotNil() predicate.TicketStatus
- func HasFinishWorkflows() predicate.TicketStatus
- func HasFinishWorkflowsWith(preds ...predicate.Workflow) predicate.TicketStatus
- func HasPickupWorkflows() predicate.TicketStatus
- func HasPickupWorkflowsWith(preds ...predicate.Workflow) predicate.TicketStatus
- func HasProject() predicate.TicketStatus
- func HasProjectWith(preds ...predicate.Project) predicate.TicketStatus
- func HasTickets() predicate.TicketStatus
- func HasTicketsWith(preds ...predicate.Ticket) predicate.TicketStatus
- func ID(id uuid.UUID) predicate.TicketStatus
- func IDEQ(id uuid.UUID) predicate.TicketStatus
- func IDGT(id uuid.UUID) predicate.TicketStatus
- func IDGTE(id uuid.UUID) predicate.TicketStatus
- func IDIn(ids ...uuid.UUID) predicate.TicketStatus
- func IDLT(id uuid.UUID) predicate.TicketStatus
- func IDLTE(id uuid.UUID) predicate.TicketStatus
- func IDNEQ(id uuid.UUID) predicate.TicketStatus
- func IDNotIn(ids ...uuid.UUID) predicate.TicketStatus
- func Icon(v string) predicate.TicketStatus
- func IconContains(v string) predicate.TicketStatus
- func IconContainsFold(v string) predicate.TicketStatus
- func IconEQ(v string) predicate.TicketStatus
- func IconEqualFold(v string) predicate.TicketStatus
- func IconGT(v string) predicate.TicketStatus
- func IconGTE(v string) predicate.TicketStatus
- func IconHasPrefix(v string) predicate.TicketStatus
- func IconHasSuffix(v string) predicate.TicketStatus
- func IconIn(vs ...string) predicate.TicketStatus
- func IconIsNil() predicate.TicketStatus
- func IconLT(v string) predicate.TicketStatus
- func IconLTE(v string) predicate.TicketStatus
- func IconNEQ(v string) predicate.TicketStatus
- func IconNotIn(vs ...string) predicate.TicketStatus
- func IconNotNil() predicate.TicketStatus
- func IsDefault(v bool) predicate.TicketStatus
- func IsDefaultEQ(v bool) predicate.TicketStatus
- func IsDefaultNEQ(v bool) predicate.TicketStatus
- func MaxActiveRuns(v int) predicate.TicketStatus
- func MaxActiveRunsEQ(v int) predicate.TicketStatus
- func MaxActiveRunsGT(v int) predicate.TicketStatus
- func MaxActiveRunsGTE(v int) predicate.TicketStatus
- func MaxActiveRunsIn(vs ...int) predicate.TicketStatus
- func MaxActiveRunsIsNil() predicate.TicketStatus
- func MaxActiveRunsLT(v int) predicate.TicketStatus
- func MaxActiveRunsLTE(v int) predicate.TicketStatus
- func MaxActiveRunsNEQ(v int) predicate.TicketStatus
- func MaxActiveRunsNotIn(vs ...int) predicate.TicketStatus
- func MaxActiveRunsNotNil() predicate.TicketStatus
- func Name(v string) predicate.TicketStatus
- func NameContains(v string) predicate.TicketStatus
- func NameContainsFold(v string) predicate.TicketStatus
- func NameEQ(v string) predicate.TicketStatus
- func NameEqualFold(v string) predicate.TicketStatus
- func NameGT(v string) predicate.TicketStatus
- func NameGTE(v string) predicate.TicketStatus
- func NameHasPrefix(v string) predicate.TicketStatus
- func NameHasSuffix(v string) predicate.TicketStatus
- func NameIn(vs ...string) predicate.TicketStatus
- func NameLT(v string) predicate.TicketStatus
- func NameLTE(v string) predicate.TicketStatus
- func NameNEQ(v string) predicate.TicketStatus
- func NameNotIn(vs ...string) predicate.TicketStatus
- func Not(p predicate.TicketStatus) predicate.TicketStatus
- func Or(predicates ...predicate.TicketStatus) predicate.TicketStatus
- func Position(v int) predicate.TicketStatus
- func PositionEQ(v int) predicate.TicketStatus
- func PositionGT(v int) predicate.TicketStatus
- func PositionGTE(v int) predicate.TicketStatus
- func PositionIn(vs ...int) predicate.TicketStatus
- func PositionLT(v int) predicate.TicketStatus
- func PositionLTE(v int) predicate.TicketStatus
- func PositionNEQ(v int) predicate.TicketStatus
- func PositionNotIn(vs ...int) predicate.TicketStatus
- func ProjectID(v uuid.UUID) predicate.TicketStatus
- func ProjectIDEQ(v uuid.UUID) predicate.TicketStatus
- func ProjectIDIn(vs ...uuid.UUID) predicate.TicketStatus
- func ProjectIDNEQ(v uuid.UUID) predicate.TicketStatus
- func ProjectIDNotIn(vs ...uuid.UUID) predicate.TicketStatus
- func StageEQ(v Stage) predicate.TicketStatus
- func StageIn(vs ...Stage) predicate.TicketStatus
- func StageNEQ(v Stage) predicate.TicketStatus
- func StageNotIn(vs ...Stage) predicate.TicketStatus
- func StageValidator(s Stage) error
- func ValidColumn(column string) bool
- type OrderOption
- func ByColor(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByFinishWorkflows(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFinishWorkflowsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIcon(opts ...sql.OrderTermOption) OrderOption
- func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
- func ByMaxActiveRuns(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPickupWorkflows(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPickupWorkflowsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPosition(opts ...sql.OrderTermOption) OrderOption
- func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByStage(opts ...sql.OrderTermOption) OrderOption
- func ByTickets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTicketsCount(opts ...sql.OrderTermOption) OrderOption
- type Stage
Constants ¶
const ( // Label holds the string label denoting the ticketstatus type in the database. Label = "ticket_status" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldStage holds the string denoting the stage field in the database. FieldStage = "stage" // FieldColor holds the string denoting the color field in the database. FieldColor = "color" // FieldIcon holds the string denoting the icon field in the database. FieldIcon = "icon" // FieldPosition holds the string denoting the position field in the database. FieldPosition = "position" // FieldMaxActiveRuns holds the string denoting the max_active_runs field in the database. FieldMaxActiveRuns = "max_active_runs" // FieldIsDefault holds the string denoting the is_default field in the database. FieldIsDefault = "is_default" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeProject holds the string denoting the project edge name in mutations. EdgeProject = "project" // EdgeTickets holds the string denoting the tickets edge name in mutations. EdgeTickets = "tickets" // EdgePickupWorkflows holds the string denoting the pickup_workflows edge name in mutations. EdgePickupWorkflows = "pickup_workflows" // EdgeFinishWorkflows holds the string denoting the finish_workflows edge name in mutations. EdgeFinishWorkflows = "finish_workflows" // Table holds the table name of the ticketstatus in the database. Table = "ticket_status" // ProjectTable is the table that holds the project relation/edge. ProjectTable = "ticket_status" // 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" // TicketsTable is the table that holds the tickets relation/edge. TicketsTable = "tickets" // TicketsInverseTable is the table name for the Ticket entity. // It exists in this package in order to avoid circular dependency with the "ticket" package. TicketsInverseTable = "tickets" // TicketsColumn is the table column denoting the tickets relation/edge. TicketsColumn = "status_id" // PickupWorkflowsTable is the table that holds the pickup_workflows relation/edge. The primary key declared below. PickupWorkflowsTable = "workflow_pickup_statuses" // PickupWorkflowsInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. PickupWorkflowsInverseTable = "workflows" // FinishWorkflowsTable is the table that holds the finish_workflows relation/edge. The primary key declared below. FinishWorkflowsTable = "workflow_finish_statuses" // FinishWorkflowsInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. FinishWorkflowsInverseTable = "workflows" )
const DefaultStage = StageUnstarted
StageUnstarted is the default value of the Stage enum.
Variables ¶
var ( // PickupWorkflowsPrimaryKey and PickupWorkflowsColumn2 are the table columns denoting the // primary key for the pickup_workflows relation (M2M). PickupWorkflowsPrimaryKey = []string{"workflow_id", "ticket_status_id"} // FinishWorkflowsPrimaryKey and FinishWorkflowsColumn2 are the table columns denoting the // primary key for the finish_workflows relation (M2M). FinishWorkflowsPrimaryKey = []string{"workflow_id", "ticket_status_id"} )
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // ColorValidator is a validator for the "color" field. It is called by the builders before save. ColorValidator func(string) error // DefaultPosition holds the default value on creation for the "position" field. DefaultPosition int // DefaultIsDefault holds the default value on creation for the "is_default" field. DefaultIsDefault bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldProjectID, FieldName, FieldStage, FieldColor, FieldIcon, FieldPosition, FieldMaxActiveRuns, FieldIsDefault, FieldDescription, }
Columns holds all SQL columns for ticketstatus fields.
Functions ¶
func And ¶
func And(predicates ...predicate.TicketStatus) predicate.TicketStatus
And groups predicates with the AND operator between them.
func Color ¶
func Color(v string) predicate.TicketStatus
Color applies equality check predicate on the "color" field. It's identical to ColorEQ.
func ColorContains ¶
func ColorContains(v string) predicate.TicketStatus
ColorContains applies the Contains predicate on the "color" field.
func ColorContainsFold ¶
func ColorContainsFold(v string) predicate.TicketStatus
ColorContainsFold applies the ContainsFold predicate on the "color" field.
func ColorEQ ¶
func ColorEQ(v string) predicate.TicketStatus
ColorEQ applies the EQ predicate on the "color" field.
func ColorEqualFold ¶
func ColorEqualFold(v string) predicate.TicketStatus
ColorEqualFold applies the EqualFold predicate on the "color" field.
func ColorGT ¶
func ColorGT(v string) predicate.TicketStatus
ColorGT applies the GT predicate on the "color" field.
func ColorGTE ¶
func ColorGTE(v string) predicate.TicketStatus
ColorGTE applies the GTE predicate on the "color" field.
func ColorHasPrefix ¶
func ColorHasPrefix(v string) predicate.TicketStatus
ColorHasPrefix applies the HasPrefix predicate on the "color" field.
func ColorHasSuffix ¶
func ColorHasSuffix(v string) predicate.TicketStatus
ColorHasSuffix applies the HasSuffix predicate on the "color" field.
func ColorIn ¶
func ColorIn(vs ...string) predicate.TicketStatus
ColorIn applies the In predicate on the "color" field.
func ColorLT ¶
func ColorLT(v string) predicate.TicketStatus
ColorLT applies the LT predicate on the "color" field.
func ColorLTE ¶
func ColorLTE(v string) predicate.TicketStatus
ColorLTE applies the LTE predicate on the "color" field.
func ColorNEQ ¶
func ColorNEQ(v string) predicate.TicketStatus
ColorNEQ applies the NEQ predicate on the "color" field.
func ColorNotIn ¶
func ColorNotIn(vs ...string) predicate.TicketStatus
ColorNotIn applies the NotIn predicate on the "color" field.
func Description ¶
func Description(v string) predicate.TicketStatus
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.TicketStatus
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.TicketStatus
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.TicketStatus
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.TicketStatus
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.TicketStatus
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.TicketStatus
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.TicketStatus
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.TicketStatus
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.TicketStatus
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.TicketStatus
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.TicketStatus
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.TicketStatus
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.TicketStatus
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.TicketStatus
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.TicketStatus
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasFinishWorkflows ¶
func HasFinishWorkflows() predicate.TicketStatus
HasFinishWorkflows applies the HasEdge predicate on the "finish_workflows" edge.
func HasFinishWorkflowsWith ¶
func HasFinishWorkflowsWith(preds ...predicate.Workflow) predicate.TicketStatus
HasFinishWorkflowsWith applies the HasEdge predicate on the "finish_workflows" edge with a given conditions (other predicates).
func HasPickupWorkflows ¶
func HasPickupWorkflows() predicate.TicketStatus
HasPickupWorkflows applies the HasEdge predicate on the "pickup_workflows" edge.
func HasPickupWorkflowsWith ¶
func HasPickupWorkflowsWith(preds ...predicate.Workflow) predicate.TicketStatus
HasPickupWorkflowsWith applies the HasEdge predicate on the "pickup_workflows" edge with a given conditions (other predicates).
func HasProject ¶
func HasProject() predicate.TicketStatus
HasProject applies the HasEdge predicate on the "project" edge.
func HasProjectWith ¶
func HasProjectWith(preds ...predicate.Project) predicate.TicketStatus
HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func HasTickets ¶
func HasTickets() predicate.TicketStatus
HasTickets applies the HasEdge predicate on the "tickets" edge.
func HasTicketsWith ¶
func HasTicketsWith(preds ...predicate.Ticket) predicate.TicketStatus
HasTicketsWith applies the HasEdge predicate on the "tickets" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.TicketStatus
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.TicketStatus
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.TicketStatus
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.TicketStatus
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.TicketStatus
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.TicketStatus
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.TicketStatus
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.TicketStatus
IDNotIn applies the NotIn predicate on the ID field.
func Icon ¶
func Icon(v string) predicate.TicketStatus
Icon applies equality check predicate on the "icon" field. It's identical to IconEQ.
func IconContains ¶
func IconContains(v string) predicate.TicketStatus
IconContains applies the Contains predicate on the "icon" field.
func IconContainsFold ¶
func IconContainsFold(v string) predicate.TicketStatus
IconContainsFold applies the ContainsFold predicate on the "icon" field.
func IconEQ ¶
func IconEQ(v string) predicate.TicketStatus
IconEQ applies the EQ predicate on the "icon" field.
func IconEqualFold ¶
func IconEqualFold(v string) predicate.TicketStatus
IconEqualFold applies the EqualFold predicate on the "icon" field.
func IconGT ¶
func IconGT(v string) predicate.TicketStatus
IconGT applies the GT predicate on the "icon" field.
func IconGTE ¶
func IconGTE(v string) predicate.TicketStatus
IconGTE applies the GTE predicate on the "icon" field.
func IconHasPrefix ¶
func IconHasPrefix(v string) predicate.TicketStatus
IconHasPrefix applies the HasPrefix predicate on the "icon" field.
func IconHasSuffix ¶
func IconHasSuffix(v string) predicate.TicketStatus
IconHasSuffix applies the HasSuffix predicate on the "icon" field.
func IconIn ¶
func IconIn(vs ...string) predicate.TicketStatus
IconIn applies the In predicate on the "icon" field.
func IconIsNil ¶
func IconIsNil() predicate.TicketStatus
IconIsNil applies the IsNil predicate on the "icon" field.
func IconLT ¶
func IconLT(v string) predicate.TicketStatus
IconLT applies the LT predicate on the "icon" field.
func IconLTE ¶
func IconLTE(v string) predicate.TicketStatus
IconLTE applies the LTE predicate on the "icon" field.
func IconNEQ ¶
func IconNEQ(v string) predicate.TicketStatus
IconNEQ applies the NEQ predicate on the "icon" field.
func IconNotIn ¶
func IconNotIn(vs ...string) predicate.TicketStatus
IconNotIn applies the NotIn predicate on the "icon" field.
func IconNotNil ¶
func IconNotNil() predicate.TicketStatus
IconNotNil applies the NotNil predicate on the "icon" field.
func IsDefault ¶
func IsDefault(v bool) predicate.TicketStatus
IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.
func IsDefaultEQ ¶
func IsDefaultEQ(v bool) predicate.TicketStatus
IsDefaultEQ applies the EQ predicate on the "is_default" field.
func IsDefaultNEQ ¶
func IsDefaultNEQ(v bool) predicate.TicketStatus
IsDefaultNEQ applies the NEQ predicate on the "is_default" field.
func MaxActiveRuns ¶
func MaxActiveRuns(v int) predicate.TicketStatus
MaxActiveRuns applies equality check predicate on the "max_active_runs" field. It's identical to MaxActiveRunsEQ.
func MaxActiveRunsEQ ¶
func MaxActiveRunsEQ(v int) predicate.TicketStatus
MaxActiveRunsEQ applies the EQ predicate on the "max_active_runs" field.
func MaxActiveRunsGT ¶
func MaxActiveRunsGT(v int) predicate.TicketStatus
MaxActiveRunsGT applies the GT predicate on the "max_active_runs" field.
func MaxActiveRunsGTE ¶
func MaxActiveRunsGTE(v int) predicate.TicketStatus
MaxActiveRunsGTE applies the GTE predicate on the "max_active_runs" field.
func MaxActiveRunsIn ¶
func MaxActiveRunsIn(vs ...int) predicate.TicketStatus
MaxActiveRunsIn applies the In predicate on the "max_active_runs" field.
func MaxActiveRunsIsNil ¶
func MaxActiveRunsIsNil() predicate.TicketStatus
MaxActiveRunsIsNil applies the IsNil predicate on the "max_active_runs" field.
func MaxActiveRunsLT ¶
func MaxActiveRunsLT(v int) predicate.TicketStatus
MaxActiveRunsLT applies the LT predicate on the "max_active_runs" field.
func MaxActiveRunsLTE ¶
func MaxActiveRunsLTE(v int) predicate.TicketStatus
MaxActiveRunsLTE applies the LTE predicate on the "max_active_runs" field.
func MaxActiveRunsNEQ ¶
func MaxActiveRunsNEQ(v int) predicate.TicketStatus
MaxActiveRunsNEQ applies the NEQ predicate on the "max_active_runs" field.
func MaxActiveRunsNotIn ¶
func MaxActiveRunsNotIn(vs ...int) predicate.TicketStatus
MaxActiveRunsNotIn applies the NotIn predicate on the "max_active_runs" field.
func MaxActiveRunsNotNil ¶
func MaxActiveRunsNotNil() predicate.TicketStatus
MaxActiveRunsNotNil applies the NotNil predicate on the "max_active_runs" field.
func Name ¶
func Name(v string) predicate.TicketStatus
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.TicketStatus
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.TicketStatus
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.TicketStatus
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.TicketStatus
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.TicketStatus
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.TicketStatus
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.TicketStatus
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.TicketStatus
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.TicketStatus
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.TicketStatus
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.TicketStatus
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.TicketStatus
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.TicketStatus
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.TicketStatus) predicate.TicketStatus
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TicketStatus) predicate.TicketStatus
Or groups predicates with the OR operator between them.
func Position ¶
func Position(v int) predicate.TicketStatus
Position applies equality check predicate on the "position" field. It's identical to PositionEQ.
func PositionEQ ¶
func PositionEQ(v int) predicate.TicketStatus
PositionEQ applies the EQ predicate on the "position" field.
func PositionGT ¶
func PositionGT(v int) predicate.TicketStatus
PositionGT applies the GT predicate on the "position" field.
func PositionGTE ¶
func PositionGTE(v int) predicate.TicketStatus
PositionGTE applies the GTE predicate on the "position" field.
func PositionIn ¶
func PositionIn(vs ...int) predicate.TicketStatus
PositionIn applies the In predicate on the "position" field.
func PositionLT ¶
func PositionLT(v int) predicate.TicketStatus
PositionLT applies the LT predicate on the "position" field.
func PositionLTE ¶
func PositionLTE(v int) predicate.TicketStatus
PositionLTE applies the LTE predicate on the "position" field.
func PositionNEQ ¶
func PositionNEQ(v int) predicate.TicketStatus
PositionNEQ applies the NEQ predicate on the "position" field.
func PositionNotIn ¶
func PositionNotIn(vs ...int) predicate.TicketStatus
PositionNotIn applies the NotIn predicate on the "position" field.
func ProjectID ¶
func ProjectID(v uuid.UUID) predicate.TicketStatus
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶
func ProjectIDEQ(v uuid.UUID) predicate.TicketStatus
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDIn ¶
func ProjectIDIn(vs ...uuid.UUID) predicate.TicketStatus
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDNEQ ¶
func ProjectIDNEQ(v uuid.UUID) predicate.TicketStatus
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
func ProjectIDNotIn(vs ...uuid.UUID) predicate.TicketStatus
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func StageEQ ¶
func StageEQ(v Stage) predicate.TicketStatus
StageEQ applies the EQ predicate on the "stage" field.
func StageIn ¶
func StageIn(vs ...Stage) predicate.TicketStatus
StageIn applies the In predicate on the "stage" field.
func StageNEQ ¶
func StageNEQ(v Stage) predicate.TicketStatus
StageNEQ applies the NEQ predicate on the "stage" field.
func StageNotIn ¶
func StageNotIn(vs ...Stage) predicate.TicketStatus
StageNotIn applies the NotIn predicate on the "stage" field.
func StageValidator ¶
StageValidator is a validator for the "stage" field enum values. It is called by the builders before save.
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 TicketStatus queries.
func ByColor ¶
func ByColor(opts ...sql.OrderTermOption) OrderOption
ByColor orders the results by the color field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByFinishWorkflows ¶
func ByFinishWorkflows(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFinishWorkflows orders the results by finish_workflows terms.
func ByFinishWorkflowsCount ¶
func ByFinishWorkflowsCount(opts ...sql.OrderTermOption) OrderOption
ByFinishWorkflowsCount orders the results by finish_workflows count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIcon ¶
func ByIcon(opts ...sql.OrderTermOption) OrderOption
ByIcon orders the results by the icon field.
func ByIsDefault ¶
func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
ByIsDefault orders the results by the is_default field.
func ByMaxActiveRuns ¶
func ByMaxActiveRuns(opts ...sql.OrderTermOption) OrderOption
ByMaxActiveRuns orders the results by the max_active_runs field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPickupWorkflows ¶
func ByPickupWorkflows(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPickupWorkflows orders the results by pickup_workflows terms.
func ByPickupWorkflowsCount ¶
func ByPickupWorkflowsCount(opts ...sql.OrderTermOption) OrderOption
ByPickupWorkflowsCount orders the results by pickup_workflows count.
func ByPosition ¶
func ByPosition(opts ...sql.OrderTermOption) OrderOption
ByPosition orders the results by the position 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 ByStage ¶
func ByStage(opts ...sql.OrderTermOption) OrderOption
ByStage orders the results by the stage field.
func ByTickets ¶
func ByTickets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTickets orders the results by tickets terms.
func ByTicketsCount ¶
func ByTicketsCount(opts ...sql.OrderTermOption) OrderOption
ByTicketsCount orders the results by tickets count.