workflowassignment

package
v0.52.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowassignment type in the database.
	Label = "workflow_assignment"
	// 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"
	// FieldWorkflowInstanceID holds the string denoting the workflow_instance_id field in the database.
	FieldWorkflowInstanceID = "workflow_instance_id"
	// FieldAssignmentKey holds the string denoting the assignment_key field in the database.
	FieldAssignmentKey = "assignment_key"
	// FieldRole holds the string denoting the role field in the database.
	FieldRole = "role"
	// FieldLabel holds the string denoting the label field in the database.
	FieldLabel = "label"
	// FieldRequired holds the string denoting the required field in the database.
	FieldRequired = "required"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldDecidedAt holds the string denoting the decided_at field in the database.
	FieldDecidedAt = "decided_at"
	// FieldActorUserID holds the string denoting the actor_user_id field in the database.
	FieldActorUserID = "actor_user_id"
	// FieldActorGroupID holds the string denoting the actor_group_id field in the database.
	FieldActorGroupID = "actor_group_id"
	// FieldNotes holds the string denoting the notes field in the database.
	FieldNotes = "notes"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeWorkflowInstance holds the string denoting the workflow_instance edge name in mutations.
	EdgeWorkflowInstance = "workflow_instance"
	// EdgeWorkflowAssignmentTargets holds the string denoting the workflow_assignment_targets edge name in mutations.
	EdgeWorkflowAssignmentTargets = "workflow_assignment_targets"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeGroup holds the string denoting the group edge name in mutations.
	EdgeGroup = "group"
	// Table holds the table name of the workflowassignment in the database.
	Table = "workflow_assignments"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "workflow_assignments"
	// 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"
	// WorkflowInstanceTable is the table that holds the workflow_instance relation/edge.
	WorkflowInstanceTable = "workflow_assignments"
	// WorkflowInstanceInverseTable is the table name for the WorkflowInstance entity.
	// It exists in this package in order to avoid circular dependency with the "workflowinstance" package.
	WorkflowInstanceInverseTable = "workflow_instances"
	// WorkflowInstanceColumn is the table column denoting the workflow_instance relation/edge.
	WorkflowInstanceColumn = "workflow_instance_id"
	// WorkflowAssignmentTargetsTable is the table that holds the workflow_assignment_targets relation/edge.
	WorkflowAssignmentTargetsTable = "workflow_assignment_targets"
	// WorkflowAssignmentTargetsInverseTable is the table name for the WorkflowAssignmentTarget entity.
	// It exists in this package in order to avoid circular dependency with the "workflowassignmenttarget" package.
	WorkflowAssignmentTargetsInverseTable = "workflow_assignment_targets"
	// WorkflowAssignmentTargetsColumn is the table column denoting the workflow_assignment_targets relation/edge.
	WorkflowAssignmentTargetsColumn = "workflow_assignment_workflow_assignment_targets"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "workflow_assignments"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "actor_user_id"
	// GroupTable is the table that holds the group relation/edge.
	GroupTable = "workflow_assignments"
	// GroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupInverseTable = "groups"
	// GroupColumn is the table column denoting the group relation/edge.
	GroupColumn = "actor_group_id"
)
View Source
const DefaultStatus enums.WorkflowAssignmentStatus = "PENDING"

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
	// WorkflowInstanceIDValidator is a validator for the "workflow_instance_id" field. It is called by the builders before save.
	WorkflowInstanceIDValidator func(string) error
	// AssignmentKeyValidator is a validator for the "assignment_key" field. It is called by the builders before save.
	AssignmentKeyValidator func(string) error
	// DefaultRole holds the default value on creation for the "role" field.
	DefaultRole string
	// DefaultRequired holds the default value on creation for the "required" field.
	DefaultRequired bool
	// 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 workflowassignment fields.

