workflowinstance

package
v0.49.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowinstance type in the database.
	Label = "workflow_instance"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldDisplayID holds the string denoting the display_id field in the database.
	FieldDisplayID = "display_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldWorkflowDefinitionID holds the string denoting the workflow_definition_id field in the database.
	FieldWorkflowDefinitionID = "workflow_definition_id"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldContext holds the string denoting the context field in the database.
	FieldContext = "context"
	// FieldLastEvaluatedAt holds the string denoting the last_evaluated_at field in the database.
	FieldLastEvaluatedAt = "last_evaluated_at"
	// FieldDefinitionSnapshot holds the string denoting the definition_snapshot field in the database.
	FieldDefinitionSnapshot = "definition_snapshot"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeWorkflowDefinition holds the string denoting the workflow_definition edge name in mutations.
	EdgeWorkflowDefinition = "workflow_definition"
	// EdgeWorkflowAssignments holds the string denoting the workflow_assignments edge name in mutations.
	EdgeWorkflowAssignments = "workflow_assignments"
	// EdgeWorkflowEvents holds the string denoting the workflow_events edge name in mutations.
	EdgeWorkflowEvents = "workflow_events"
	// EdgeWorkflowObjectRefs holds the string denoting the workflow_object_refs edge name in mutations.
	EdgeWorkflowObjectRefs = "workflow_object_refs"
	// Table holds the table name of the workflowinstance in the database.
	Table = "workflow_instances"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "workflow_instances"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
	// WorkflowDefinitionTable is the table that holds the workflow_definition relation/edge.
	WorkflowDefinitionTable = "workflow_instances"
	// WorkflowDefinitionInverseTable is the table name for the WorkflowDefinition entity.
	// It exists in this package in order to avoid circular dependency with the "workflowdefinition" package.
	WorkflowDefinitionInverseTable = "workflow_definitions"
	// WorkflowDefinitionColumn is the table column denoting the workflow_definition relation/edge.
	WorkflowDefinitionColumn = "workflow_definition_id"
	// WorkflowAssignmentsTable is the table that holds the workflow_assignments relation/edge.
	WorkflowAssignmentsTable = "workflow_assignments"
	// WorkflowAssignmentsInverseTable is the table name for the WorkflowAssignment entity.
	// It exists in this package in order to avoid circular dependency with the "workflowassignment" package.
	WorkflowAssignmentsInverseTable = "workflow_assignments"
	// WorkflowAssignmentsColumn is the table column denoting the workflow_assignments relation/edge.
	WorkflowAssignmentsColumn = "workflow_instance_workflow_assignments"
	// WorkflowEventsTable is the table that holds the workflow_events relation/edge.
	WorkflowEventsTable = "workflow_events"
	// WorkflowEventsInverseTable is the table name for the WorkflowEvent entity.
	// It exists in this package in order to avoid circular dependency with the "workflowevent" package.
	WorkflowEventsInverseTable = "workflow_events"
	// WorkflowEventsColumn is the table column denoting the workflow_events relation/edge.
	WorkflowEventsColumn = "workflow_instance_workflow_events"
	// WorkflowObjectRefsTable is the table that holds the workflow_object_refs relation/edge.
	WorkflowObjectRefsTable = "workflow_object_refs"
	// WorkflowObjectRefsInverseTable is the table name for the WorkflowObjectRef entity.
	// It exists in this package in order to avoid circular dependency with the "workflowobjectref" package.
	WorkflowObjectRefsInverseTable = "workflow_object_refs"
	// WorkflowObjectRefsColumn is the table column denoting the workflow_object_refs relation/edge.
	WorkflowObjectRefsColumn = "workflow_instance_workflow_object_refs"
)
View Source
const DefaultState enums.WorkflowInstanceState = "RUNNING"

Variables

