workflowskillbinding

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowskillbinding type in the database.
	Label = "workflow_skill_binding"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldWorkflowID holds the string denoting the workflow_id field in the database.
	FieldWorkflowID = "workflow_id"
	// FieldSkillID holds the string denoting the skill_id field in the database.
	FieldSkillID = "skill_id"
	// FieldRequiredVersionID holds the string denoting the required_version_id field in the database.
	FieldRequiredVersionID = "required_version_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeWorkflow holds the string denoting the workflow edge name in mutations.
	EdgeWorkflow = "workflow"
	// EdgeSkill holds the string denoting the skill edge name in mutations.
	EdgeSkill = "skill"
	// EdgeRequiredVersion holds the string denoting the required_version edge name in mutations.
	EdgeRequiredVersion = "required_version"
	// Table holds the table name of the workflowskillbinding in the database.
	Table = "workflow_skill_bindings"
	// WorkflowTable is the table that holds the workflow relation/edge.
	WorkflowTable = "workflow_skill_bindings"
	// WorkflowInverseTable is the table name for the Workflow entity.
	// It exists in this package in order to avoid circular dependency with the "workflow" package.
	WorkflowInverseTable = "workflows"
	// WorkflowColumn is the table column denoting the workflow relation/edge.
	WorkflowColumn = "workflow_id"
	// SkillTable is the table that holds the skill relation/edge.
	SkillTable = "workflow_skill_bindings"
	// SkillInverseTable is the table name for the Skill entity.
	// It exists in this package in order to avoid circular dependency with the "skill" package.
	SkillInverseTable = "skills"
	// SkillColumn is the table column denoting the skill relation/edge.
	SkillColumn = "skill_id"
	// RequiredVersionTable is the table that holds the required_version relation/edge.
	RequiredVersionTable = "workflow_skill_bindings"
	// RequiredVersionInverseTable is the table name for the SkillVersion entity.
	// It exists in this package in order to avoid circular dependency with the "skillversion" package.
	RequiredVersionInverseTable = "skill_versions"
	// RequiredVersionColumn is the table column denoting the required_version relation/edge.
	RequiredVersionColumn = "required_version_id"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for workflowskillbinding fields.

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

func CreatedAtEQ(v time.Time) predicate.WorkflowSkillBinding

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.WorkflowSkillBinding

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.WorkflowSkillBinding

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.WorkflowSkillBinding

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.WorkflowSkillBinding

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.WorkflowSkillBinding

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

func CreatedAtNotIn

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

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

func HasRequiredVersion

func HasRequiredVersion() predicate.WorkflowSkillBinding

HasRequiredVersion applies the HasEdge predicate on the "required_version" edge.

func HasRequiredVersionWith

func HasRequiredVersionWith(preds ...predicate.SkillVersion) predicate.WorkflowSkillBinding

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

func HasSkill

HasSkill applies the HasEdge predicate on the "skill" edge.

func HasSkillWith

func HasSkillWith(preds ...predicate.Skill) predicate.WorkflowSkillBinding

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

func HasWorkflow

func HasWorkflow() predicate.WorkflowSkillBinding

HasWorkflow applies the HasEdge predicate on the "workflow" edge.

func HasWorkflowWith

func HasWorkflowWith(preds ...predicate.Workflow) predicate.WorkflowSkillBinding

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ 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

func IDNotIn(ids ...uuid.UUID) predicate.WorkflowSkillBinding

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 RequiredVersionID

func RequiredVersionID(v uuid.UUID) predicate.WorkflowSkillBinding

RequiredVersionID applies equality check predicate on the "required_version_id" field. It's identical to RequiredVersionIDEQ.

func RequiredVersionIDEQ

func RequiredVersionIDEQ(v uuid.UUID) predicate.WorkflowSkillBinding

RequiredVersionIDEQ applies the EQ predicate on the "required_version_id" field.

func RequiredVersionIDIn

func RequiredVersionIDIn(vs ...uuid.UUID) predicate.WorkflowSkillBinding

RequiredVersionIDIn applies the In predicate on the "required_version_id" field.

func RequiredVersionIDIsNil

func RequiredVersionIDIsNil() predicate.WorkflowSkillBinding

RequiredVersionIDIsNil applies the IsNil predicate on the "required_version_id" field.

func RequiredVersionIDNEQ

func RequiredVersionIDNEQ(v uuid.UUID) predicate.WorkflowSkillBinding

RequiredVersionIDNEQ applies the NEQ predicate on the "required_version_id" field.

func RequiredVersionIDNotIn

func RequiredVersionIDNotIn(vs ...uuid.UUID) predicate.WorkflowSkillBinding

RequiredVersionIDNotIn applies the NotIn predicate on the "required_version_id" field.

func RequiredVersionIDNotNil

func RequiredVersionIDNotNil() predicate.WorkflowSkillBinding

RequiredVersionIDNotNil applies the NotNil predicate on the "required_version_id" field.

func SkillID

SkillID applies equality check predicate on the "skill_id" field. It's identical to SkillIDEQ.

func SkillIDEQ

SkillIDEQ applies the EQ predicate on the "skill_id" field.

func SkillIDIn

func SkillIDIn(vs ...uuid.UUID) predicate.WorkflowSkillBinding

SkillIDIn applies the In predicate on the "skill_id" field.

func SkillIDNEQ

SkillIDNEQ applies the NEQ predicate on the "skill_id" field.

func SkillIDNotIn

func SkillIDNotIn(vs ...uuid.UUID) predicate.WorkflowSkillBinding

SkillIDNotIn applies the NotIn predicate on the "skill_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

func WorkflowID

WorkflowID applies equality check predicate on the "workflow_id" field. It's identical to WorkflowIDEQ.

func WorkflowIDEQ

func WorkflowIDEQ(v uuid.UUID) predicate.WorkflowSkillBinding

WorkflowIDEQ applies the EQ predicate on the "workflow_id" field.

func WorkflowIDIn

func WorkflowIDIn(vs ...uuid.UUID) predicate.WorkflowSkillBinding

WorkflowIDIn applies the In predicate on the "workflow_id" field.

func WorkflowIDNEQ

func WorkflowIDNEQ(v uuid.UUID) predicate.WorkflowSkillBinding

WorkflowIDNEQ applies the NEQ predicate on the "workflow_id" field.

func WorkflowIDNotIn

func WorkflowIDNotIn(vs ...uuid.UUID) predicate.WorkflowSkillBinding

WorkflowIDNotIn applies the NotIn predicate on the "workflow_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the WorkflowSkillBinding queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByRequiredVersionField

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

ByRequiredVersionField orders the results by required_version field.

func ByRequiredVersionID

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

ByRequiredVersionID orders the results by the required_version_id field.

func BySkillField

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

BySkillField orders the results by skill field.

func BySkillID

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

BySkillID orders the results by the skill_id field.

func ByWorkflowField

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

ByWorkflowField orders the results by workflow field.

func ByWorkflowID

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

ByWorkflowID orders the results by the workflow_id field.

Jump to

Keyboard shortcuts

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