workflowassignmenttarget

package
v2.6.12 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (
	// Label holds the string label denoting the workflowassignmenttarget type in the database.
	Label = "workflow_assignment_target"
	// 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"
	// FieldUpdatedByImpersonator holds the string denoting the updated_by_impersonator field in the database.
	FieldUpdatedByImpersonator = "updated_by_impersonator"
	// 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"
	// FieldWorkflowAssignmentID holds the string denoting the workflow_assignment_id field in the database.
	FieldWorkflowAssignmentID = "workflow_assignment_id"
	// FieldTargetType holds the string denoting the target_type field in the database.
	FieldTargetType = "target_type"
	// FieldTargetUserID holds the string denoting the target_user_id field in the database.
	FieldTargetUserID = "target_user_id"
	// FieldTargetGroupID holds the string denoting the target_group_id field in the database.
	FieldTargetGroupID = "target_group_id"
	// FieldResolverKey holds the string denoting the resolver_key field in the database.
	FieldResolverKey = "resolver_key"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeWorkflowAssignment holds the string denoting the workflow_assignment edge name in mutations.
	EdgeWorkflowAssignment = "workflow_assignment"
	// 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 workflowassignmenttarget in the database.
	Table = "workflow_assignment_targets"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "workflow_assignment_targets"
	// 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"
	// WorkflowAssignmentTable is the table that holds the workflow_assignment relation/edge.
	WorkflowAssignmentTable = "workflow_assignment_targets"
	// WorkflowAssignmentInverseTable is the table name for the WorkflowAssignment entity.
	// It exists in this package in order to avoid circular dependency with the "workflowassignment" package.
	WorkflowAssignmentInverseTable = "workflow_assignments"
	// WorkflowAssignmentColumn is the table column denoting the workflow_assignment relation/edge.
	WorkflowAssignmentColumn = "workflow_assignment_id"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "workflow_assignment_targets"
	// 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 = "target_user_id"
	// GroupTable is the table that holds the group relation/edge.
	GroupTable = "workflow_assignment_targets"
	// 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 = "target_group_id"
)

Variables ¶

