agentskillgroupbinding

package
v0.0.0-...-7f647c9 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agentskillgroupbinding type in the database.
	Label = "agent_skill_group_binding"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSkillID holds the string denoting the skill_id field in the database.
	FieldSkillID = "skill_id"
	// FieldGroupID holds the string denoting the group_id field in the database.
	FieldGroupID = "group_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeSkill holds the string denoting the skill edge name in mutations.
	EdgeSkill = "skill"
	// EdgeGroup holds the string denoting the group edge name in mutations.
	EdgeGroup = "group"
	// Table holds the table name of the agentskillgroupbinding in the database.
	Table = "agent_skill_group_bindings"
	// SkillTable is the table that holds the skill relation/edge.
	SkillTable = "agent_skill_group_bindings"
	// SkillInverseTable is the table name for the AgentSkill entity.
	// It exists in this package in order to avoid circular dependency with the "agentskill" package.
	SkillInverseTable = "agent_skills"
	// SkillColumn is the table column denoting the skill relation/edge.
	SkillColumn = "skill_id"
	// GroupTable is the table that holds the group relation/edge.
	GroupTable = "agent_skill_group_bindings"
	// GroupInverseTable is the table name for the TeamGroup entity.
	// It exists in this package in order to avoid circular dependency with the "teamgroup" package.
	GroupInverseTable = "team_groups"
	// GroupColumn is the table column denoting the group relation/edge.
	GroupColumn = "group_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 agentskillgroupbinding 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

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

func CreatedAtGT

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AgentSkillGroupBinding

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

func CreatedAtIn

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

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

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AgentSkillGroupBinding

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AgentSkillGroupBinding

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

func CreatedAtNotIn

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

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

func GroupID

GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.

func GroupIDEQ

GroupIDEQ applies the EQ predicate on the "group_id" field.

func GroupIDIn

func GroupIDIn(vs ...uuid.UUID) predicate.AgentSkillGroupBinding

GroupIDIn applies the In predicate on the "group_id" field.

func GroupIDNEQ

GroupIDNEQ applies the NEQ predicate on the "group_id" field.

func GroupIDNotIn

func GroupIDNotIn(vs ...uuid.UUID) predicate.AgentSkillGroupBinding

GroupIDNotIn applies the NotIn predicate on the "group_id" field.

func HasGroup

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

func HasGroupWith

func HasGroupWith(preds ...predicate.TeamGroup) predicate.AgentSkillGroupBinding

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

func HasSkill

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

func HasSkillWith

HasSkillWith applies the HasEdge predicate on the "skill" 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.AgentSkillGroupBinding

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

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

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AgentSkillGroupBinding queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByGroupField

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

ByGroupField orders the results by group field.

func ByGroupID

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

ByGroupID orders the results by the group_id field.

func ByID

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

ByID orders the results by the 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.

Jump to

Keyboard shortcuts

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