agentskill

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agentskill type in the database.
	Label = "agent_skill"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldAgentID holds the string denoting the agent_id field in the database.
	FieldAgentID = "agent_id"
	// FieldSkill holds the string denoting the skill field in the database.
	FieldSkill = "skill"
	// EdgeAgent holds the string denoting the agent edge name in mutations.
	EdgeAgent = "agent"
	// Table holds the table name of the agentskill in the database.
	Table = "agent_skills"
	// AgentTable is the table that holds the agent relation/edge.
	AgentTable = "agent_skills"
	// AgentInverseTable is the table name for the Agent entity.
	// It exists in this package in order to avoid circular dependency with the "agent" package.
	AgentInverseTable = "agents"
	// AgentColumn is the table column denoting the agent relation/edge.
	AgentColumn = "agent_id"
)

Variables

View Source
var (
	// SkillValidator is a validator for the "skill" field. It is called by the builders before save.
	SkillValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for agentskill fields.

Functions

func AgentID

func AgentID(v uuid.UUID) predicate.AgentSkill

AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.

func AgentIDEQ

func AgentIDEQ(v uuid.UUID) predicate.AgentSkill

AgentIDEQ applies the EQ predicate on the "agent_id" field.

func AgentIDIn

func AgentIDIn(vs ...uuid.UUID) predicate.AgentSkill

AgentIDIn applies the In predicate on the "agent_id" field.

func AgentIDNEQ

func AgentIDNEQ(v uuid.UUID) predicate.AgentSkill

AgentIDNEQ applies the NEQ predicate on the "agent_id" field.

func AgentIDNotIn

func AgentIDNotIn(vs ...uuid.UUID) predicate.AgentSkill

AgentIDNotIn applies the NotIn predicate on the "agent_id" field.

func And

func And(predicates ...predicate.AgentSkill) predicate.AgentSkill

And groups predicates with the AND operator between them.

func HasAgent

func HasAgent() predicate.AgentSkill

HasAgent applies the HasEdge predicate on the "agent" edge.

func HasAgentWith

func HasAgentWith(preds ...predicate.Agent) predicate.AgentSkill

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.AgentSkill

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.AgentSkill

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.AgentSkill

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.AgentSkill

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.AgentSkill

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.AgentSkill

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.AgentSkill

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AgentSkill) predicate.AgentSkill

Or groups predicates with the OR operator between them.

func Skill

func Skill(v string) predicate.AgentSkill

Skill applies equality check predicate on the "skill" field. It's identical to SkillEQ.

func SkillContains

func SkillContains(v string) predicate.AgentSkill

SkillContains applies the Contains predicate on the "skill" field.

func SkillContainsFold

func SkillContainsFold(v string) predicate.AgentSkill

SkillContainsFold applies the ContainsFold predicate on the "skill" field.

func SkillEQ

func SkillEQ(v string) predicate.AgentSkill

SkillEQ applies the EQ predicate on the "skill" field.

func SkillEqualFold

func SkillEqualFold(v string) predicate.AgentSkill

SkillEqualFold applies the EqualFold predicate on the "skill" field.

func SkillGT

func SkillGT(v string) predicate.AgentSkill

SkillGT applies the GT predicate on the "skill" field.

func SkillGTE

func SkillGTE(v string) predicate.AgentSkill

SkillGTE applies the GTE predicate on the "skill" field.

func SkillHasPrefix

func SkillHasPrefix(v string) predicate.AgentSkill

SkillHasPrefix applies the HasPrefix predicate on the "skill" field.

func SkillHasSuffix

func SkillHasSuffix(v string) predicate.AgentSkill

SkillHasSuffix applies the HasSuffix predicate on the "skill" field.

func SkillIn

func SkillIn(vs ...string) predicate.AgentSkill

SkillIn applies the In predicate on the "skill" field.

func SkillLT

func SkillLT(v string) predicate.AgentSkill

SkillLT applies the LT predicate on the "skill" field.

func SkillLTE

func SkillLTE(v string) predicate.AgentSkill

SkillLTE applies the LTE predicate on the "skill" field.

func SkillNEQ

func SkillNEQ(v string) predicate.AgentSkill

SkillNEQ applies the NEQ predicate on the "skill" field.

func SkillNotIn

func SkillNotIn(vs ...string) predicate.AgentSkill

SkillNotIn applies the NotIn predicate on the "skill" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AgentSkill queries.

func ByAgentField

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

ByAgentField orders the results by agent field.

func ByAgentID

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

ByAgentID orders the results by the agent_id field.

func ByID

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

ByID orders the results by the id field.

func BySkill

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

BySkill orders the results by the skill field.

Jump to

Keyboard shortcuts

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