Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WorkflowStage) predicate.WorkflowStage
- func AnnotationsIsNil() predicate.WorkflowStage
- func AnnotationsNotNil() predicate.WorkflowStage
- func CreateTime(v time.Time) predicate.WorkflowStage
- func CreateTimeEQ(v time.Time) predicate.WorkflowStage
- func CreateTimeGT(v time.Time) predicate.WorkflowStage
- func CreateTimeGTE(v time.Time) predicate.WorkflowStage
- func CreateTimeIn(vs ...time.Time) predicate.WorkflowStage
- func CreateTimeLT(v time.Time) predicate.WorkflowStage
- func CreateTimeLTE(v time.Time) predicate.WorkflowStage
- func CreateTimeNEQ(v time.Time) predicate.WorkflowStage
- func CreateTimeNotIn(vs ...time.Time) predicate.WorkflowStage
- func Description(v string) predicate.WorkflowStage
- func DescriptionContains(v string) predicate.WorkflowStage
- func DescriptionContainsFold(v string) predicate.WorkflowStage
- func DescriptionEQ(v string) predicate.WorkflowStage
- func DescriptionEqualFold(v string) predicate.WorkflowStage
- func DescriptionGT(v string) predicate.WorkflowStage
- func DescriptionGTE(v string) predicate.WorkflowStage
- func DescriptionHasPrefix(v string) predicate.WorkflowStage
- func DescriptionHasSuffix(v string) predicate.WorkflowStage
- func DescriptionIn(vs ...string) predicate.WorkflowStage
- func DescriptionIsNil() predicate.WorkflowStage
- func DescriptionLT(v string) predicate.WorkflowStage
- func DescriptionLTE(v string) predicate.WorkflowStage
- func DescriptionNEQ(v string) predicate.WorkflowStage
- func DescriptionNotIn(vs ...string) predicate.WorkflowStage
- func DescriptionNotNil() predicate.WorkflowStage
- func HasProject() predicate.WorkflowStage
- func HasProjectWith(preds ...predicate.Project) predicate.WorkflowStage
- func HasSteps() predicate.WorkflowStage
- func HasStepsWith(preds ...predicate.WorkflowStep) predicate.WorkflowStage
- func HasWorkflow() predicate.WorkflowStage
- func HasWorkflowWith(preds ...predicate.Workflow) predicate.WorkflowStage
- func ID(id object.ID) predicate.WorkflowStage
- func IDEQ(id object.ID) predicate.WorkflowStage
- func IDGT(id object.ID) predicate.WorkflowStage
- func IDGTE(id object.ID) predicate.WorkflowStage
- func IDIn(ids ...object.ID) predicate.WorkflowStage
- func IDLT(id object.ID) predicate.WorkflowStage
- func IDLTE(id object.ID) predicate.WorkflowStage
- func IDNEQ(id object.ID) predicate.WorkflowStage
- func IDNotIn(ids ...object.ID) predicate.WorkflowStage
- func LabelsIsNil() predicate.WorkflowStage
- func LabelsNotNil() predicate.WorkflowStage
- func Name(v string) predicate.WorkflowStage
- func NameContains(v string) predicate.WorkflowStage
- func NameContainsFold(v string) predicate.WorkflowStage
- func NameEQ(v string) predicate.WorkflowStage
- func NameEqualFold(v string) predicate.WorkflowStage
- func NameGT(v string) predicate.WorkflowStage
- func NameGTE(v string) predicate.WorkflowStage
- func NameHasPrefix(v string) predicate.WorkflowStage
- func NameHasSuffix(v string) predicate.WorkflowStage
- func NameIn(vs ...string) predicate.WorkflowStage
- func NameLT(v string) predicate.WorkflowStage
- func NameLTE(v string) predicate.WorkflowStage
- func NameNEQ(v string) predicate.WorkflowStage
- func NameNotIn(vs ...string) predicate.WorkflowStage
- func Not(p predicate.WorkflowStage) predicate.WorkflowStage
- func Or(predicates ...predicate.WorkflowStage) predicate.WorkflowStage
- func Order(v int) predicate.WorkflowStage
- func OrderEQ(v int) predicate.WorkflowStage
- func OrderGT(v int) predicate.WorkflowStage
- func OrderGTE(v int) predicate.WorkflowStage
- func OrderIn(vs ...int) predicate.WorkflowStage
- func OrderLT(v int) predicate.WorkflowStage
- func OrderLTE(v int) predicate.WorkflowStage
- func OrderNEQ(v int) predicate.WorkflowStage
- func OrderNotIn(vs ...int) predicate.WorkflowStage
- func ProjectID(v object.ID) predicate.WorkflowStage
- func ProjectIDContains(v object.ID) predicate.WorkflowStage
- func ProjectIDContainsFold(v object.ID) predicate.WorkflowStage
- func ProjectIDEQ(v object.ID) predicate.WorkflowStage
- func ProjectIDEqualFold(v object.ID) predicate.WorkflowStage
- func ProjectIDGT(v object.ID) predicate.WorkflowStage
- func ProjectIDGTE(v object.ID) predicate.WorkflowStage
- func ProjectIDHasPrefix(v object.ID) predicate.WorkflowStage
- func ProjectIDHasSuffix(v object.ID) predicate.WorkflowStage
- func ProjectIDIn(vs ...object.ID) predicate.WorkflowStage
- func ProjectIDLT(v object.ID) predicate.WorkflowStage
- func ProjectIDLTE(v object.ID) predicate.WorkflowStage
- func ProjectIDNEQ(v object.ID) predicate.WorkflowStage
- func ProjectIDNotIn(vs ...object.ID) predicate.WorkflowStage
- func UpdateTime(v time.Time) predicate.WorkflowStage
- func UpdateTimeEQ(v time.Time) predicate.WorkflowStage
- func UpdateTimeGT(v time.Time) predicate.WorkflowStage
- func UpdateTimeGTE(v time.Time) predicate.WorkflowStage
- func UpdateTimeIn(vs ...time.Time) predicate.WorkflowStage
- func UpdateTimeLT(v time.Time) predicate.WorkflowStage
- func UpdateTimeLTE(v time.Time) predicate.WorkflowStage
- func UpdateTimeNEQ(v time.Time) predicate.WorkflowStage
- func UpdateTimeNotIn(vs ...time.Time) predicate.WorkflowStage
- func ValidColumn(column string) bool
- func WithoutFields(ignores ...string) []string
- func WorkflowID(v object.ID) predicate.WorkflowStage
- func WorkflowIDContains(v object.ID) predicate.WorkflowStage
- func WorkflowIDContainsFold(v object.ID) predicate.WorkflowStage
- func WorkflowIDEQ(v object.ID) predicate.WorkflowStage
- func WorkflowIDEqualFold(v object.ID) predicate.WorkflowStage
- func WorkflowIDGT(v object.ID) predicate.WorkflowStage
- func WorkflowIDGTE(v object.ID) predicate.WorkflowStage
- func WorkflowIDHasPrefix(v object.ID) predicate.WorkflowStage
- func WorkflowIDHasSuffix(v object.ID) predicate.WorkflowStage
- func WorkflowIDIn(vs ...object.ID) predicate.WorkflowStage
- func WorkflowIDLT(v object.ID) predicate.WorkflowStage
- func WorkflowIDLTE(v object.ID) predicate.WorkflowStage
- func WorkflowIDNEQ(v object.ID) predicate.WorkflowStage
- func WorkflowIDNotIn(vs ...object.ID) predicate.WorkflowStage
- type OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrder(opts ...sql.OrderTermOption) OrderOption
- func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func BySteps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByStepsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workflowstage type in the database. Label = "workflow_stage" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldLabels holds the string denoting the labels field in the database. FieldLabels = "labels" // FieldAnnotations holds the string denoting the annotations field in the database. FieldAnnotations = "annotations" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldWorkflowID holds the string denoting the workflow_id field in the database. FieldWorkflowID = "workflow_id" // FieldDependencies holds the string denoting the dependencies field in the database. FieldDependencies = "dependencies" // FieldOrder holds the string denoting the order field in the database. FieldOrder = "order" // EdgeProject holds the string denoting the project edge name in mutations. EdgeProject = "project" // EdgeSteps holds the string denoting the steps edge name in mutations. EdgeSteps = "steps" // EdgeWorkflow holds the string denoting the workflow edge name in mutations. EdgeWorkflow = "workflow" // Table holds the table name of the workflowstage in the database. Table = "workflow_stages" // ProjectTable is the table that holds the project relation/edge. ProjectTable = "workflow_stages" // 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" // StepsTable is the table that holds the steps relation/edge. StepsTable = "workflow_steps" // StepsInverseTable is the table name for the WorkflowStep entity. // It exists in this package in order to avoid circular dependency with the "workflowstep" package. StepsInverseTable = "workflow_steps" // StepsColumn is the table column denoting the steps relation/edge. StepsColumn = "workflow_stage_id" // WorkflowTable is the table that holds the workflow relation/edge. WorkflowTable = "workflow_stages" // WorkflowInverseTable is the table name for the Workflow entity. // It exists in this package in order to avoid circular dependency with the "workflow" package. WorkflowInverseTable = "workflows" // WorkflowColumn is the table column denoting the workflow relation/edge. WorkflowColumn = "workflow_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultLabels holds the default value on creation for the "labels" field. DefaultLabels map[string]string // DefaultAnnotations holds the default value on creation for the "annotations" field. DefaultAnnotations map[string]string // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time // ProjectIDValidator is a validator for the "project_id" field. It is called by the builders before save. ProjectIDValidator func(string) error // WorkflowIDValidator is a validator for the "workflow_id" field. It is called by the builders before save. WorkflowIDValidator func(string) error // DefaultDependencies holds the default value on creation for the "dependencies" field. DefaultDependencies []object.ID // DefaultOrder holds the default value on creation for the "order" field. DefaultOrder int // OrderValidator is a validator for the "order" field. It is called by the builders before save. OrderValidator func(int) error )
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/seal-io/walrus/pkg/dao/model/runtime"
var Columns = []string{ FieldID, FieldName, FieldDescription, FieldLabels, FieldAnnotations, FieldCreateTime, FieldUpdateTime, FieldProjectID, FieldWorkflowID, FieldDependencies, FieldOrder, }
Columns holds all SQL columns for workflowstage fields.
Functions ¶
func And ¶
func And(predicates ...predicate.WorkflowStage) predicate.WorkflowStage
And groups predicates with the AND operator between them.
func AnnotationsIsNil ¶
func AnnotationsIsNil() predicate.WorkflowStage
AnnotationsIsNil applies the IsNil predicate on the "annotations" field.
func AnnotationsNotNil ¶
func AnnotationsNotNil() predicate.WorkflowStage
AnnotationsNotNil applies the NotNil predicate on the "annotations" field.
func CreateTime ¶
func CreateTime(v time.Time) predicate.WorkflowStage
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.WorkflowStage
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.WorkflowStage
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.WorkflowStage
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.WorkflowStage
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.WorkflowStage
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.WorkflowStage
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.WorkflowStage
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.WorkflowStage
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Description ¶
func Description(v string) predicate.WorkflowStage
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.WorkflowStage
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.WorkflowStage
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.WorkflowStage
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.WorkflowStage
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.WorkflowStage
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.WorkflowStage
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.WorkflowStage
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.WorkflowStage
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.WorkflowStage
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.WorkflowStage
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.WorkflowStage
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.WorkflowStage
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.WorkflowStage
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.WorkflowStage
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.WorkflowStage
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasProject ¶
func HasProject() predicate.WorkflowStage
HasProject applies the HasEdge predicate on the "project" edge.
func HasProjectWith ¶
func HasProjectWith(preds ...predicate.Project) predicate.WorkflowStage
HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func HasSteps ¶
func HasSteps() predicate.WorkflowStage
HasSteps applies the HasEdge predicate on the "steps" edge.
func HasStepsWith ¶
func HasStepsWith(preds ...predicate.WorkflowStep) predicate.WorkflowStage
HasStepsWith applies the HasEdge predicate on the "steps" edge with a given conditions (other predicates).
func HasWorkflow ¶
func HasWorkflow() predicate.WorkflowStage
HasWorkflow applies the HasEdge predicate on the "workflow" edge.
func HasWorkflowWith ¶
func HasWorkflowWith(preds ...predicate.Workflow) predicate.WorkflowStage
HasWorkflowWith applies the HasEdge predicate on the "workflow" edge with a given conditions (other predicates).
func ID ¶
func ID(id object.ID) predicate.WorkflowStage
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id object.ID) predicate.WorkflowStage
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id object.ID) predicate.WorkflowStage
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id object.ID) predicate.WorkflowStage
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...object.ID) predicate.WorkflowStage
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id object.ID) predicate.WorkflowStage
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id object.ID) predicate.WorkflowStage
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id object.ID) predicate.WorkflowStage
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...object.ID) predicate.WorkflowStage
IDNotIn applies the NotIn predicate on the ID field.
func LabelsIsNil ¶
func LabelsIsNil() predicate.WorkflowStage
LabelsIsNil applies the IsNil predicate on the "labels" field.
func LabelsNotNil ¶
func LabelsNotNil() predicate.WorkflowStage
LabelsNotNil applies the NotNil predicate on the "labels" field.
func Name ¶
func Name(v string) predicate.WorkflowStage
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.WorkflowStage
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.WorkflowStage
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.WorkflowStage
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.WorkflowStage
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.WorkflowStage
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.WorkflowStage
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.WorkflowStage
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.WorkflowStage
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.WorkflowStage
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.WorkflowStage
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.WorkflowStage
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.WorkflowStage
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.WorkflowStage
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.WorkflowStage) predicate.WorkflowStage
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WorkflowStage) predicate.WorkflowStage
Or groups predicates with the OR operator between them.
func Order ¶
func Order(v int) predicate.WorkflowStage
Order applies equality check predicate on the "order" field. It's identical to OrderEQ.
func OrderEQ ¶
func OrderEQ(v int) predicate.WorkflowStage
OrderEQ applies the EQ predicate on the "order" field.
func OrderGT ¶
func OrderGT(v int) predicate.WorkflowStage
OrderGT applies the GT predicate on the "order" field.
func OrderGTE ¶
func OrderGTE(v int) predicate.WorkflowStage
OrderGTE applies the GTE predicate on the "order" field.
func OrderIn ¶
func OrderIn(vs ...int) predicate.WorkflowStage
OrderIn applies the In predicate on the "order" field.
func OrderLT ¶
func OrderLT(v int) predicate.WorkflowStage
OrderLT applies the LT predicate on the "order" field.
func OrderLTE ¶
func OrderLTE(v int) predicate.WorkflowStage
OrderLTE applies the LTE predicate on the "order" field.
func OrderNEQ ¶
func OrderNEQ(v int) predicate.WorkflowStage
OrderNEQ applies the NEQ predicate on the "order" field.
func OrderNotIn ¶
func OrderNotIn(vs ...int) predicate.WorkflowStage
OrderNotIn applies the NotIn predicate on the "order" field.
func ProjectID ¶
func ProjectID(v object.ID) predicate.WorkflowStage
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDContains ¶
func ProjectIDContains(v object.ID) predicate.WorkflowStage
ProjectIDContains applies the Contains predicate on the "project_id" field.
func ProjectIDContainsFold ¶
func ProjectIDContainsFold(v object.ID) predicate.WorkflowStage
ProjectIDContainsFold applies the ContainsFold predicate on the "project_id" field.
func ProjectIDEQ ¶
func ProjectIDEQ(v object.ID) predicate.WorkflowStage
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDEqualFold ¶
func ProjectIDEqualFold(v object.ID) predicate.WorkflowStage
ProjectIDEqualFold applies the EqualFold predicate on the "project_id" field.
func ProjectIDGT ¶
func ProjectIDGT(v object.ID) predicate.WorkflowStage
ProjectIDGT applies the GT predicate on the "project_id" field.
func ProjectIDGTE ¶
func ProjectIDGTE(v object.ID) predicate.WorkflowStage
ProjectIDGTE applies the GTE predicate on the "project_id" field.
func ProjectIDHasPrefix ¶
func ProjectIDHasPrefix(v object.ID) predicate.WorkflowStage
ProjectIDHasPrefix applies the HasPrefix predicate on the "project_id" field.
func ProjectIDHasSuffix ¶
func ProjectIDHasSuffix(v object.ID) predicate.WorkflowStage
ProjectIDHasSuffix applies the HasSuffix predicate on the "project_id" field.
func ProjectIDIn ¶
func ProjectIDIn(vs ...object.ID) predicate.WorkflowStage
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDLT ¶
func ProjectIDLT(v object.ID) predicate.WorkflowStage
ProjectIDLT applies the LT predicate on the "project_id" field.
func ProjectIDLTE ¶
func ProjectIDLTE(v object.ID) predicate.WorkflowStage
ProjectIDLTE applies the LTE predicate on the "project_id" field.
func ProjectIDNEQ ¶
func ProjectIDNEQ(v object.ID) predicate.WorkflowStage
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
func ProjectIDNotIn(vs ...object.ID) predicate.WorkflowStage
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.WorkflowStage
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.WorkflowStage
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.WorkflowStage
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.WorkflowStage
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.WorkflowStage
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.WorkflowStage
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.WorkflowStage
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.WorkflowStage
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.WorkflowStage
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WithoutFields ¶
WithoutFields returns the fields ignored the given list.
func WorkflowID ¶
func WorkflowID(v object.ID) predicate.WorkflowStage
WorkflowID applies equality check predicate on the "workflow_id" field. It's identical to WorkflowIDEQ.
func WorkflowIDContains ¶
func WorkflowIDContains(v object.ID) predicate.WorkflowStage
WorkflowIDContains applies the Contains predicate on the "workflow_id" field.
func WorkflowIDContainsFold ¶
func WorkflowIDContainsFold(v object.ID) predicate.WorkflowStage
WorkflowIDContainsFold applies the ContainsFold predicate on the "workflow_id" field.
func WorkflowIDEQ ¶
func WorkflowIDEQ(v object.ID) predicate.WorkflowStage
WorkflowIDEQ applies the EQ predicate on the "workflow_id" field.
func WorkflowIDEqualFold ¶
func WorkflowIDEqualFold(v object.ID) predicate.WorkflowStage
WorkflowIDEqualFold applies the EqualFold predicate on the "workflow_id" field.
func WorkflowIDGT ¶
func WorkflowIDGT(v object.ID) predicate.WorkflowStage
WorkflowIDGT applies the GT predicate on the "workflow_id" field.
func WorkflowIDGTE ¶
func WorkflowIDGTE(v object.ID) predicate.WorkflowStage
WorkflowIDGTE applies the GTE predicate on the "workflow_id" field.
func WorkflowIDHasPrefix ¶
func WorkflowIDHasPrefix(v object.ID) predicate.WorkflowStage
WorkflowIDHasPrefix applies the HasPrefix predicate on the "workflow_id" field.
func WorkflowIDHasSuffix ¶
func WorkflowIDHasSuffix(v object.ID) predicate.WorkflowStage
WorkflowIDHasSuffix applies the HasSuffix predicate on the "workflow_id" field.
func WorkflowIDIn ¶
func WorkflowIDIn(vs ...object.ID) predicate.WorkflowStage
WorkflowIDIn applies the In predicate on the "workflow_id" field.
func WorkflowIDLT ¶
func WorkflowIDLT(v object.ID) predicate.WorkflowStage
WorkflowIDLT applies the LT predicate on the "workflow_id" field.
func WorkflowIDLTE ¶
func WorkflowIDLTE(v object.ID) predicate.WorkflowStage
WorkflowIDLTE applies the LTE predicate on the "workflow_id" field.
func WorkflowIDNEQ ¶
func WorkflowIDNEQ(v object.ID) predicate.WorkflowStage
WorkflowIDNEQ applies the NEQ predicate on the "workflow_id" field.
func WorkflowIDNotIn ¶
func WorkflowIDNotIn(vs ...object.ID) predicate.WorkflowStage
WorkflowIDNotIn applies the NotIn predicate on the "workflow_id" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the WorkflowStage queries.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOrder ¶
func ByOrder(opts ...sql.OrderTermOption) OrderOption
ByOrder orders the results by the order 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 BySteps ¶
func BySteps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySteps orders the results by steps terms.
func ByStepsCount ¶
func ByStepsCount(opts ...sql.OrderTermOption) OrderOption
ByStepsCount orders the results by steps count.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.
func ByWorkflowField ¶
func ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkflowField orders the results by workflow field.
func ByWorkflowID ¶
func ByWorkflowID(opts ...sql.OrderTermOption) OrderOption
ByWorkflowID orders the results by the workflow_id field.