Documentation
¶
Index ¶
- Constants
- Variables
- func ActiveVersionID(v uuid.UUID) predicate.AgentSkill
- func ActiveVersionIDEQ(v uuid.UUID) predicate.AgentSkill
- func ActiveVersionIDGT(v uuid.UUID) predicate.AgentSkill
- func ActiveVersionIDGTE(v uuid.UUID) predicate.AgentSkill
- func ActiveVersionIDIn(vs ...uuid.UUID) predicate.AgentSkill
- func ActiveVersionIDIsNil() predicate.AgentSkill
- func ActiveVersionIDLT(v uuid.UUID) predicate.AgentSkill
- func ActiveVersionIDLTE(v uuid.UUID) predicate.AgentSkill
- func ActiveVersionIDNEQ(v uuid.UUID) predicate.AgentSkill
- func ActiveVersionIDNotIn(vs ...uuid.UUID) predicate.AgentSkill
- func ActiveVersionIDNotNil() predicate.AgentSkill
- func AdminDescription(v string) predicate.AgentSkill
- func AdminDescriptionContains(v string) predicate.AgentSkill
- func AdminDescriptionContainsFold(v string) predicate.AgentSkill
- func AdminDescriptionEQ(v string) predicate.AgentSkill
- func AdminDescriptionEqualFold(v string) predicate.AgentSkill
- func AdminDescriptionGT(v string) predicate.AgentSkill
- func AdminDescriptionGTE(v string) predicate.AgentSkill
- func AdminDescriptionHasPrefix(v string) predicate.AgentSkill
- func AdminDescriptionHasSuffix(v string) predicate.AgentSkill
- func AdminDescriptionIn(vs ...string) predicate.AgentSkill
- func AdminDescriptionIsNil() predicate.AgentSkill
- func AdminDescriptionLT(v string) predicate.AgentSkill
- func AdminDescriptionLTE(v string) predicate.AgentSkill
- func AdminDescriptionNEQ(v string) predicate.AgentSkill
- func AdminDescriptionNotIn(vs ...string) predicate.AgentSkill
- func AdminDescriptionNotNil() predicate.AgentSkill
- func AdminTagsIsNil() predicate.AgentSkill
- func AdminTagsNotNil() predicate.AgentSkill
- func And(predicates ...predicate.AgentSkill) predicate.AgentSkill
- func CreatedAt(v time.Time) predicate.AgentSkill
- func CreatedAtEQ(v time.Time) predicate.AgentSkill
- func CreatedAtGT(v time.Time) predicate.AgentSkill
- func CreatedAtGTE(v time.Time) predicate.AgentSkill
- func CreatedAtIn(vs ...time.Time) predicate.AgentSkill
- func CreatedAtLT(v time.Time) predicate.AgentSkill
- func CreatedAtLTE(v time.Time) predicate.AgentSkill
- func CreatedAtNEQ(v time.Time) predicate.AgentSkill
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentSkill
- func CreatedBy(v uuid.UUID) predicate.AgentSkill
- func CreatedByEQ(v uuid.UUID) predicate.AgentSkill
- func CreatedByGT(v uuid.UUID) predicate.AgentSkill
- func CreatedByGTE(v uuid.UUID) predicate.AgentSkill
- func CreatedByIn(vs ...uuid.UUID) predicate.AgentSkill
- func CreatedByLT(v uuid.UUID) predicate.AgentSkill
- func CreatedByLTE(v uuid.UUID) predicate.AgentSkill
- func CreatedByNEQ(v uuid.UUID) predicate.AgentSkill
- func CreatedByNotIn(vs ...uuid.UUID) predicate.AgentSkill
- func Description(v string) predicate.AgentSkill
- func DescriptionContains(v string) predicate.AgentSkill
- func DescriptionContainsFold(v string) predicate.AgentSkill
- func DescriptionEQ(v string) predicate.AgentSkill
- func DescriptionEqualFold(v string) predicate.AgentSkill
- func DescriptionGT(v string) predicate.AgentSkill
- func DescriptionGTE(v string) predicate.AgentSkill
- func DescriptionHasPrefix(v string) predicate.AgentSkill
- func DescriptionHasSuffix(v string) predicate.AgentSkill
- func DescriptionIn(vs ...string) predicate.AgentSkill
- func DescriptionIsNil() predicate.AgentSkill
- func DescriptionLT(v string) predicate.AgentSkill
- func DescriptionLTE(v string) predicate.AgentSkill
- func DescriptionNEQ(v string) predicate.AgentSkill
- func DescriptionNotIn(vs ...string) predicate.AgentSkill
- func DescriptionNotNil() predicate.AgentSkill
- func Enabled(v bool) predicate.AgentSkill
- func EnabledEQ(v bool) predicate.AgentSkill
- func EnabledNEQ(v bool) predicate.AgentSkill
- func ExtensionPackageID(v string) predicate.AgentSkill
- func ExtensionPackageIDContains(v string) predicate.AgentSkill
- func ExtensionPackageIDContainsFold(v string) predicate.AgentSkill
- func ExtensionPackageIDEQ(v string) predicate.AgentSkill
- func ExtensionPackageIDEqualFold(v string) predicate.AgentSkill
- func ExtensionPackageIDGT(v string) predicate.AgentSkill
- func ExtensionPackageIDGTE(v string) predicate.AgentSkill
- func ExtensionPackageIDHasPrefix(v string) predicate.AgentSkill
- func ExtensionPackageIDHasSuffix(v string) predicate.AgentSkill
- func ExtensionPackageIDIn(vs ...string) predicate.AgentSkill
- func ExtensionPackageIDIsNil() predicate.AgentSkill
- func ExtensionPackageIDLT(v string) predicate.AgentSkill
- func ExtensionPackageIDLTE(v string) predicate.AgentSkill
- func ExtensionPackageIDNEQ(v string) predicate.AgentSkill
- func ExtensionPackageIDNotIn(vs ...string) predicate.AgentSkill
- func ExtensionPackageIDNotNil() predicate.AgentSkill
- func HasRepo() predicate.AgentSkill
- func HasRepoWith(preds ...predicate.AgentSkillRepo) predicate.AgentSkill
- func HasVersions() predicate.AgentSkill
- func HasVersionsWith(preds ...predicate.AgentSkillVersion) predicate.AgentSkill
- func ID(id uuid.UUID) predicate.AgentSkill
- func IDEQ(id uuid.UUID) predicate.AgentSkill
- func IDGT(id uuid.UUID) predicate.AgentSkill
- func IDGTE(id uuid.UUID) predicate.AgentSkill
- func IDIn(ids ...uuid.UUID) predicate.AgentSkill
- func IDLT(id uuid.UUID) predicate.AgentSkill
- func IDLTE(id uuid.UUID) predicate.AgentSkill
- func IDNEQ(id uuid.UUID) predicate.AgentSkill
- func IDNotIn(ids ...uuid.UUID) predicate.AgentSkill
- func IsDeleted(v bool) predicate.AgentSkill
- func IsDeletedEQ(v bool) predicate.AgentSkill
- func IsDeletedNEQ(v bool) predicate.AgentSkill
- func IsForceDelivery(v bool) predicate.AgentSkill
- func IsForceDeliveryEQ(v bool) predicate.AgentSkill
- func IsForceDeliveryNEQ(v bool) predicate.AgentSkill
- func IsOrphan(v bool) predicate.AgentSkill
- func IsOrphanEQ(v bool) predicate.AgentSkill
- func IsOrphanNEQ(v bool) predicate.AgentSkill
- func Name(v string) predicate.AgentSkill
- func NameContains(v string) predicate.AgentSkill
- func NameContainsFold(v string) predicate.AgentSkill
- func NameEQ(v string) predicate.AgentSkill
- func NameEqualFold(v string) predicate.AgentSkill
- func NameGT(v string) predicate.AgentSkill
- func NameGTE(v string) predicate.AgentSkill
- func NameHasPrefix(v string) predicate.AgentSkill
- func NameHasSuffix(v string) predicate.AgentSkill
- func NameIn(vs ...string) predicate.AgentSkill
- func NameLT(v string) predicate.AgentSkill
- func NameLTE(v string) predicate.AgentSkill
- func NameNEQ(v string) predicate.AgentSkill
- func NameNotIn(vs ...string) predicate.AgentSkill
- func Not(p predicate.AgentSkill) predicate.AgentSkill
- func Or(predicates ...predicate.AgentSkill) predicate.AgentSkill
- func RepoID(v uuid.UUID) predicate.AgentSkill
- func RepoIDEQ(v uuid.UUID) predicate.AgentSkill
- func RepoIDIn(vs ...uuid.UUID) predicate.AgentSkill
- func RepoIDNEQ(v uuid.UUID) predicate.AgentSkill
- func RepoIDNotIn(vs ...uuid.UUID) predicate.AgentSkill
- func ScopeID(v string) predicate.AgentSkill
- func ScopeIDContains(v string) predicate.AgentSkill
- func ScopeIDContainsFold(v string) predicate.AgentSkill
- func ScopeIDEQ(v string) predicate.AgentSkill
- func ScopeIDEqualFold(v string) predicate.AgentSkill
- func ScopeIDGT(v string) predicate.AgentSkill
- func ScopeIDGTE(v string) predicate.AgentSkill
- func ScopeIDHasPrefix(v string) predicate.AgentSkill
- func ScopeIDHasSuffix(v string) predicate.AgentSkill
- func ScopeIDIn(vs ...string) predicate.AgentSkill
- func ScopeIDLT(v string) predicate.AgentSkill
- func ScopeIDLTE(v string) predicate.AgentSkill
- func ScopeIDNEQ(v string) predicate.AgentSkill
- func ScopeIDNotIn(vs ...string) predicate.AgentSkill
- func ScopeTypeEQ(v ScopeType) predicate.AgentSkill
- func ScopeTypeIn(vs ...ScopeType) predicate.AgentSkill
- func ScopeTypeNEQ(v ScopeType) predicate.AgentSkill
- func ScopeTypeNotIn(vs ...ScopeType) predicate.AgentSkill
- func ScopeTypeValidator(st ScopeType) error
- func UpdatedAt(v time.Time) predicate.AgentSkill
- func UpdatedAtEQ(v time.Time) predicate.AgentSkill
- func UpdatedAtGT(v time.Time) predicate.AgentSkill
- func UpdatedAtGTE(v time.Time) predicate.AgentSkill
- func UpdatedAtIn(vs ...time.Time) predicate.AgentSkill
- func UpdatedAtLT(v time.Time) predicate.AgentSkill
- func UpdatedAtLTE(v time.Time) predicate.AgentSkill
- func UpdatedAtNEQ(v time.Time) predicate.AgentSkill
- func UpdatedAtNotIn(vs ...time.Time) predicate.AgentSkill
- func ValidColumn(column string) bool
- type OrderOption
- func ByActiveVersionID(opts ...sql.OrderTermOption) OrderOption
- func ByAdminDescription(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByExtensionPackageID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsDeleted(opts ...sql.OrderTermOption) OrderOption
- func ByIsForceDelivery(opts ...sql.OrderTermOption) OrderOption
- func ByIsOrphan(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRepoField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRepoID(opts ...sql.OrderTermOption) OrderOption
- func ByScopeID(opts ...sql.OrderTermOption) OrderOption
- func ByScopeType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVersions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByVersionsCount(opts ...sql.OrderTermOption) OrderOption
- type ScopeType
Constants ¶
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" // FieldRepoID holds the string denoting the repo_id field in the database. FieldRepoID = "repo_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldScopeType holds the string denoting the scope_type field in the database. FieldScopeType = "scope_type" // FieldScopeID holds the string denoting the scope_id field in the database. FieldScopeID = "scope_id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldActiveVersionID holds the string denoting the active_version_id field in the database. FieldActiveVersionID = "active_version_id" // FieldIsForceDelivery holds the string denoting the is_force_delivery field in the database. FieldIsForceDelivery = "is_force_delivery" // FieldIsOrphan holds the string denoting the is_orphan field in the database. FieldIsOrphan = "is_orphan" // FieldIsDeleted holds the string denoting the is_deleted field in the database. FieldIsDeleted = "is_deleted" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // FieldExtensionPackageID holds the string denoting the extension_package_id field in the database. FieldExtensionPackageID = "extension_package_id" // FieldAdminDescription holds the string denoting the admin_description field in the database. FieldAdminDescription = "admin_description" // FieldAdminTags holds the string denoting the admin_tags field in the database. FieldAdminTags = "admin_tags" // 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" // EdgeRepo holds the string denoting the repo edge name in mutations. EdgeRepo = "repo" // EdgeVersions holds the string denoting the versions edge name in mutations. EdgeVersions = "versions" // Table holds the table name of the agentskill in the database. Table = "agent_skills" // RepoTable is the table that holds the repo relation/edge. RepoTable = "agent_skills" // RepoInverseTable is the table name for the AgentSkillRepo entity. // It exists in this package in order to avoid circular dependency with the "agentskillrepo" package. RepoInverseTable = "agent_skill_repos" // RepoColumn is the table column denoting the repo relation/edge. RepoColumn = "repo_id" // VersionsTable is the table that holds the versions relation/edge. VersionsTable = "agent_skill_versions" // VersionsInverseTable is the table name for the AgentSkillVersion entity. // It exists in this package in order to avoid circular dependency with the "agentskillversion" package. VersionsInverseTable = "agent_skill_versions" // VersionsColumn is the table column denoting the versions relation/edge. VersionsColumn = "resource_id" )
const DefaultScopeType = ScopeTypeGlobal
ScopeTypeGlobal is the default value of the ScopeType enum.
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultScopeID holds the default value on creation for the "scope_id" field. DefaultScopeID string // DefaultIsForceDelivery holds the default value on creation for the "is_force_delivery" field. DefaultIsForceDelivery bool // DefaultIsOrphan holds the default value on creation for the "is_orphan" field. DefaultIsOrphan bool // DefaultIsDeleted holds the default value on creation for the "is_deleted" field. DefaultIsDeleted bool // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldRepoID, FieldName, FieldDescription, FieldScopeType, FieldScopeID, FieldCreatedBy, FieldActiveVersionID, FieldIsForceDelivery, FieldIsOrphan, FieldIsDeleted, FieldEnabled, FieldExtensionPackageID, FieldAdminDescription, FieldAdminTags, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for agentskill fields.
Functions ¶
func ActiveVersionID ¶
func ActiveVersionID(v uuid.UUID) predicate.AgentSkill
ActiveVersionID applies equality check predicate on the "active_version_id" field. It's identical to ActiveVersionIDEQ.
func ActiveVersionIDEQ ¶
func ActiveVersionIDEQ(v uuid.UUID) predicate.AgentSkill
ActiveVersionIDEQ applies the EQ predicate on the "active_version_id" field.
func ActiveVersionIDGT ¶
func ActiveVersionIDGT(v uuid.UUID) predicate.AgentSkill
ActiveVersionIDGT applies the GT predicate on the "active_version_id" field.
func ActiveVersionIDGTE ¶
func ActiveVersionIDGTE(v uuid.UUID) predicate.AgentSkill
ActiveVersionIDGTE applies the GTE predicate on the "active_version_id" field.
func ActiveVersionIDIn ¶
func ActiveVersionIDIn(vs ...uuid.UUID) predicate.AgentSkill
ActiveVersionIDIn applies the In predicate on the "active_version_id" field.
func ActiveVersionIDIsNil ¶
func ActiveVersionIDIsNil() predicate.AgentSkill
ActiveVersionIDIsNil applies the IsNil predicate on the "active_version_id" field.
func ActiveVersionIDLT ¶
func ActiveVersionIDLT(v uuid.UUID) predicate.AgentSkill
ActiveVersionIDLT applies the LT predicate on the "active_version_id" field.
func ActiveVersionIDLTE ¶
func ActiveVersionIDLTE(v uuid.UUID) predicate.AgentSkill
ActiveVersionIDLTE applies the LTE predicate on the "active_version_id" field.
func ActiveVersionIDNEQ ¶
func ActiveVersionIDNEQ(v uuid.UUID) predicate.AgentSkill
ActiveVersionIDNEQ applies the NEQ predicate on the "active_version_id" field.
func ActiveVersionIDNotIn ¶
func ActiveVersionIDNotIn(vs ...uuid.UUID) predicate.AgentSkill
ActiveVersionIDNotIn applies the NotIn predicate on the "active_version_id" field.
func ActiveVersionIDNotNil ¶
func ActiveVersionIDNotNil() predicate.AgentSkill
ActiveVersionIDNotNil applies the NotNil predicate on the "active_version_id" field.
func AdminDescription ¶
func AdminDescription(v string) predicate.AgentSkill
AdminDescription applies equality check predicate on the "admin_description" field. It's identical to AdminDescriptionEQ.
func AdminDescriptionContains ¶
func AdminDescriptionContains(v string) predicate.AgentSkill
AdminDescriptionContains applies the Contains predicate on the "admin_description" field.
func AdminDescriptionContainsFold ¶
func AdminDescriptionContainsFold(v string) predicate.AgentSkill
AdminDescriptionContainsFold applies the ContainsFold predicate on the "admin_description" field.
func AdminDescriptionEQ ¶
func AdminDescriptionEQ(v string) predicate.AgentSkill
AdminDescriptionEQ applies the EQ predicate on the "admin_description" field.
func AdminDescriptionEqualFold ¶
func AdminDescriptionEqualFold(v string) predicate.AgentSkill
AdminDescriptionEqualFold applies the EqualFold predicate on the "admin_description" field.
func AdminDescriptionGT ¶
func AdminDescriptionGT(v string) predicate.AgentSkill
AdminDescriptionGT applies the GT predicate on the "admin_description" field.
func AdminDescriptionGTE ¶
func AdminDescriptionGTE(v string) predicate.AgentSkill
AdminDescriptionGTE applies the GTE predicate on the "admin_description" field.
func AdminDescriptionHasPrefix ¶
func AdminDescriptionHasPrefix(v string) predicate.AgentSkill
AdminDescriptionHasPrefix applies the HasPrefix predicate on the "admin_description" field.
func AdminDescriptionHasSuffix ¶
func AdminDescriptionHasSuffix(v string) predicate.AgentSkill
AdminDescriptionHasSuffix applies the HasSuffix predicate on the "admin_description" field.
func AdminDescriptionIn ¶
func AdminDescriptionIn(vs ...string) predicate.AgentSkill
AdminDescriptionIn applies the In predicate on the "admin_description" field.
func AdminDescriptionIsNil ¶
func AdminDescriptionIsNil() predicate.AgentSkill
AdminDescriptionIsNil applies the IsNil predicate on the "admin_description" field.
func AdminDescriptionLT ¶
func AdminDescriptionLT(v string) predicate.AgentSkill
AdminDescriptionLT applies the LT predicate on the "admin_description" field.
func AdminDescriptionLTE ¶
func AdminDescriptionLTE(v string) predicate.AgentSkill
AdminDescriptionLTE applies the LTE predicate on the "admin_description" field.
func AdminDescriptionNEQ ¶
func AdminDescriptionNEQ(v string) predicate.AgentSkill
AdminDescriptionNEQ applies the NEQ predicate on the "admin_description" field.
func AdminDescriptionNotIn ¶
func AdminDescriptionNotIn(vs ...string) predicate.AgentSkill
AdminDescriptionNotIn applies the NotIn predicate on the "admin_description" field.
func AdminDescriptionNotNil ¶
func AdminDescriptionNotNil() predicate.AgentSkill
AdminDescriptionNotNil applies the NotNil predicate on the "admin_description" field.
func AdminTagsIsNil ¶
func AdminTagsIsNil() predicate.AgentSkill
AdminTagsIsNil applies the IsNil predicate on the "admin_tags" field.
func AdminTagsNotNil ¶
func AdminTagsNotNil() predicate.AgentSkill
AdminTagsNotNil applies the NotNil predicate on the "admin_tags" field.
func And ¶
func And(predicates ...predicate.AgentSkill) predicate.AgentSkill
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AgentSkill
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AgentSkill
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AgentSkill
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AgentSkill
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AgentSkill
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AgentSkill
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AgentSkill
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AgentSkill
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AgentSkill
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v uuid.UUID) predicate.AgentSkill
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v uuid.UUID) predicate.AgentSkill
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v uuid.UUID) predicate.AgentSkill
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v uuid.UUID) predicate.AgentSkill
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...uuid.UUID) predicate.AgentSkill
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v uuid.UUID) predicate.AgentSkill
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v uuid.UUID) predicate.AgentSkill
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v uuid.UUID) predicate.AgentSkill
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...uuid.UUID) predicate.AgentSkill
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func Description ¶
func Description(v string) predicate.AgentSkill
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.AgentSkill
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.AgentSkill
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.AgentSkill
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.AgentSkill
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.AgentSkill
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.AgentSkill
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.AgentSkill
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.AgentSkill
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.AgentSkill
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.AgentSkill
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.AgentSkill
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.AgentSkill
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.AgentSkill
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.AgentSkill
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.AgentSkill
DescriptionNotNil applies the NotNil predicate on the "description" field.
func Enabled ¶
func Enabled(v bool) predicate.AgentSkill
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledEQ ¶
func EnabledEQ(v bool) predicate.AgentSkill
EnabledEQ applies the EQ predicate on the "enabled" field.
func EnabledNEQ ¶
func EnabledNEQ(v bool) predicate.AgentSkill
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func ExtensionPackageID ¶
func ExtensionPackageID(v string) predicate.AgentSkill
ExtensionPackageID applies equality check predicate on the "extension_package_id" field. It's identical to ExtensionPackageIDEQ.
func ExtensionPackageIDContains ¶
func ExtensionPackageIDContains(v string) predicate.AgentSkill
ExtensionPackageIDContains applies the Contains predicate on the "extension_package_id" field.
func ExtensionPackageIDContainsFold ¶
func ExtensionPackageIDContainsFold(v string) predicate.AgentSkill
ExtensionPackageIDContainsFold applies the ContainsFold predicate on the "extension_package_id" field.
func ExtensionPackageIDEQ ¶
func ExtensionPackageIDEQ(v string) predicate.AgentSkill
ExtensionPackageIDEQ applies the EQ predicate on the "extension_package_id" field.
func ExtensionPackageIDEqualFold ¶
func ExtensionPackageIDEqualFold(v string) predicate.AgentSkill
ExtensionPackageIDEqualFold applies the EqualFold predicate on the "extension_package_id" field.
func ExtensionPackageIDGT ¶
func ExtensionPackageIDGT(v string) predicate.AgentSkill
ExtensionPackageIDGT applies the GT predicate on the "extension_package_id" field.
func ExtensionPackageIDGTE ¶
func ExtensionPackageIDGTE(v string) predicate.AgentSkill
ExtensionPackageIDGTE applies the GTE predicate on the "extension_package_id" field.
func ExtensionPackageIDHasPrefix ¶
func ExtensionPackageIDHasPrefix(v string) predicate.AgentSkill
ExtensionPackageIDHasPrefix applies the HasPrefix predicate on the "extension_package_id" field.
func ExtensionPackageIDHasSuffix ¶
func ExtensionPackageIDHasSuffix(v string) predicate.AgentSkill
ExtensionPackageIDHasSuffix applies the HasSuffix predicate on the "extension_package_id" field.
func ExtensionPackageIDIn ¶
func ExtensionPackageIDIn(vs ...string) predicate.AgentSkill
ExtensionPackageIDIn applies the In predicate on the "extension_package_id" field.
func ExtensionPackageIDIsNil ¶
func ExtensionPackageIDIsNil() predicate.AgentSkill
ExtensionPackageIDIsNil applies the IsNil predicate on the "extension_package_id" field.
func ExtensionPackageIDLT ¶
func ExtensionPackageIDLT(v string) predicate.AgentSkill
ExtensionPackageIDLT applies the LT predicate on the "extension_package_id" field.
func ExtensionPackageIDLTE ¶
func ExtensionPackageIDLTE(v string) predicate.AgentSkill
ExtensionPackageIDLTE applies the LTE predicate on the "extension_package_id" field.
func ExtensionPackageIDNEQ ¶
func ExtensionPackageIDNEQ(v string) predicate.AgentSkill
ExtensionPackageIDNEQ applies the NEQ predicate on the "extension_package_id" field.
func ExtensionPackageIDNotIn ¶
func ExtensionPackageIDNotIn(vs ...string) predicate.AgentSkill
ExtensionPackageIDNotIn applies the NotIn predicate on the "extension_package_id" field.
func ExtensionPackageIDNotNil ¶
func ExtensionPackageIDNotNil() predicate.AgentSkill
ExtensionPackageIDNotNil applies the NotNil predicate on the "extension_package_id" field.
func HasRepo ¶
func HasRepo() predicate.AgentSkill
HasRepo applies the HasEdge predicate on the "repo" edge.
func HasRepoWith ¶
func HasRepoWith(preds ...predicate.AgentSkillRepo) predicate.AgentSkill
HasRepoWith applies the HasEdge predicate on the "repo" edge with a given conditions (other predicates).
func HasVersions ¶
func HasVersions() predicate.AgentSkill
HasVersions applies the HasEdge predicate on the "versions" edge.
func HasVersionsWith ¶
func HasVersionsWith(preds ...predicate.AgentSkillVersion) predicate.AgentSkill
HasVersionsWith applies the HasEdge predicate on the "versions" edge with a given conditions (other predicates).
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 IsDeleted ¶
func IsDeleted(v bool) predicate.AgentSkill
IsDeleted applies equality check predicate on the "is_deleted" field. It's identical to IsDeletedEQ.
func IsDeletedEQ ¶
func IsDeletedEQ(v bool) predicate.AgentSkill
IsDeletedEQ applies the EQ predicate on the "is_deleted" field.
func IsDeletedNEQ ¶
func IsDeletedNEQ(v bool) predicate.AgentSkill
IsDeletedNEQ applies the NEQ predicate on the "is_deleted" field.
func IsForceDelivery ¶
func IsForceDelivery(v bool) predicate.AgentSkill
IsForceDelivery applies equality check predicate on the "is_force_delivery" field. It's identical to IsForceDeliveryEQ.
func IsForceDeliveryEQ ¶
func IsForceDeliveryEQ(v bool) predicate.AgentSkill
IsForceDeliveryEQ applies the EQ predicate on the "is_force_delivery" field.
func IsForceDeliveryNEQ ¶
func IsForceDeliveryNEQ(v bool) predicate.AgentSkill
IsForceDeliveryNEQ applies the NEQ predicate on the "is_force_delivery" field.
func IsOrphan ¶
func IsOrphan(v bool) predicate.AgentSkill
IsOrphan applies equality check predicate on the "is_orphan" field. It's identical to IsOrphanEQ.
func IsOrphanEQ ¶
func IsOrphanEQ(v bool) predicate.AgentSkill
IsOrphanEQ applies the EQ predicate on the "is_orphan" field.
func IsOrphanNEQ ¶
func IsOrphanNEQ(v bool) predicate.AgentSkill
IsOrphanNEQ applies the NEQ predicate on the "is_orphan" field.
func Name ¶
func Name(v string) predicate.AgentSkill
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.AgentSkill
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.AgentSkill
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.AgentSkill
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.AgentSkill
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.AgentSkill
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.AgentSkill
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.AgentSkill
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.AgentSkill
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.AgentSkill
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.AgentSkill
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.AgentSkill
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.AgentSkill
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.AgentSkill
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.AgentSkill) predicate.AgentSkill
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 RepoID ¶
func RepoID(v uuid.UUID) predicate.AgentSkill
RepoID applies equality check predicate on the "repo_id" field. It's identical to RepoIDEQ.
func RepoIDEQ ¶
func RepoIDEQ(v uuid.UUID) predicate.AgentSkill
RepoIDEQ applies the EQ predicate on the "repo_id" field.
func RepoIDIn ¶
func RepoIDIn(vs ...uuid.UUID) predicate.AgentSkill
RepoIDIn applies the In predicate on the "repo_id" field.
func RepoIDNEQ ¶
func RepoIDNEQ(v uuid.UUID) predicate.AgentSkill
RepoIDNEQ applies the NEQ predicate on the "repo_id" field.
func RepoIDNotIn ¶
func RepoIDNotIn(vs ...uuid.UUID) predicate.AgentSkill
RepoIDNotIn applies the NotIn predicate on the "repo_id" field.
func ScopeID ¶
func ScopeID(v string) predicate.AgentSkill
ScopeID applies equality check predicate on the "scope_id" field. It's identical to ScopeIDEQ.
func ScopeIDContains ¶
func ScopeIDContains(v string) predicate.AgentSkill
ScopeIDContains applies the Contains predicate on the "scope_id" field.
func ScopeIDContainsFold ¶
func ScopeIDContainsFold(v string) predicate.AgentSkill
ScopeIDContainsFold applies the ContainsFold predicate on the "scope_id" field.
func ScopeIDEQ ¶
func ScopeIDEQ(v string) predicate.AgentSkill
ScopeIDEQ applies the EQ predicate on the "scope_id" field.
func ScopeIDEqualFold ¶
func ScopeIDEqualFold(v string) predicate.AgentSkill
ScopeIDEqualFold applies the EqualFold predicate on the "scope_id" field.
func ScopeIDGT ¶
func ScopeIDGT(v string) predicate.AgentSkill
ScopeIDGT applies the GT predicate on the "scope_id" field.
func ScopeIDGTE ¶
func ScopeIDGTE(v string) predicate.AgentSkill
ScopeIDGTE applies the GTE predicate on the "scope_id" field.
func ScopeIDHasPrefix ¶
func ScopeIDHasPrefix(v string) predicate.AgentSkill
ScopeIDHasPrefix applies the HasPrefix predicate on the "scope_id" field.
func ScopeIDHasSuffix ¶
func ScopeIDHasSuffix(v string) predicate.AgentSkill
ScopeIDHasSuffix applies the HasSuffix predicate on the "scope_id" field.
func ScopeIDIn ¶
func ScopeIDIn(vs ...string) predicate.AgentSkill
ScopeIDIn applies the In predicate on the "scope_id" field.
func ScopeIDLT ¶
func ScopeIDLT(v string) predicate.AgentSkill
ScopeIDLT applies the LT predicate on the "scope_id" field.
func ScopeIDLTE ¶
func ScopeIDLTE(v string) predicate.AgentSkill
ScopeIDLTE applies the LTE predicate on the "scope_id" field.
func ScopeIDNEQ ¶
func ScopeIDNEQ(v string) predicate.AgentSkill
ScopeIDNEQ applies the NEQ predicate on the "scope_id" field.
func ScopeIDNotIn ¶
func ScopeIDNotIn(vs ...string) predicate.AgentSkill
ScopeIDNotIn applies the NotIn predicate on the "scope_id" field.
func ScopeTypeEQ ¶
func ScopeTypeEQ(v ScopeType) predicate.AgentSkill
ScopeTypeEQ applies the EQ predicate on the "scope_type" field.
func ScopeTypeIn ¶
func ScopeTypeIn(vs ...ScopeType) predicate.AgentSkill
ScopeTypeIn applies the In predicate on the "scope_type" field.
func ScopeTypeNEQ ¶
func ScopeTypeNEQ(v ScopeType) predicate.AgentSkill
ScopeTypeNEQ applies the NEQ predicate on the "scope_type" field.
func ScopeTypeNotIn ¶
func ScopeTypeNotIn(vs ...ScopeType) predicate.AgentSkill
ScopeTypeNotIn applies the NotIn predicate on the "scope_type" field.
func ScopeTypeValidator ¶
ScopeTypeValidator is a validator for the "scope_type" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.AgentSkill
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.AgentSkill
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.AgentSkill
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.AgentSkill
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.AgentSkill
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.AgentSkill
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.AgentSkill
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.AgentSkill
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.AgentSkill
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 AgentSkill queries.
func ByActiveVersionID ¶
func ByActiveVersionID(opts ...sql.OrderTermOption) OrderOption
ByActiveVersionID orders the results by the active_version_id field.
func ByAdminDescription ¶
func ByAdminDescription(opts ...sql.OrderTermOption) OrderOption
ByAdminDescription orders the results by the admin_description field.
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 ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByExtensionPackageID ¶
func ByExtensionPackageID(opts ...sql.OrderTermOption) OrderOption
ByExtensionPackageID orders the results by the extension_package_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsDeleted ¶
func ByIsDeleted(opts ...sql.OrderTermOption) OrderOption
ByIsDeleted orders the results by the is_deleted field.
func ByIsForceDelivery ¶
func ByIsForceDelivery(opts ...sql.OrderTermOption) OrderOption
ByIsForceDelivery orders the results by the is_force_delivery field.
func ByIsOrphan ¶
func ByIsOrphan(opts ...sql.OrderTermOption) OrderOption
ByIsOrphan orders the results by the is_orphan field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRepoField ¶
func ByRepoField(field string, opts ...sql.OrderTermOption) OrderOption
ByRepoField orders the results by repo field.
func ByRepoID ¶
func ByRepoID(opts ...sql.OrderTermOption) OrderOption
ByRepoID orders the results by the repo_id field.
func ByScopeID ¶
func ByScopeID(opts ...sql.OrderTermOption) OrderOption
ByScopeID orders the results by the scope_id field.
func ByScopeType ¶
func ByScopeType(opts ...sql.OrderTermOption) OrderOption
ByScopeType orders the results by the scope_type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVersions ¶
func ByVersions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByVersions orders the results by versions terms.
func ByVersionsCount ¶
func ByVersionsCount(opts ...sql.OrderTermOption) OrderOption
ByVersionsCount orders the results by versions count.