View Source
var ForeignKeys = []string{
	"workflow_instance_workflow_assignments",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "workflow_assignments" table and are not defined as standalone fields in the schema.

Functions

func ActorGroupID

func ActorGroupID(v string) predicate.WorkflowAssignment

ActorGroupID applies equality check predicate on the "actor_group_id" field. It's identical to ActorGroupIDEQ.

func ActorGroupIDContains

func ActorGroupIDContains(v string) predicate.WorkflowAssignment

ActorGroupIDContains applies the Contains predicate on the "actor_group_id" field.

func ActorGroupIDContainsFold

func ActorGroupIDContainsFold(v string) predicate.WorkflowAssignment

ActorGroupIDContainsFold applies the ContainsFold predicate on the "actor_group_id" field.

func ActorGroupIDEQ

func ActorGroupIDEQ(v string) predicate.WorkflowAssignment

ActorGroupIDEQ applies the EQ predicate on the "actor_group_id" field.

func ActorGroupIDEqualFold

func ActorGroupIDEqualFold(v string) predicate.WorkflowAssignment

ActorGroupIDEqualFold applies the EqualFold predicate on the "actor_group_id" field.

func ActorGroupIDGT

func ActorGroupIDGT(v string) predicate.WorkflowAssignment

ActorGroupIDGT applies the GT predicate on the "actor_group_id" field.

func ActorGroupIDGTE

func ActorGroupIDGTE(v string) predicate.WorkflowAssignment

ActorGroupIDGTE applies the GTE predicate on the "actor_group_id" field.

func ActorGroupIDHasPrefix

func ActorGroupIDHasPrefix(v string) predicate.WorkflowAssignment

ActorGroupIDHasPrefix applies the HasPrefix predicate on the "actor_group_id" field.

func ActorGroupIDHasSuffix

func ActorGroupIDHasSuffix(v string) predicate.WorkflowAssignment

ActorGroupIDHasSuffix applies the HasSuffix predicate on the "actor_group_id" field.

func ActorGroupIDIn

func ActorGroupIDIn(vs ...string) predicate.WorkflowAssignment

ActorGroupIDIn applies the In predicate on the "actor_group_id" field.

func ActorGroupIDIsNil

func ActorGroupIDIsNil() predicate.WorkflowAssignment

ActorGroupIDIsNil applies the IsNil predicate on the "actor_group_id" field.

func ActorGroupIDLT

func ActorGroupIDLT(v string) predicate.WorkflowAssignment

ActorGroupIDLT applies the LT predicate on the "actor_group_id" field.

func ActorGroupIDLTE

func ActorGroupIDLTE(v string) predicate.WorkflowAssignment

ActorGroupIDLTE applies the LTE predicate on the "actor_group_id" field.

func ActorGroupIDNEQ

func ActorGroupIDNEQ(v string) predicate.WorkflowAssignment

ActorGroupIDNEQ applies the NEQ predicate on the "actor_group_id" field.

func ActorGroupIDNotIn

func ActorGroupIDNotIn(vs ...string) predicate.WorkflowAssignment

ActorGroupIDNotIn applies the NotIn predicate on the "actor_group_id" field.

func ActorGroupIDNotNil

func ActorGroupIDNotNil() predicate.WorkflowAssignment

ActorGroupIDNotNil applies the NotNil predicate on the "actor_group_id" field.

func ActorUserID

func ActorUserID(v string) predicate.WorkflowAssignment

ActorUserID applies equality check predicate on the "actor_user_id" field. It's identical to ActorUserIDEQ.

func ActorUserIDContains

func ActorUserIDContains(v string) predicate.WorkflowAssignment

ActorUserIDContains applies the Contains predicate on the "actor_user_id" field.

func ActorUserIDContainsFold

func ActorUserIDContainsFold(v string) predicate.WorkflowAssignment

ActorUserIDContainsFold applies the ContainsFold predicate on the "actor_user_id" field.

func ActorUserIDEQ

func ActorUserIDEQ(v string) predicate.WorkflowAssignment

ActorUserIDEQ applies the EQ predicate on the "actor_user_id" field.

func ActorUserIDEqualFold

func ActorUserIDEqualFold(v string) predicate.WorkflowAssignment

ActorUserIDEqualFold applies the EqualFold predicate on the "actor_user_id" field.

func ActorUserIDGT

func ActorUserIDGT(v string) predicate.WorkflowAssignment

ActorUserIDGT applies the GT predicate on the "actor_user_id" field.

func ActorUserIDGTE

func ActorUserIDGTE(v string) predicate.WorkflowAssignment

ActorUserIDGTE applies the GTE predicate on the "actor_user_id" field.

func ActorUserIDHasPrefix

func ActorUserIDHasPrefix(v string) predicate.WorkflowAssignment

ActorUserIDHasPrefix applies the HasPrefix predicate on the "actor_user_id" field.

func ActorUserIDHasSuffix

func ActorUserIDHasSuffix(v string) predicate.WorkflowAssignment

ActorUserIDHasSuffix applies the HasSuffix predicate on the "actor_user_id" field.

func ActorUserIDIn

func ActorUserIDIn(vs ...string) predicate.WorkflowAssignment

ActorUserIDIn applies the In predicate on the "actor_user_id" field.

func ActorUserIDIsNil

func ActorUserIDIsNil() predicate.WorkflowAssignment

ActorUserIDIsNil applies the IsNil predicate on the "actor_user_id" field.

func ActorUserIDLT

func ActorUserIDLT(v string) predicate.WorkflowAssignment

ActorUserIDLT applies the LT predicate on the "actor_user_id" field.

func ActorUserIDLTE

func ActorUserIDLTE(v string) predicate.WorkflowAssignment

ActorUserIDLTE applies the LTE predicate on the "actor_user_id" field.

func ActorUserIDNEQ

func ActorUserIDNEQ(v string) predicate.WorkflowAssignment

ActorUserIDNEQ applies the NEQ predicate on the "actor_user_id" field.

func ActorUserIDNotIn

func ActorUserIDNotIn(vs ...string) predicate.WorkflowAssignment

ActorUserIDNotIn applies the NotIn predicate on the "actor_user_id" field.

func ActorUserIDNotNil

func ActorUserIDNotNil() predicate.WorkflowAssignment

ActorUserIDNotNil applies the NotNil predicate on the "actor_user_id" field.

func And

And groups predicates with the AND operator between them.

func AssignmentKey

func AssignmentKey(v string) predicate.WorkflowAssignment

AssignmentKey applies equality check predicate on the "assignment_key" field. It's identical to AssignmentKeyEQ.

func AssignmentKeyContains

func AssignmentKeyContains(v string) predicate.WorkflowAssignment

AssignmentKeyContains applies the Contains predicate on the "assignment_key" field.

func AssignmentKeyContainsFold

func AssignmentKeyContainsFold(v string) predicate.WorkflowAssignment

AssignmentKeyContainsFold applies the ContainsFold predicate on the "assignment_key" field.

func AssignmentKeyEQ

func AssignmentKeyEQ(v string) predicate.WorkflowAssignment

AssignmentKeyEQ applies the EQ predicate on the "assignment_key" field.

func AssignmentKeyEqualFold

func AssignmentKeyEqualFold(v string) predicate.WorkflowAssignment

AssignmentKeyEqualFold applies the EqualFold predicate on the "assignment_key" field.

func AssignmentKeyGT

func AssignmentKeyGT(v string) predicate.WorkflowAssignment

AssignmentKeyGT applies the GT predicate on the "assignment_key" field.

func AssignmentKeyGTE

func AssignmentKeyGTE(v string) predicate.WorkflowAssignment

AssignmentKeyGTE applies the GTE predicate on the "assignment_key" field.

func AssignmentKeyHasPrefix

func AssignmentKeyHasPrefix(v string) predicate.WorkflowAssignment

AssignmentKeyHasPrefix applies the HasPrefix predicate on the "assignment_key" field.

func AssignmentKeyHasSuffix

func AssignmentKeyHasSuffix(v string) predicate.WorkflowAssignment

AssignmentKeyHasSuffix applies the HasSuffix predicate on the "assignment_key" field.

func AssignmentKeyIn

func AssignmentKeyIn(vs ...string) predicate.WorkflowAssignment

AssignmentKeyIn applies the In predicate on the "assignment_key" field.

func AssignmentKeyLT

func AssignmentKeyLT(v string) predicate.WorkflowAssignment

AssignmentKeyLT applies the LT predicate on the "assignment_key" field.

func AssignmentKeyLTE

func AssignmentKeyLTE(v string) predicate.WorkflowAssignment

AssignmentKeyLTE applies the LTE predicate on the "assignment_key" field.

func AssignmentKeyNEQ

func AssignmentKeyNEQ(v string) predicate.WorkflowAssignment

AssignmentKeyNEQ applies the NEQ predicate on the "assignment_key" field.

func AssignmentKeyNotIn

func AssignmentKeyNotIn(vs ...string) predicate.WorkflowAssignment

AssignmentKeyNotIn applies the NotIn predicate on the "assignment_key" field.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.WorkflowAssignment

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.WorkflowAssignment

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.WorkflowAssignment

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.WorkflowAssignment

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.WorkflowAssignment

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.WorkflowAssignment

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.WorkflowAssignment

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.WorkflowAssignment

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

func CreatedBy

func CreatedBy(v string) predicate.WorkflowAssignment

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

func CreatedByContains

func CreatedByContains(v string) predicate.WorkflowAssignment

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.WorkflowAssignment

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.WorkflowAssignment

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.WorkflowAssignment

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

func CreatedByGT

func CreatedByGT(v string) predicate.WorkflowAssignment

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.WorkflowAssignment

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.WorkflowAssignment

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.WorkflowAssignment

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.WorkflowAssignment

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

func CreatedByLT

func CreatedByLT(v string) predicate.WorkflowAssignment

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.WorkflowAssignment

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.WorkflowAssignment

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.WorkflowAssignment

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

func DecidedAt

DecidedAt applies equality check predicate on the "decided_at" field. It's identical to DecidedAtEQ.

func DecidedAtEQ

func DecidedAtEQ(v time.Time) predicate.WorkflowAssignment

DecidedAtEQ applies the EQ predicate on the "decided_at" field.

func DecidedAtGT

func DecidedAtGT(v time.Time) predicate.WorkflowAssignment

DecidedAtGT applies the GT predicate on the "decided_at" field.

func DecidedAtGTE

func DecidedAtGTE(v time.Time) predicate.WorkflowAssignment

DecidedAtGTE applies the GTE predicate on the "decided_at" field.

func DecidedAtIn

func DecidedAtIn(vs ...time.Time) predicate.WorkflowAssignment

DecidedAtIn applies the In predicate on the "decided_at" field.

func DecidedAtIsNil

func DecidedAtIsNil() predicate.WorkflowAssignment

DecidedAtIsNil applies the IsNil predicate on the "decided_at" field.

func DecidedAtLT

func DecidedAtLT(v time.Time) predicate.WorkflowAssignment

DecidedAtLT applies the LT predicate on the "decided_at" field.

func DecidedAtLTE

func DecidedAtLTE(v time.Time) predicate.WorkflowAssignment

DecidedAtLTE applies the LTE predicate on the "decided_at" field.

func DecidedAtNEQ

func DecidedAtNEQ(v time.Time) predicate.WorkflowAssignment

DecidedAtNEQ applies the NEQ predicate on the "decided_at" field.

func DecidedAtNotIn

func DecidedAtNotIn(vs ...time.Time) predicate.WorkflowAssignment

DecidedAtNotIn applies the NotIn predicate on the "decided_at" field.

func DecidedAtNotNil

func DecidedAtNotNil() predicate.WorkflowAssignment

DecidedAtNotNil applies the NotNil predicate on the "decided_at" field.

func DeletedAt

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.WorkflowAssignment

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.WorkflowAssignment

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.WorkflowAssignment

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.WorkflowAssignment

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.WorkflowAssignment

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.WorkflowAssignment

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.WorkflowAssignment

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.WorkflowAssignment

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

func DeletedBy

func DeletedBy(v string) predicate.WorkflowAssignment

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

func DeletedByContains

func DeletedByContains(v string) predicate.WorkflowAssignment

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.WorkflowAssignment

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.WorkflowAssignment

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.WorkflowAssignment

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

func DeletedByGT

func DeletedByGT(v string) predicate.WorkflowAssignment

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.WorkflowAssignment

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.WorkflowAssignment

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.WorkflowAssignment

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.WorkflowAssignment

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

func DeletedByLT

func DeletedByLT(v string) predicate.WorkflowAssignment

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.WorkflowAssignment

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.WorkflowAssignment

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.WorkflowAssignment

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

func DisplayID

func DisplayID(v string) predicate.WorkflowAssignment

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

func DisplayIDContains

func DisplayIDContains(v string) predicate.WorkflowAssignment

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

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.WorkflowAssignment

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

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.WorkflowAssignment

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

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.WorkflowAssignment

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

func DisplayIDGT

func DisplayIDGT(v string) predicate.WorkflowAssignment

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

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.WorkflowAssignment

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

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.WorkflowAssignment

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

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.WorkflowAssignment

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

func DisplayIDIn

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

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

func DisplayIDLT

func DisplayIDLT(v string) predicate.WorkflowAssignment

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

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.WorkflowAssignment

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

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.WorkflowAssignment

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

func DisplayIDNotIn

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

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

func HasGroup

func HasGroup() predicate.WorkflowAssignment

HasGroup applies the HasEdge predicate on the "group" edge.

func HasGroupWith

func HasGroupWith(preds ...predicate.Group) predicate.WorkflowAssignment

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

func HasOwner

func HasOwner() predicate.WorkflowAssignment

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

func HasOwnerWith

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

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

func HasUser

func HasUser() predicate.WorkflowAssignment

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.WorkflowAssignment

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

func HasWorkflowAssignmentTargets

func HasWorkflowAssignmentTargets() predicate.WorkflowAssignment

HasWorkflowAssignmentTargets applies the HasEdge predicate on the "workflow_assignment_targets" edge.

func HasWorkflowAssignmentTargetsWith

func HasWorkflowAssignmentTargetsWith(preds ...predicate.WorkflowAssignmentTarget) predicate.WorkflowAssignment

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

func HasWorkflowInstance

func HasWorkflowInstance() predicate.WorkflowAssignment

HasWorkflowInstance applies the HasEdge predicate on the "workflow_instance" edge.

func HasWorkflowInstanceWith

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

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.WorkflowAssignment

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func LabelContains

func LabelContains(v string) predicate.WorkflowAssignment

LabelContains applies the Contains predicate on the "label" field.

func LabelContainsFold

func LabelContainsFold(v string) predicate.WorkflowAssignment

LabelContainsFold applies the ContainsFold predicate on the "label" field.

func LabelEQ

LabelEQ applies the EQ predicate on the "label" field.

func LabelEqualFold

func LabelEqualFold(v string) predicate.WorkflowAssignment

LabelEqualFold applies the EqualFold predicate on the "label" field.

func LabelGT

LabelGT applies the GT predicate on the "label" field.

func LabelGTE

LabelGTE applies the GTE predicate on the "label" field.

func LabelHasPrefix

func LabelHasPrefix(v string) predicate.WorkflowAssignment

LabelHasPrefix applies the HasPrefix predicate on the "label" field.

func LabelHasSuffix

func LabelHasSuffix(v string) predicate.WorkflowAssignment

LabelHasSuffix applies the HasSuffix predicate on the "label" field.

func LabelIn

func LabelIn(vs ...string) predicate.WorkflowAssignment

LabelIn applies the In predicate on the "label" field.

func LabelIsNil

func LabelIsNil() predicate.WorkflowAssignment

LabelIsNil applies the IsNil predicate on the "label" field.

func LabelLT

LabelLT applies the LT predicate on the "label" field.

func LabelLTE

LabelLTE applies the LTE predicate on the "label" field.

func LabelNEQ

LabelNEQ applies the NEQ predicate on the "label" field.

func LabelNotIn

func LabelNotIn(vs ...string) predicate.WorkflowAssignment

LabelNotIn applies the NotIn predicate on the "label" field.

func LabelNotNil

func LabelNotNil() predicate.WorkflowAssignment

LabelNotNil applies the NotNil predicate on the "label" field.

func MetadataIsNil

func MetadataIsNil() predicate.WorkflowAssignment

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.WorkflowAssignment

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Not

Not applies the not operator on the given predicate.

func Notes

Notes applies equality check predicate on the "notes" field. It's identical to NotesEQ.

func NotesContains

func NotesContains(v string) predicate.WorkflowAssignment

NotesContains applies the Contains predicate on the "notes" field.

func NotesContainsFold

func NotesContainsFold(v string) predicate.WorkflowAssignment

NotesContainsFold applies the ContainsFold predicate on the "notes" field.

func NotesEQ

NotesEQ applies the EQ predicate on the "notes" field.

func NotesEqualFold

func NotesEqualFold(v string) predicate.WorkflowAssignment

NotesEqualFold applies the EqualFold predicate on the "notes" field.

func NotesGT

NotesGT applies the GT predicate on the "notes" field.

func NotesGTE

NotesGTE applies the GTE predicate on the "notes" field.

func NotesHasPrefix

func NotesHasPrefix(v string) predicate.WorkflowAssignment

NotesHasPrefix applies the HasPrefix predicate on the "notes" field.

func NotesHasSuffix

func NotesHasSuffix(v string) predicate.WorkflowAssignment

NotesHasSuffix applies the HasSuffix predicate on the "notes" field.

func NotesIn

func NotesIn(vs ...string) predicate.WorkflowAssignment

NotesIn applies the In predicate on the "notes" field.

func NotesIsNil

func NotesIsNil() predicate.WorkflowAssignment

NotesIsNil applies the IsNil predicate on the "notes" field.

func NotesLT

NotesLT applies the LT predicate on the "notes" field.

func NotesLTE

NotesLTE applies the LTE predicate on the "notes" field.

func NotesNEQ

NotesNEQ applies the NEQ predicate on the "notes" field.

func NotesNotIn

func NotesNotIn(vs ...string) predicate.WorkflowAssignment

NotesNotIn applies the NotIn predicate on the "notes" field.

func NotesNotNil

func NotesNotNil() predicate.WorkflowAssignment

NotesNotNil applies the NotNil predicate on the "notes" field.

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

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.WorkflowAssignment

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.WorkflowAssignment

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.WorkflowAssignment

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.WorkflowAssignment

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.WorkflowAssignment

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.WorkflowAssignment

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.WorkflowAssignment

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.WorkflowAssignment

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.WorkflowAssignment

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.WorkflowAssignment

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.WorkflowAssignment

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.WorkflowAssignment

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

func Required

func Required(v bool) predicate.WorkflowAssignment

Required applies equality check predicate on the "required" field. It's identical to RequiredEQ.

func RequiredEQ

func RequiredEQ(v bool) predicate.WorkflowAssignment

RequiredEQ applies the EQ predicate on the "required" field.

func RequiredNEQ

func RequiredNEQ(v bool) predicate.WorkflowAssignment

RequiredNEQ applies the NEQ predicate on the "required" field.

func Role

Role applies equality check predicate on the "role" field. It's identical to RoleEQ.

func RoleContains

func RoleContains(v string) predicate.WorkflowAssignment

RoleContains applies the Contains predicate on the "role" field.

func RoleContainsFold

func RoleContainsFold(v string) predicate.WorkflowAssignment

RoleContainsFold applies the ContainsFold predicate on the "role" field.

func RoleEQ

RoleEQ applies the EQ predicate on the "role" field.

func RoleEqualFold

func RoleEqualFold(v string) predicate.WorkflowAssignment

RoleEqualFold applies the EqualFold predicate on the "role" field.

func RoleGT

RoleGT applies the GT predicate on the "role" field.

func RoleGTE

RoleGTE applies the GTE predicate on the "role" field.

func RoleHasPrefix

func RoleHasPrefix(v string) predicate.WorkflowAssignment

RoleHasPrefix applies the HasPrefix predicate on the "role" field.

func RoleHasSuffix

func RoleHasSuffix(v string) predicate.WorkflowAssignment

RoleHasSuffix applies the HasSuffix predicate on the "role" field.

func RoleIn

func RoleIn(vs ...string) predicate.WorkflowAssignment

RoleIn applies the In predicate on the "role" field.

func RoleLT

RoleLT applies the LT predicate on the "role" field.

func RoleLTE

RoleLTE applies the LTE predicate on the "role" field.

func RoleNEQ

RoleNEQ applies the NEQ predicate on the "role" field.

func RoleNotIn

func RoleNotIn(vs ...string) predicate.WorkflowAssignment

RoleNotIn applies the NotIn predicate on the "role" field.

func StatusEQ

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

func StatusIn

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

func StatusNEQ

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

func StatusNotIn

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s enums.WorkflowAssignmentStatus) error

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