View Source
var (
	Hooks        [8]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
	// WorkflowAssignmentIDValidator is a validator for the "workflow_assignment_id" field. It is called by the builders before save.
	WorkflowAssignmentIDValidator 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/v2/internal/ent/generated/runtime"

Columns holds all SQL columns for workflowassignmenttarget fields.

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

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

Functions ¶

func And ¶

And groups predicates with the AND operator between them.

func CreatedAt ¶

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

func CreatedAtEQ ¶

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

func CreatedAtGT ¶

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

func CreatedAtGTE ¶

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

func CreatedAtIn ¶

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

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

func CreatedAtIsNil ¶

func CreatedAtIsNil() predicate.WorkflowAssignmentTarget

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

func CreatedAtLT ¶

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

func CreatedAtLTE ¶

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

func CreatedAtNEQ ¶

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

func CreatedAtNotIn ¶

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

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

func CreatedAtNotNil ¶

func CreatedAtNotNil() predicate.WorkflowAssignmentTarget

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

func CreatedBy ¶

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

func CreatedByContains ¶

func CreatedByContains(v string) predicate.WorkflowAssignmentTarget

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

func CreatedByContainsFold ¶

func CreatedByContainsFold(v string) predicate.WorkflowAssignmentTarget

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

func CreatedByEQ ¶

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

func CreatedByEqualFold ¶

func CreatedByEqualFold(v string) predicate.WorkflowAssignmentTarget

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

func CreatedByGT ¶

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

func CreatedByGTE ¶

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

func CreatedByHasPrefix ¶

func CreatedByHasPrefix(v string) predicate.WorkflowAssignmentTarget

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

func CreatedByHasSuffix ¶

func CreatedByHasSuffix(v string) predicate.WorkflowAssignmentTarget

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

func CreatedByIn ¶

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

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

func CreatedByIsNil ¶

func CreatedByIsNil() predicate.WorkflowAssignmentTarget

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

func CreatedByLT ¶

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

func CreatedByLTE ¶

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

func CreatedByNEQ ¶

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

func CreatedByNotIn ¶

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

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

func CreatedByNotNil ¶

func CreatedByNotNil() predicate.WorkflowAssignmentTarget

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

func DeletedAt ¶

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

func DeletedAtEQ ¶

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

func DeletedAtGT ¶

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

func DeletedAtGTE ¶

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

func DeletedAtIn ¶

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

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

func DeletedAtIsNil ¶

func DeletedAtIsNil() predicate.WorkflowAssignmentTarget

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

func DeletedAtLT ¶

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

func DeletedAtLTE ¶

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

func DeletedAtNEQ ¶

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

func DeletedAtNotIn ¶

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

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

func DeletedAtNotNil ¶

func DeletedAtNotNil() predicate.WorkflowAssignmentTarget

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

func DeletedBy ¶

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

func DeletedByContains ¶

func DeletedByContains(v string) predicate.WorkflowAssignmentTarget

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

func DeletedByContainsFold ¶

func DeletedByContainsFold(v string) predicate.WorkflowAssignmentTarget

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

func DeletedByEQ ¶

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

func DeletedByEqualFold ¶

func DeletedByEqualFold(v string) predicate.WorkflowAssignmentTarget

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

func DeletedByGT ¶

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

func DeletedByGTE ¶

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

func DeletedByHasPrefix ¶

func DeletedByHasPrefix(v string) predicate.WorkflowAssignmentTarget

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

func DeletedByHasSuffix ¶

func DeletedByHasSuffix(v string) predicate.WorkflowAssignmentTarget

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

func DeletedByIn ¶

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

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

func DeletedByIsNil ¶

func DeletedByIsNil() predicate.WorkflowAssignmentTarget

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

func DeletedByLT ¶

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

func DeletedByLTE ¶

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

func DeletedByNEQ ¶

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

func DeletedByNotIn ¶

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

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

func DeletedByNotNil ¶

func DeletedByNotNil() predicate.WorkflowAssignmentTarget

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

func DisplayID ¶

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

func DisplayIDContains ¶

func DisplayIDContains(v string) predicate.WorkflowAssignmentTarget

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

func DisplayIDContainsFold ¶

func DisplayIDContainsFold(v string) predicate.WorkflowAssignmentTarget

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

func DisplayIDEQ ¶

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

func DisplayIDEqualFold ¶

func DisplayIDEqualFold(v string) predicate.WorkflowAssignmentTarget

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

func DisplayIDGT ¶

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

func DisplayIDGTE ¶

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

func DisplayIDHasPrefix ¶

func DisplayIDHasPrefix(v string) predicate.WorkflowAssignmentTarget

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

func DisplayIDHasSuffix ¶

func DisplayIDHasSuffix(v string) predicate.WorkflowAssignmentTarget

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

func DisplayIDIn ¶

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

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

func DisplayIDLT ¶

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

func DisplayIDLTE ¶

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

func DisplayIDNEQ ¶

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

func DisplayIDNotIn ¶

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

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

func HasGroup ¶

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

func HasGroupWith ¶

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

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

func HasOwner ¶

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

func HasOwnerWith ¶

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

func HasUser ¶

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

func HasUserWith ¶

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

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

func HasWorkflowAssignment ¶

func HasWorkflowAssignment() predicate.WorkflowAssignmentTarget

HasWorkflowAssignment applies the HasEdge predicate on the "workflow_assignment" edge.

func HasWorkflowAssignmentWith ¶

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

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

func ID ¶

ID filters vertices based on their ID field.

func IDContainsFold ¶

func IDContainsFold(id string) predicate.WorkflowAssignmentTarget

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ ¶

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold ¶

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 ¶

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 ¶

IDNotIn applies the NotIn predicate on the ID 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.WorkflowAssignmentTarget

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

func OwnerIDContainsFold ¶

func OwnerIDContainsFold(v string) predicate.WorkflowAssignmentTarget

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

func OwnerIDEQ ¶

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

func OwnerIDEqualFold ¶

func OwnerIDEqualFold(v string) predicate.WorkflowAssignmentTarget

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

func OwnerIDGT ¶

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

func OwnerIDGTE ¶

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

func OwnerIDHasPrefix ¶

func OwnerIDHasPrefix(v string) predicate.WorkflowAssignmentTarget

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

func OwnerIDHasSuffix ¶

func OwnerIDHasSuffix(v string) predicate.WorkflowAssignmentTarget

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

func OwnerIDIn ¶

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

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

func OwnerIDIsNil ¶

func OwnerIDIsNil() predicate.WorkflowAssignmentTarget

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

func OwnerIDLT ¶

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

func OwnerIDLTE ¶

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

func OwnerIDNEQ ¶

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

func OwnerIDNotIn ¶

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

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

func OwnerIDNotNil ¶

func OwnerIDNotNil() predicate.WorkflowAssignmentTarget

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

func ResolverKey ¶

ResolverKey applies equality check predicate on the "resolver_key" field. It's identical to ResolverKeyEQ.

func ResolverKeyContains ¶

func ResolverKeyContains(v string) predicate.WorkflowAssignmentTarget

ResolverKeyContains applies the Contains predicate on the "resolver_key" field.

func ResolverKeyContainsFold ¶

func ResolverKeyContainsFold(v string) predicate.WorkflowAssignmentTarget

ResolverKeyContainsFold applies the ContainsFold predicate on the "resolver_key" field.

func ResolverKeyEQ ¶

func ResolverKeyEQ(v string) predicate.WorkflowAssignmentTarget

ResolverKeyEQ applies the EQ predicate on the "resolver_key" field.

func ResolverKeyEqualFold ¶

func ResolverKeyEqualFold(v string) predicate.WorkflowAssignmentTarget

ResolverKeyEqualFold applies the EqualFold predicate on the "resolver_key" field.

func ResolverKeyGT ¶

func ResolverKeyGT(v string) predicate.WorkflowAssignmentTarget

ResolverKeyGT applies the GT predicate on the "resolver_key" field.

func ResolverKeyGTE ¶

func ResolverKeyGTE(v string) predicate.WorkflowAssignmentTarget

ResolverKeyGTE applies the GTE predicate on the "resolver_key" field.

func ResolverKeyHasPrefix ¶

func ResolverKeyHasPrefix(v string) predicate.WorkflowAssignmentTarget

ResolverKeyHasPrefix applies the HasPrefix predicate on the "resolver_key" field.

func ResolverKeyHasSuffix ¶

func ResolverKeyHasSuffix(v string) predicate.WorkflowAssignmentTarget

ResolverKeyHasSuffix applies the HasSuffix predicate on the "resolver_key" field.

func ResolverKeyIn ¶

func ResolverKeyIn(vs ...string) predicate.WorkflowAssignmentTarget

ResolverKeyIn applies the In predicate on the "resolver_key" field.

func ResolverKeyIsNil ¶

func ResolverKeyIsNil() predicate.WorkflowAssignmentTarget

ResolverKeyIsNil applies the IsNil predicate on the "resolver_key" field.

func ResolverKeyLT ¶

func ResolverKeyLT(v string) predicate.WorkflowAssignmentTarget

ResolverKeyLT applies the LT predicate on the "resolver_key" field.

func ResolverKeyLTE ¶

func ResolverKeyLTE(v string) predicate.WorkflowAssignmentTarget

ResolverKeyLTE applies the LTE predicate on the "resolver_key" field.

func ResolverKeyNEQ ¶

func ResolverKeyNEQ(v string) predicate.WorkflowAssignmentTarget

ResolverKeyNEQ applies the NEQ predicate on the "resolver_key" field.

func ResolverKeyNotIn ¶

func ResolverKeyNotIn(vs ...string) predicate.WorkflowAssignmentTarget

ResolverKeyNotIn applies the NotIn predicate on the "resolver_key" field.

func ResolverKeyNotNil ¶

func ResolverKeyNotNil() predicate.WorkflowAssignmentTarget

ResolverKeyNotNil applies the NotNil predicate on the "resolver_key" field.

func TagsIsNil ¶

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

func TagsNotNil ¶

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

func TargetGroupID ¶

func TargetGroupID(v string) predicate.WorkflowAssignmentTarget

TargetGroupID applies equality check predicate on the "target_group_id" field. It's identical to TargetGroupIDEQ.

func TargetGroupIDContains ¶

func TargetGroupIDContains(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDContains applies the Contains predicate on the "target_group_id" field.

func TargetGroupIDContainsFold ¶

func TargetGroupIDContainsFold(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDContainsFold applies the ContainsFold predicate on the "target_group_id" field.

func TargetGroupIDEQ ¶

func TargetGroupIDEQ(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDEQ applies the EQ predicate on the "target_group_id" field.

func TargetGroupIDEqualFold ¶

func TargetGroupIDEqualFold(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDEqualFold applies the EqualFold predicate on the "target_group_id" field.

func TargetGroupIDGT ¶

func TargetGroupIDGT(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDGT applies the GT predicate on the "target_group_id" field.

func TargetGroupIDGTE ¶

func TargetGroupIDGTE(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDGTE applies the GTE predicate on the "target_group_id" field.

func TargetGroupIDHasPrefix ¶

func TargetGroupIDHasPrefix(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDHasPrefix applies the HasPrefix predicate on the "target_group_id" field.

func TargetGroupIDHasSuffix ¶

func TargetGroupIDHasSuffix(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDHasSuffix applies the HasSuffix predicate on the "target_group_id" field.

func TargetGroupIDIn ¶

func TargetGroupIDIn(vs ...string) predicate.WorkflowAssignmentTarget

TargetGroupIDIn applies the In predicate on the "target_group_id" field.

func TargetGroupIDIsNil ¶

func TargetGroupIDIsNil() predicate.WorkflowAssignmentTarget

TargetGroupIDIsNil applies the IsNil predicate on the "target_group_id" field.

func TargetGroupIDLT ¶

func TargetGroupIDLT(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDLT applies the LT predicate on the "target_group_id" field.

func TargetGroupIDLTE ¶

func TargetGroupIDLTE(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDLTE applies the LTE predicate on the "target_group_id" field.

func TargetGroupIDNEQ ¶

func TargetGroupIDNEQ(v string) predicate.WorkflowAssignmentTarget

TargetGroupIDNEQ applies the NEQ predicate on the "target_group_id" field.

func TargetGroupIDNotIn ¶

func TargetGroupIDNotIn(vs ...string) predicate.WorkflowAssignmentTarget

TargetGroupIDNotIn applies the NotIn predicate on the "target_group_id" field.

func TargetGroupIDNotNil ¶

func TargetGroupIDNotNil() predicate.WorkflowAssignmentTarget

TargetGroupIDNotNil applies the NotNil predicate on the "target_group_id" field.

func TargetTypeEQ ¶

TargetTypeEQ applies the EQ predicate on the "target_type" field.

func TargetTypeIn ¶

TargetTypeIn applies the In predicate on the "target_type" field.

func TargetTypeNEQ ¶

TargetTypeNEQ applies the NEQ predicate on the "target_type" field.

func TargetTypeNotIn ¶

TargetTypeNotIn applies the NotIn predicate on the "target_type" field.

func TargetTypeValidator ¶

func TargetTypeValidator(tt enums.WorkflowTargetType) error

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

func TargetUserID ¶

TargetUserID applies equality check predicate on the "target_user_id" field. It's identical to TargetUserIDEQ.

func TargetUserIDContains ¶

func TargetUserIDContains(v string) predicate.WorkflowAssignmentTarget

TargetUserIDContains applies the Contains predicate on the "target_user_id" field.

func TargetUserIDContainsFold ¶

func TargetUserIDContainsFold(v string) predicate.WorkflowAssignmentTarget

TargetUserIDContainsFold applies the ContainsFold predicate on the "target_user_id" field.

func TargetUserIDEQ ¶

func TargetUserIDEQ(v string) predicate.WorkflowAssignmentTarget

TargetUserIDEQ applies the EQ predicate on the "target_user_id" field.

func TargetUserIDEqualFold ¶

func TargetUserIDEqualFold(v string) predicate.WorkflowAssignmentTarget

TargetUserIDEqualFold applies the EqualFold predicate on the "target_user_id" field.

func TargetUserIDGT ¶

func TargetUserIDGT(v string) predicate.WorkflowAssignmentTarget

TargetUserIDGT applies the GT predicate on the "target_user_id" field.

func TargetUserIDGTE ¶

func TargetUserIDGTE(v string) predicate.WorkflowAssignmentTarget

TargetUserIDGTE applies the GTE predicate on the "target_user_id" field.

func TargetUserIDHasPrefix ¶

func TargetUserIDHasPrefix(v string) predicate.WorkflowAssignmentTarget

TargetUserIDHasPrefix applies the HasPrefix predicate on the "target_user_id" field.

func TargetUserIDHasSuffix ¶

func TargetUserIDHasSuffix(v string) predicate.WorkflowAssignmentTarget

TargetUserIDHasSuffix applies the HasSuffix predicate on the "target_user_id" field.

func TargetUserIDIn ¶

func TargetUserIDIn(vs ...string) predicate.WorkflowAssignmentTarget

TargetUserIDIn applies the In predicate on the "target_user_id" field.

func TargetUserIDIsNil ¶

func TargetUserIDIsNil() predicate.WorkflowAssignmentTarget

TargetUserIDIsNil applies the IsNil predicate on the "target_user_id" field.

func TargetUserIDLT ¶

func TargetUserIDLT(v string) predicate.WorkflowAssignmentTarget

TargetUserIDLT applies the LT predicate on the "target_user_id" field.

func TargetUserIDLTE ¶

func TargetUserIDLTE(v string) predicate.WorkflowAssignmentTarget

TargetUserIDLTE applies the LTE predicate on the "target_user_id" field.

func TargetUserIDNEQ ¶

func TargetUserIDNEQ(v string) predicate.WorkflowAssignmentTarget

TargetUserIDNEQ applies the NEQ predicate on the "target_user_id" field.

func TargetUserIDNotIn ¶

func TargetUserIDNotIn(vs ...string) predicate.WorkflowAssignmentTarget

TargetUserIDNotIn applies the NotIn predicate on the "target_user_id" field.

func TargetUserIDNotNil ¶

func TargetUserIDNotNil() predicate.WorkflowAssignmentTarget

TargetUserIDNotNil applies the NotNil predicate on the "target_user_id" field.

func UpdatedAt ¶

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

func UpdatedAtEQ ¶

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

func UpdatedAtGT ¶

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

func UpdatedAtGTE ¶

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

func UpdatedAtIn ¶

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

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

func UpdatedAtIsNil ¶

func UpdatedAtIsNil() predicate.WorkflowAssignmentTarget

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

func UpdatedAtLT ¶

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

func UpdatedAtLTE ¶

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

func UpdatedAtNEQ ¶

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

func UpdatedAtNotIn ¶

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

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

func UpdatedAtNotNil ¶

func UpdatedAtNotNil() predicate.WorkflowAssignmentTarget

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

func UpdatedBy ¶

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

func UpdatedByContains ¶

func UpdatedByContains(v string) predicate.WorkflowAssignmentTarget

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

func UpdatedByContainsFold ¶

func UpdatedByContainsFold(v string) predicate.WorkflowAssignmentTarget

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

func UpdatedByEQ ¶

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

func UpdatedByEqualFold ¶

func UpdatedByEqualFold(v string) predicate.WorkflowAssignmentTarget

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

func UpdatedByGT ¶

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

func UpdatedByGTE ¶

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

func UpdatedByHasPrefix ¶

func UpdatedByHasPrefix(v string) predicate.WorkflowAssignmentTarget

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

func UpdatedByHasSuffix ¶

func UpdatedByHasSuffix(v string) predicate.WorkflowAssignmentTarget

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

func UpdatedByImpersonator ¶

func UpdatedByImpersonator(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonator applies equality check predicate on the "updated_by_impersonator" field. It's identical to UpdatedByImpersonatorEQ.

func UpdatedByImpersonatorContains ¶

func UpdatedByImpersonatorContains(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorContains applies the Contains predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorContainsFold ¶

func UpdatedByImpersonatorContainsFold(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorContainsFold applies the ContainsFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEQ ¶

func UpdatedByImpersonatorEQ(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorEQ applies the EQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEqualFold ¶

func UpdatedByImpersonatorEqualFold(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorEqualFold applies the EqualFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGT ¶

func UpdatedByImpersonatorGT(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorGT applies the GT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGTE ¶

func UpdatedByImpersonatorGTE(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorGTE applies the GTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasPrefix ¶

func UpdatedByImpersonatorHasPrefix(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorHasPrefix applies the HasPrefix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasSuffix ¶

func UpdatedByImpersonatorHasSuffix(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorHasSuffix applies the HasSuffix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIn ¶

func UpdatedByImpersonatorIn(vs ...string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorIn applies the In predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIsNil ¶

func UpdatedByImpersonatorIsNil() predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorIsNil applies the IsNil predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLT ¶

func UpdatedByImpersonatorLT(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorLT applies the LT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLTE ¶

func UpdatedByImpersonatorLTE(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorLTE applies the LTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNEQ ¶

func UpdatedByImpersonatorNEQ(v string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorNEQ applies the NEQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotIn ¶

func UpdatedByImpersonatorNotIn(vs ...string) predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorNotIn applies the NotIn predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotNil ¶

func UpdatedByImpersonatorNotNil() predicate.WorkflowAssignmentTarget

UpdatedByImpersonatorNotNil applies the NotNil predicate on the "updated_by_impersonator" field.

func UpdatedByIn ¶

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

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

func UpdatedByIsNil ¶

func UpdatedByIsNil() predicate.WorkflowAssignmentTarget

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

func UpdatedByLT ¶

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

func UpdatedByLTE ¶

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

func UpdatedByNEQ ¶

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

func UpdatedByNotIn ¶

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

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

func UpdatedByNotNil ¶

func UpdatedByNotNil() predicate.WorkflowAssignmentTarget

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 WorkflowAssignmentID ¶

func WorkflowAssignmentID(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentID applies equality check predicate on the "workflow_assignment_id" field. It's identical to WorkflowAssignmentIDEQ.

func WorkflowAssignmentIDContains ¶

func WorkflowAssignmentIDContains(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDContains applies the Contains predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDContainsFold ¶

func WorkflowAssignmentIDContainsFold(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDContainsFold applies the ContainsFold predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDEQ ¶

func WorkflowAssignmentIDEQ(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDEQ applies the EQ predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDEqualFold ¶

func WorkflowAssignmentIDEqualFold(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDEqualFold applies the EqualFold predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDGT ¶

func WorkflowAssignmentIDGT(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDGT applies the GT predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDGTE ¶

func WorkflowAssignmentIDGTE(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDGTE applies the GTE predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDHasPrefix ¶

func WorkflowAssignmentIDHasPrefix(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDHasPrefix applies the HasPrefix predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDHasSuffix ¶

func WorkflowAssignmentIDHasSuffix(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDHasSuffix applies the HasSuffix predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDIn ¶

func WorkflowAssignmentIDIn(vs ...string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDIn applies the In predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDLT ¶

func WorkflowAssignmentIDLT(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDLT applies the LT predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDLTE ¶

func WorkflowAssignmentIDLTE(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDLTE applies the LTE predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDNEQ ¶

func WorkflowAssignmentIDNEQ(v string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDNEQ applies the NEQ predicate on the "workflow_assignment_id" field.

func WorkflowAssignmentIDNotIn ¶

func WorkflowAssignmentIDNotIn(vs ...string) predicate.WorkflowAssignmentTarget

WorkflowAssignmentIDNotIn applies the NotIn predicate on the "workflow_assignment_id" field.

Types ¶

type OrderOption ¶

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowAssignmentTarget 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 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 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 ByResolverKey ¶

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

ByResolverKey orders the results by the resolver_key field.

func ByTargetGroupID ¶

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

ByTargetGroupID orders the results by the target_group_id field.

func ByTargetType ¶

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

ByTargetType orders the results by the target_type field.

func ByTargetUserID ¶

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

ByTargetUserID orders the results by the target_user_id 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 ByUpdatedByImpersonator ¶

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

ByUpdatedByImpersonator orders the results by the updated_by_impersonator field.

func ByUserField ¶

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

ByUserField orders the results by user field.

func ByWorkflowAssignmentField ¶

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

ByWorkflowAssignmentField orders the results by workflow_assignment field.

func ByWorkflowAssignmentID ¶

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

ByWorkflowAssignmentID orders the results by the workflow_assignment_id field.

Jump to

Keyboard shortcuts

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