View Source
var (
	Hooks        [7]ent.Hook
	Interceptors [3]ent.Interceptor
	Policy       ent.Policy
	// 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
	// DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save.
	DisplayIDValidator func(string) error
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// WorkflowDefinitionIDValidator is a validator for the "workflow_definition_id" field. It is called by the builders before save.
	WorkflowDefinitionIDValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

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/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for workflowinstance fields.

Functions

func And

And groups predicates with the AND operator between them.

func ContextIsNil

func ContextIsNil() predicate.WorkflowInstance

ContextIsNil applies the IsNil predicate on the "context" field.

func ContextNotNil

func ContextNotNil() predicate.WorkflowInstance

ContextNotNil applies the NotNil predicate on the "context" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.WorkflowInstance

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.WorkflowInstance

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.WorkflowInstance

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.WorkflowInstance

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.WorkflowInstance

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.WorkflowInstance

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.WorkflowInstance

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.WorkflowInstance

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.WorkflowInstance

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.WorkflowInstance

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.WorkflowInstance

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.WorkflowInstance

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.WorkflowInstance

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.WorkflowInstance

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.WorkflowInstance

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.WorkflowInstance

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.WorkflowInstance

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.WorkflowInstance

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.WorkflowInstance

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.WorkflowInstance

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.WorkflowInstance

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.WorkflowInstance

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.WorkflowInstance

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.WorkflowInstance

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.WorkflowInstance

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.WorkflowInstance

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.WorkflowInstance

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DefinitionSnapshotIsNil

func DefinitionSnapshotIsNil() predicate.WorkflowInstance

DefinitionSnapshotIsNil applies the IsNil predicate on the "definition_snapshot" field.

func DefinitionSnapshotNotNil

func DefinitionSnapshotNotNil() predicate.WorkflowInstance

DefinitionSnapshotNotNil applies the NotNil predicate on the "definition_snapshot" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.WorkflowInstance

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.WorkflowInstance

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.WorkflowInstance

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.WorkflowInstance

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.WorkflowInstance

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.WorkflowInstance

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.WorkflowInstance

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.WorkflowInstance

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.WorkflowInstance

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.WorkflowInstance

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.WorkflowInstance

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.WorkflowInstance

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.WorkflowInstance

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.WorkflowInstance

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.WorkflowInstance

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.WorkflowInstance

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.WorkflowInstance

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.WorkflowInstance

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.WorkflowInstance

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.WorkflowInstance

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.WorkflowInstance

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.WorkflowInstance

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.WorkflowInstance

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.WorkflowInstance

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.WorkflowInstance

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.WorkflowInstance

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.WorkflowInstance

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func DisplayID

func DisplayID(v string) predicate.WorkflowInstance

DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.

func DisplayIDContains

func DisplayIDContains(v string) predicate.WorkflowInstance

DisplayIDContains applies the Contains predicate on the "display_id" field.

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.WorkflowInstance

DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.WorkflowInstance

DisplayIDEQ applies the EQ predicate on the "display_id" field.

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.WorkflowInstance

DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.

func DisplayIDGT

func DisplayIDGT(v string) predicate.WorkflowInstance

DisplayIDGT applies the GT predicate on the "display_id" field.

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.WorkflowInstance

DisplayIDGTE applies the GTE predicate on the "display_id" field.

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.WorkflowInstance

DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.WorkflowInstance

DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.

func DisplayIDIn

func DisplayIDIn(vs ...string) predicate.WorkflowInstance

DisplayIDIn applies the In predicate on the "display_id" field.

func DisplayIDLT

func DisplayIDLT(v string) predicate.WorkflowInstance

DisplayIDLT applies the LT predicate on the "display_id" field.

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.WorkflowInstance

DisplayIDLTE applies the LTE predicate on the "display_id" field.

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.WorkflowInstance

DisplayIDNEQ applies the NEQ predicate on the "display_id" field.

func DisplayIDNotIn

func DisplayIDNotIn(vs ...string) predicate.WorkflowInstance

DisplayIDNotIn applies the NotIn predicate on the "display_id" field.

func HasOwner

func HasOwner() predicate.WorkflowInstance

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Organization) predicate.WorkflowInstance

HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).

func HasWorkflowAssignments

func HasWorkflowAssignments() predicate.WorkflowInstance

HasWorkflowAssignments applies the HasEdge predicate on the "workflow_assignments" edge.

func HasWorkflowAssignmentsWith

func HasWorkflowAssignmentsWith(preds ...predicate.WorkflowAssignment) predicate.WorkflowInstance

HasWorkflowAssignmentsWith applies the HasEdge predicate on the "workflow_assignments" edge with a given conditions (other predicates).

func HasWorkflowDefinition

func HasWorkflowDefinition() predicate.WorkflowInstance

HasWorkflowDefinition applies the HasEdge predicate on the "workflow_definition" edge.

func HasWorkflowDefinitionWith

func HasWorkflowDefinitionWith(preds ...predicate.WorkflowDefinition) predicate.WorkflowInstance

HasWorkflowDefinitionWith applies the HasEdge predicate on the "workflow_definition" edge with a given conditions (other predicates).

func HasWorkflowEvents

func HasWorkflowEvents() predicate.WorkflowInstance

HasWorkflowEvents applies the HasEdge predicate on the "workflow_events" edge.

func HasWorkflowEventsWith

func HasWorkflowEventsWith(preds ...predicate.WorkflowEvent) predicate.WorkflowInstance

HasWorkflowEventsWith applies the HasEdge predicate on the "workflow_events" edge with a given conditions (other predicates).