func TagsIsNil

func TagsIsNil() predicate.WorkflowAssignment

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

func TagsNotNil

func TagsNotNil() predicate.WorkflowAssignment

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

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.WorkflowAssignment

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.WorkflowAssignment

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.WorkflowAssignment

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.WorkflowAssignment

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.WorkflowAssignment

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.WorkflowAssignment

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.WorkflowAssignment

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.WorkflowAssignment

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

func UpdatedBy

func UpdatedBy(v string) predicate.WorkflowAssignment

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.WorkflowAssignment

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.WorkflowAssignment

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.WorkflowAssignment

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.WorkflowAssignment

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.WorkflowAssignment

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.WorkflowAssignment

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.WorkflowAssignment

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.WorkflowAssignment

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.WorkflowAssignment

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.WorkflowAssignment

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.WorkflowAssignment

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.WorkflowAssignment

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.WorkflowAssignment

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 WorkflowInstanceID

func WorkflowInstanceID(v string) predicate.WorkflowAssignment

WorkflowInstanceID applies equality check predicate on the "workflow_instance_id" field. It's identical to WorkflowInstanceIDEQ.

func WorkflowInstanceIDContains

func WorkflowInstanceIDContains(v string) predicate.WorkflowAssignment

WorkflowInstanceIDContains applies the Contains predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDContainsFold

func WorkflowInstanceIDContainsFold(v string) predicate.WorkflowAssignment

WorkflowInstanceIDContainsFold applies the ContainsFold predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDEQ

func WorkflowInstanceIDEQ(v string) predicate.WorkflowAssignment

WorkflowInstanceIDEQ applies the EQ predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDEqualFold

func WorkflowInstanceIDEqualFold(v string) predicate.WorkflowAssignment

WorkflowInstanceIDEqualFold applies the EqualFold predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDGT

func WorkflowInstanceIDGT(v string) predicate.WorkflowAssignment

WorkflowInstanceIDGT applies the GT predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDGTE

func WorkflowInstanceIDGTE(v string) predicate.WorkflowAssignment

WorkflowInstanceIDGTE applies the GTE predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDHasPrefix

func WorkflowInstanceIDHasPrefix(v string) predicate.WorkflowAssignment

WorkflowInstanceIDHasPrefix applies the HasPrefix predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDHasSuffix

func WorkflowInstanceIDHasSuffix(v string) predicate.WorkflowAssignment

WorkflowInstanceIDHasSuffix applies the HasSuffix predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDIn

func WorkflowInstanceIDIn(vs ...string) predicate.WorkflowAssignment

WorkflowInstanceIDIn applies the In predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDLT

