Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AgentSkillGroupBinding) predicate.AgentSkillGroupBinding
- func CreatedAt(v time.Time) predicate.AgentSkillGroupBinding
- func CreatedAtEQ(v time.Time) predicate.AgentSkillGroupBinding
- func CreatedAtGT(v time.Time) predicate.AgentSkillGroupBinding
- func CreatedAtGTE(v time.Time) predicate.AgentSkillGroupBinding
- func CreatedAtIn(vs ...time.Time) predicate.AgentSkillGroupBinding
- func CreatedAtLT(v time.Time) predicate.AgentSkillGroupBinding
- func CreatedAtLTE(v time.Time) predicate.AgentSkillGroupBinding
- func CreatedAtNEQ(v time.Time) predicate.AgentSkillGroupBinding
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentSkillGroupBinding
- func GroupID(v uuid.UUID) predicate.AgentSkillGroupBinding
- func GroupIDEQ(v uuid.UUID) predicate.AgentSkillGroupBinding
- func GroupIDIn(vs ...uuid.UUID) predicate.AgentSkillGroupBinding
- func GroupIDNEQ(v uuid.UUID) predicate.AgentSkillGroupBinding
- func GroupIDNotIn(vs ...uuid.UUID) predicate.AgentSkillGroupBinding
- func HasGroup() predicate.AgentSkillGroupBinding
- func HasGroupWith(preds ...predicate.TeamGroup) predicate.AgentSkillGroupBinding
- func HasSkill() predicate.AgentSkillGroupBinding
- func HasSkillWith(preds ...predicate.AgentSkill) predicate.AgentSkillGroupBinding
- func ID(id uuid.UUID) predicate.AgentSkillGroupBinding
- func IDEQ(id uuid.UUID) predicate.AgentSkillGroupBinding
- func IDGT(id uuid.UUID) predicate.AgentSkillGroupBinding
- func IDGTE(id uuid.UUID) predicate.AgentSkillGroupBinding
- func IDIn(ids ...uuid.UUID) predicate.AgentSkillGroupBinding
- func IDLT(id uuid.UUID) predicate.AgentSkillGroupBinding
- func IDLTE(id uuid.UUID) predicate.AgentSkillGroupBinding
- func IDNEQ(id uuid.UUID) predicate.AgentSkillGroupBinding
- func IDNotIn(ids ...uuid.UUID) predicate.AgentSkillGroupBinding
- func Not(p predicate.AgentSkillGroupBinding) predicate.AgentSkillGroupBinding
- func Or(predicates ...predicate.AgentSkillGroupBinding) predicate.AgentSkillGroupBinding
- func SkillID(v uuid.UUID) predicate.AgentSkillGroupBinding
- func SkillIDEQ(v uuid.UUID) predicate.AgentSkillGroupBinding
- func SkillIDIn(vs ...uuid.UUID) predicate.AgentSkillGroupBinding
- func SkillIDNEQ(v uuid.UUID) predicate.AgentSkillGroupBinding
- func SkillIDNotIn(vs ...uuid.UUID) predicate.AgentSkillGroupBinding
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGroupField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func BySkillField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySkillID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldSkillID, FieldGroupID, FieldCreatedAt, }
Columns holds all SQL columns for agentskillgroupbinding fields.
Functions ¶
func And ¶
func And(predicates ...predicate.AgentSkillGroupBinding) predicate.AgentSkillGroupBinding
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AgentSkillGroupBinding
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AgentSkillGroupBinding
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AgentSkillGroupBinding
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 ¶
func CreatedAtLT(v time.Time) predicate.AgentSkillGroupBinding
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 ¶
func GroupID(v uuid.UUID) predicate.AgentSkillGroupBinding
GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
func GroupIDEQ ¶
func GroupIDEQ(v uuid.UUID) predicate.AgentSkillGroupBinding
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 ¶
func GroupIDNEQ(v uuid.UUID) predicate.AgentSkillGroupBinding
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 ¶
func HasGroup() predicate.AgentSkillGroupBinding
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 ¶
func HasSkill() predicate.AgentSkillGroupBinding
HasSkill applies the HasEdge predicate on the "skill" edge.
func HasSkillWith ¶
func HasSkillWith(preds ...predicate.AgentSkill) predicate.AgentSkillGroupBinding
HasSkillWith applies the HasEdge predicate on the "skill" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.AgentSkillGroupBinding
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.AgentSkillGroupBinding
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.AgentSkillGroupBinding
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.AgentSkillGroupBinding
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.AgentSkillGroupBinding
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.AgentSkillGroupBinding
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.AgentSkillGroupBinding
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.AgentSkillGroupBinding
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 Or ¶
func Or(predicates ...predicate.AgentSkillGroupBinding) predicate.AgentSkillGroupBinding
Or groups predicates with the OR operator between them.
func SkillID ¶
func SkillID(v uuid.UUID) predicate.AgentSkillGroupBinding
SkillID applies equality check predicate on the "skill_id" field. It's identical to SkillIDEQ.
func SkillIDEQ ¶
func SkillIDEQ(v uuid.UUID) predicate.AgentSkillGroupBinding
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 ¶
func SkillIDNEQ(v uuid.UUID) predicate.AgentSkillGroupBinding
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.