func HasWorkflowObjectRefs

func HasWorkflowObjectRefs() predicate.WorkflowInstance

HasWorkflowObjectRefs applies the HasEdge predicate on the "workflow_object_refs" edge.

func HasWorkflowObjectRefsWith

func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.WorkflowInstance

HasWorkflowObjectRefsWith applies the HasEdge predicate on the "workflow_object_refs" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.WorkflowInstance

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.WorkflowInstance

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.WorkflowInstance

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.WorkflowInstance

IDNotIn applies the NotIn predicate on the ID field.

func LastEvaluatedAt

func LastEvaluatedAt(v time.Time) predicate.WorkflowInstance

LastEvaluatedAt applies equality check predicate on the "last_evaluated_at" field. It's identical to LastEvaluatedAtEQ.

func LastEvaluatedAtEQ

func LastEvaluatedAtEQ(v time.Time) predicate.WorkflowInstance

LastEvaluatedAtEQ applies the EQ predicate on the "last_evaluated_at" field.

func LastEvaluatedAtGT

func LastEvaluatedAtGT(v time.Time) predicate.WorkflowInstance

LastEvaluatedAtGT applies the GT predicate on the "last_evaluated_at" field.

func LastEvaluatedAtGTE

func LastEvaluatedAtGTE(v time.Time) predicate.WorkflowInstance

LastEvaluatedAtGTE applies the GTE predicate on the "last_evaluated_at" field.

func LastEvaluatedAtIn

func LastEvaluatedAtIn(vs ...time.Time) predicate.WorkflowInstance

LastEvaluatedAtIn applies the In predicate on the "last_evaluated_at" field.

func LastEvaluatedAtIsNil

func LastEvaluatedAtIsNil() predicate.WorkflowInstance

LastEvaluatedAtIsNil applies the IsNil predicate on the "last_evaluated_at" field.

func LastEvaluatedAtLT

func LastEvaluatedAtLT(v time.Time) predicate.WorkflowInstance

LastEvaluatedAtLT applies the LT predicate on the "last_evaluated_at" field.

func LastEvaluatedAtLTE

func LastEvaluatedAtLTE(v time.Time) predicate.WorkflowInstance

LastEvaluatedAtLTE applies the LTE predicate on the "last_evaluated_at" field.

func LastEvaluatedAtNEQ

func LastEvaluatedAtNEQ(v time.Time) predicate.WorkflowInstance

LastEvaluatedAtNEQ applies the NEQ predicate on the "last_evaluated_at" field.

func LastEvaluatedAtNotIn

func LastEvaluatedAtNotIn(vs ...time.Time) predicate.WorkflowInstance

LastEvaluatedAtNotIn applies the NotIn predicate on the "last_evaluated_at" field.

func LastEvaluatedAtNotNil

func LastEvaluatedAtNotNil() predicate.WorkflowInstance

LastEvaluatedAtNotNil applies the NotNil predicate on the "last_evaluated_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.WorkflowInstance

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.WorkflowInstance

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.WorkflowInstance

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.WorkflowInstance

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.WorkflowInstance

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.WorkflowInstance

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.WorkflowInstance

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.WorkflowInstance

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.WorkflowInstance

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.WorkflowInstance

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.WorkflowInstance

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.WorkflowInstance

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.WorkflowInstance

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.WorkflowInstance

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.WorkflowInstance

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func StateEQ

StateEQ applies the EQ predicate on the "state" field.

func StateIn

StateIn applies the In predicate on the "state" field.

func StateNEQ

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

StateNotIn applies the NotIn predicate on the "state" field.

func StateValidator

func StateValidator(s enums.WorkflowInstanceState) error

StateValidator is a validator for the "state" field enum values. It is called by the builders before save.

func TagsIsNil

func TagsIsNil() predicate.WorkflowInstance

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.WorkflowInstance

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.WorkflowInstance

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.WorkflowInstance

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.WorkflowInstance

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.WorkflowInstance

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.WorkflowInstance

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.WorkflowInstance

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.WorkflowInstance

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.WorkflowInstance

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.WorkflowInstance

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.WorkflowInstance

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.WorkflowInstance

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.WorkflowInstance

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.WorkflowInstance

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.WorkflowInstance

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.WorkflowInstance

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.WorkflowInstance

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.WorkflowInstance

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.WorkflowInstance

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.WorkflowInstance

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.WorkflowInstance

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.WorkflowInstance

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.WorkflowInstance

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.WorkflowInstance

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.WorkflowInstance

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.WorkflowInstance

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.WorkflowInstance

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.WorkflowInstance

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WorkflowDefinitionID