func WorkflowInstanceIDLT(v string) predicate.WorkflowAssignment

WorkflowInstanceIDLT applies the LT predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDLTE

func WorkflowInstanceIDLTE(v string) predicate.WorkflowAssignment

WorkflowInstanceIDLTE applies the LTE predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDNEQ

func WorkflowInstanceIDNEQ(v string) predicate.WorkflowAssignment

WorkflowInstanceIDNEQ applies the NEQ predicate on the "workflow_instance_id" field.

func WorkflowInstanceIDNotIn

func WorkflowInstanceIDNotIn(vs ...string) predicate.WorkflowAssignment

WorkflowInstanceIDNotIn applies the NotIn predicate on the "workflow_instance_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowAssignment queries.

func ByActorGroupID

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

ByActorGroupID orders the results by the actor_group_id field.

func ByActorUserID

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

ByActorUserID orders the results by the actor_user_id field.

func ByAssignmentKey

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

ByAssignmentKey orders the results by the assignment_key field.

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 ByDecidedAt

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

ByDecidedAt orders the results by the decided_at 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 ByGroupField

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

ByGroupField orders the results by group field.

func ByID

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

ByID orders the results by the id field.

func ByLabel

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

ByLabel orders the results by the label field.

func ByNotes

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

ByNotes orders the results by the notes 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 ByRequired

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

ByRequired orders the results by the required field.

func ByRole

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

ByRole orders the results by the role field.

func ByStatus

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

ByStatus orders the results by the status 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 ByUserField

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

ByUserField orders the results by user field.

func ByWorkflowAssignmentTargets

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

ByWorkflowAssignmentTargets orders the results by workflow_assignment_targets terms.

func ByWorkflowAssignmentTargetsCount

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

ByWorkflowAssignmentTargetsCount orders the results by workflow_assignment_targets count.

func ByWorkflowInstanceField

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

ByWorkflowInstanceField orders the results by workflow_instance field.

func ByWorkflowInstanceID

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

ByWorkflowInstanceID orders the results by the workflow_instance_id field.

Jump to

Keyboard shortcuts

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