func WorkflowDefinitionID(v string) predicate.WorkflowInstance

WorkflowDefinitionID applies equality check predicate on the "workflow_definition_id" field. It's identical to WorkflowDefinitionIDEQ.

func WorkflowDefinitionIDContains

func WorkflowDefinitionIDContains(v string) predicate.WorkflowInstance

WorkflowDefinitionIDContains applies the Contains predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDContainsFold

func WorkflowDefinitionIDContainsFold(v string) predicate.WorkflowInstance

WorkflowDefinitionIDContainsFold applies the ContainsFold predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDEQ

func WorkflowDefinitionIDEQ(v string) predicate.WorkflowInstance

WorkflowDefinitionIDEQ applies the EQ predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDEqualFold

func WorkflowDefinitionIDEqualFold(v string) predicate.WorkflowInstance

WorkflowDefinitionIDEqualFold applies the EqualFold predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDGT

func WorkflowDefinitionIDGT(v string) predicate.WorkflowInstance

WorkflowDefinitionIDGT applies the GT predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDGTE

func WorkflowDefinitionIDGTE(v string) predicate.WorkflowInstance

WorkflowDefinitionIDGTE applies the GTE predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDHasPrefix

func WorkflowDefinitionIDHasPrefix(v string) predicate.WorkflowInstance

WorkflowDefinitionIDHasPrefix applies the HasPrefix predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDHasSuffix

func WorkflowDefinitionIDHasSuffix(v string) predicate.WorkflowInstance

WorkflowDefinitionIDHasSuffix applies the HasSuffix predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDIn

func WorkflowDefinitionIDIn(vs ...string) predicate.WorkflowInstance

WorkflowDefinitionIDIn applies the In predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDLT

func WorkflowDefinitionIDLT(v string) predicate.WorkflowInstance

WorkflowDefinitionIDLT applies the LT predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDLTE

func WorkflowDefinitionIDLTE(v string) predicate.WorkflowInstance

WorkflowDefinitionIDLTE applies the LTE predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDNEQ

func WorkflowDefinitionIDNEQ(v string) predicate.WorkflowInstance

WorkflowDefinitionIDNEQ applies the NEQ predicate on the "workflow_definition_id" field.

func WorkflowDefinitionIDNotIn

func WorkflowDefinitionIDNotIn(vs ...string) predicate.WorkflowInstance

WorkflowDefinitionIDNotIn applies the NotIn predicate on the "workflow_definition_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowInstance queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption

ByDeletedBy orders the results by the deleted_by field.

func ByDisplayID

func ByDisplayID(opts ...sql.OrderTermOption) OrderOption

ByDisplayID orders the results by the display_id field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLastEvaluatedAt

func ByLastEvaluatedAt(opts ...sql.OrderTermOption) OrderOption

ByLastEvaluatedAt orders the results by the last_evaluated_at field.

func ByOwnerField

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID

func ByOwnerID(opts ...sql.OrderTermOption) OrderOption

ByOwnerID orders the results by the owner_id field.

func ByState

func ByState(opts ...sql.OrderTermOption) OrderOption

ByState orders the results by the state field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption

ByUpdatedBy orders the results by the updated_by field.

func ByWorkflowAssignments

func ByWorkflowAssignments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByWorkflowAssignments orders the results by workflow_assignments terms.

func ByWorkflowAssignmentsCount

func ByWorkflowAssignmentsCount(opts ...sql.OrderTermOption) OrderOption

ByWorkflowAssignmentsCount orders the results by workflow_assignments count.

func ByWorkflowDefinitionField

func ByWorkflowDefinitionField(field string, opts ...sql.OrderTermOption) OrderOption

ByWorkflowDefinitionField orders the results by workflow_definition field.

func ByWorkflowDefinitionID

func ByWorkflowDefinitionID(opts ...sql.OrderTermOption) OrderOption

ByWorkflowDefinitionID orders the results by the workflow_definition_id field.

func ByWorkflowEvents

func ByWorkflowEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByWorkflowEvents orders the results by workflow_events terms.

func ByWorkflowEventsCount

func ByWorkflowEventsCount(opts ...sql.OrderTermOption) OrderOption

ByWorkflowEventsCount orders the results by workflow_events count.

func ByWorkflowObjectRefs

func ByWorkflowObjectRefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByWorkflowObjectRefs orders the results by workflow_object_refs terms.

func ByWorkflowObjectRefsCount

func ByWorkflowObjectRefsCount(opts ...sql.OrderTermOption) OrderOption

ByWorkflowObjectRefsCount orders the results by workflow_object_refs count.

Jump to

Keyboard shortcuts

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