Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SkillVersion) predicate.SkillVersion
- func BundleHash(v string) predicate.SkillVersion
- func BundleHashContains(v string) predicate.SkillVersion
- func BundleHashContainsFold(v string) predicate.SkillVersion
- func BundleHashEQ(v string) predicate.SkillVersion
- func BundleHashEqualFold(v string) predicate.SkillVersion
- func BundleHashGT(v string) predicate.SkillVersion
- func BundleHashGTE(v string) predicate.SkillVersion
- func BundleHashHasPrefix(v string) predicate.SkillVersion
- func BundleHashHasSuffix(v string) predicate.SkillVersion
- func BundleHashIn(vs ...string) predicate.SkillVersion
- func BundleHashIsNil() predicate.SkillVersion
- func BundleHashLT(v string) predicate.SkillVersion
- func BundleHashLTE(v string) predicate.SkillVersion
- func BundleHashNEQ(v string) predicate.SkillVersion
- func BundleHashNotIn(vs ...string) predicate.SkillVersion
- func BundleHashNotNil() predicate.SkillVersion
- func ContentHash(v string) predicate.SkillVersion
- func ContentHashContains(v string) predicate.SkillVersion
- func ContentHashContainsFold(v string) predicate.SkillVersion
- func ContentHashEQ(v string) predicate.SkillVersion
- func ContentHashEqualFold(v string) predicate.SkillVersion
- func ContentHashGT(v string) predicate.SkillVersion
- func ContentHashGTE(v string) predicate.SkillVersion
- func ContentHashHasPrefix(v string) predicate.SkillVersion
- func ContentHashHasSuffix(v string) predicate.SkillVersion
- func ContentHashIn(vs ...string) predicate.SkillVersion
- func ContentHashLT(v string) predicate.SkillVersion
- func ContentHashLTE(v string) predicate.SkillVersion
- func ContentHashNEQ(v string) predicate.SkillVersion
- func ContentHashNotIn(vs ...string) predicate.SkillVersion
- func ContentMarkdown(v string) predicate.SkillVersion
- func ContentMarkdownContains(v string) predicate.SkillVersion
- func ContentMarkdownContainsFold(v string) predicate.SkillVersion
- func ContentMarkdownEQ(v string) predicate.SkillVersion
- func ContentMarkdownEqualFold(v string) predicate.SkillVersion
- func ContentMarkdownGT(v string) predicate.SkillVersion
- func ContentMarkdownGTE(v string) predicate.SkillVersion
- func ContentMarkdownHasPrefix(v string) predicate.SkillVersion
- func ContentMarkdownHasSuffix(v string) predicate.SkillVersion
- func ContentMarkdownIn(vs ...string) predicate.SkillVersion
- func ContentMarkdownLT(v string) predicate.SkillVersion
- func ContentMarkdownLTE(v string) predicate.SkillVersion
- func ContentMarkdownNEQ(v string) predicate.SkillVersion
- func ContentMarkdownNotIn(vs ...string) predicate.SkillVersion
- func CreatedAt(v time.Time) predicate.SkillVersion
- func CreatedAtEQ(v time.Time) predicate.SkillVersion
- func CreatedAtGT(v time.Time) predicate.SkillVersion
- func CreatedAtGTE(v time.Time) predicate.SkillVersion
- func CreatedAtIn(vs ...time.Time) predicate.SkillVersion
- func CreatedAtLT(v time.Time) predicate.SkillVersion
- func CreatedAtLTE(v time.Time) predicate.SkillVersion
- func CreatedAtNEQ(v time.Time) predicate.SkillVersion
- func CreatedAtNotIn(vs ...time.Time) predicate.SkillVersion
- func CreatedBy(v string) predicate.SkillVersion
- func CreatedByContains(v string) predicate.SkillVersion
- func CreatedByContainsFold(v string) predicate.SkillVersion
- func CreatedByEQ(v string) predicate.SkillVersion
- func CreatedByEqualFold(v string) predicate.SkillVersion
- func CreatedByGT(v string) predicate.SkillVersion
- func CreatedByGTE(v string) predicate.SkillVersion
- func CreatedByHasPrefix(v string) predicate.SkillVersion
- func CreatedByHasSuffix(v string) predicate.SkillVersion
- func CreatedByIn(vs ...string) predicate.SkillVersion
- func CreatedByLT(v string) predicate.SkillVersion
- func CreatedByLTE(v string) predicate.SkillVersion
- func CreatedByNEQ(v string) predicate.SkillVersion
- func CreatedByNotIn(vs ...string) predicate.SkillVersion
- func FileCount(v int) predicate.SkillVersion
- func FileCountEQ(v int) predicate.SkillVersion
- func FileCountGT(v int) predicate.SkillVersion
- func FileCountGTE(v int) predicate.SkillVersion
- func FileCountIn(vs ...int) predicate.SkillVersion
- func FileCountLT(v int) predicate.SkillVersion
- func FileCountLTE(v int) predicate.SkillVersion
- func FileCountNEQ(v int) predicate.SkillVersion
- func FileCountNotIn(vs ...int) predicate.SkillVersion
- func HasFiles() predicate.SkillVersion
- func HasFilesWith(preds ...predicate.SkillVersionFile) predicate.SkillVersion
- func HasRequiredByBindings() predicate.SkillVersion
- func HasRequiredByBindingsWith(preds ...predicate.WorkflowSkillBinding) predicate.SkillVersion
- func HasSkill() predicate.SkillVersion
- func HasSkillWith(preds ...predicate.Skill) predicate.SkillVersion
- func ID(id uuid.UUID) predicate.SkillVersion
- func IDEQ(id uuid.UUID) predicate.SkillVersion
- func IDGT(id uuid.UUID) predicate.SkillVersion
- func IDGTE(id uuid.UUID) predicate.SkillVersion
- func IDIn(ids ...uuid.UUID) predicate.SkillVersion
- func IDLT(id uuid.UUID) predicate.SkillVersion
- func IDLTE(id uuid.UUID) predicate.SkillVersion
- func IDNEQ(id uuid.UUID) predicate.SkillVersion
- func IDNotIn(ids ...uuid.UUID) predicate.SkillVersion
- func Not(p predicate.SkillVersion) predicate.SkillVersion
- func Or(predicates ...predicate.SkillVersion) predicate.SkillVersion
- func SizeBytes(v int64) predicate.SkillVersion
- func SizeBytesEQ(v int64) predicate.SkillVersion
- func SizeBytesGT(v int64) predicate.SkillVersion
- func SizeBytesGTE(v int64) predicate.SkillVersion
- func SizeBytesIn(vs ...int64) predicate.SkillVersion
- func SizeBytesLT(v int64) predicate.SkillVersion
- func SizeBytesLTE(v int64) predicate.SkillVersion
- func SizeBytesNEQ(v int64) predicate.SkillVersion
- func SizeBytesNotIn(vs ...int64) predicate.SkillVersion
- func SkillID(v uuid.UUID) predicate.SkillVersion
- func SkillIDEQ(v uuid.UUID) predicate.SkillVersion
- func SkillIDIn(vs ...uuid.UUID) predicate.SkillVersion
- func SkillIDNEQ(v uuid.UUID) predicate.SkillVersion
- func SkillIDNotIn(vs ...uuid.UUID) predicate.SkillVersion
- func ValidColumn(column string) bool
- func Version(v int) predicate.SkillVersion
- func VersionEQ(v int) predicate.SkillVersion
- func VersionGT(v int) predicate.SkillVersion
- func VersionGTE(v int) predicate.SkillVersion
- func VersionIn(vs ...int) predicate.SkillVersion
- func VersionLT(v int) predicate.SkillVersion
- func VersionLTE(v int) predicate.SkillVersion
- func VersionNEQ(v int) predicate.SkillVersion
- func VersionNotIn(vs ...int) predicate.SkillVersion
- type OrderOption
- func ByBundleHash(opts ...sql.OrderTermOption) OrderOption
- func ByContentHash(opts ...sql.OrderTermOption) OrderOption
- func ByContentMarkdown(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByFileCount(opts ...sql.OrderTermOption) OrderOption
- func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByRequiredByBindings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRequiredByBindingsCount(opts ...sql.OrderTermOption) OrderOption
- func BySizeBytes(opts ...sql.OrderTermOption) OrderOption
- func BySkillField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySkillID(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the skillversion type in the database. Label = "skill_version" // 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" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldContentMarkdown holds the string denoting the content_markdown field in the database. FieldContentMarkdown = "content_markdown" // FieldContentHash holds the string denoting the content_hash field in the database. FieldContentHash = "content_hash" // FieldBundleHash holds the string denoting the bundle_hash field in the database. FieldBundleHash = "bundle_hash" // FieldManifestJSON holds the string denoting the manifest_json field in the database. FieldManifestJSON = "manifest_json" // FieldSizeBytes holds the string denoting the size_bytes field in the database. FieldSizeBytes = "size_bytes" // FieldFileCount holds the string denoting the file_count field in the database. FieldFileCount = "file_count" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // 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" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // EdgeRequiredByBindings holds the string denoting the required_by_bindings edge name in mutations. EdgeRequiredByBindings = "required_by_bindings" // Table holds the table name of the skillversion in the database. Table = "skill_versions" // SkillTable is the table that holds the skill relation/edge. SkillTable = "skill_versions" // 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" // FilesTable is the table that holds the files relation/edge. FilesTable = "skill_version_files" // FilesInverseTable is the table name for the SkillVersionFile entity. // It exists in this package in order to avoid circular dependency with the "skillversionfile" package. FilesInverseTable = "skill_version_files" // FilesColumn is the table column denoting the files relation/edge. FilesColumn = "skill_version_id" // RequiredByBindingsTable is the table that holds the required_by_bindings relation/edge. RequiredByBindingsTable = "workflow_skill_bindings" // RequiredByBindingsInverseTable is the table name for the WorkflowSkillBinding entity. // It exists in this package in order to avoid circular dependency with the "workflowskillbinding" package. RequiredByBindingsInverseTable = "workflow_skill_bindings" // RequiredByBindingsColumn is the table column denoting the required_by_bindings relation/edge. RequiredByBindingsColumn = "required_version_id" )
Variables ¶
var ( // ContentHashValidator is a validator for the "content_hash" field. It is called by the builders before save. ContentHashValidator func(string) error // DefaultManifestJSON holds the default value on creation for the "manifest_json" field. DefaultManifestJSON func() map[string]interface{} // DefaultSizeBytes holds the default value on creation for the "size_bytes" field. DefaultSizeBytes int64 // DefaultFileCount holds the default value on creation for the "file_count" field. DefaultFileCount int // DefaultCreatedBy holds the default value on creation for the "created_by" field. DefaultCreatedBy string // 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, FieldVersion, FieldContentMarkdown, FieldContentHash, FieldBundleHash, FieldManifestJSON, FieldSizeBytes, FieldFileCount, FieldCreatedBy, FieldCreatedAt, }
Columns holds all SQL columns for skillversion fields.
Functions ¶
func And ¶
func And(predicates ...predicate.SkillVersion) predicate.SkillVersion
And groups predicates with the AND operator between them.
func BundleHash ¶
func BundleHash(v string) predicate.SkillVersion
BundleHash applies equality check predicate on the "bundle_hash" field. It's identical to BundleHashEQ.
func BundleHashContains ¶
func BundleHashContains(v string) predicate.SkillVersion
BundleHashContains applies the Contains predicate on the "bundle_hash" field.
func BundleHashContainsFold ¶
func BundleHashContainsFold(v string) predicate.SkillVersion
BundleHashContainsFold applies the ContainsFold predicate on the "bundle_hash" field.
func BundleHashEQ ¶
func BundleHashEQ(v string) predicate.SkillVersion
BundleHashEQ applies the EQ predicate on the "bundle_hash" field.
func BundleHashEqualFold ¶
func BundleHashEqualFold(v string) predicate.SkillVersion
BundleHashEqualFold applies the EqualFold predicate on the "bundle_hash" field.
func BundleHashGT ¶
func BundleHashGT(v string) predicate.SkillVersion
BundleHashGT applies the GT predicate on the "bundle_hash" field.
func BundleHashGTE ¶
func BundleHashGTE(v string) predicate.SkillVersion
BundleHashGTE applies the GTE predicate on the "bundle_hash" field.
func BundleHashHasPrefix ¶
func BundleHashHasPrefix(v string) predicate.SkillVersion
BundleHashHasPrefix applies the HasPrefix predicate on the "bundle_hash" field.
func BundleHashHasSuffix ¶
func BundleHashHasSuffix(v string) predicate.SkillVersion
BundleHashHasSuffix applies the HasSuffix predicate on the "bundle_hash" field.
func BundleHashIn ¶
func BundleHashIn(vs ...string) predicate.SkillVersion
BundleHashIn applies the In predicate on the "bundle_hash" field.
func BundleHashIsNil ¶
func BundleHashIsNil() predicate.SkillVersion
BundleHashIsNil applies the IsNil predicate on the "bundle_hash" field.
func BundleHashLT ¶
func BundleHashLT(v string) predicate.SkillVersion
BundleHashLT applies the LT predicate on the "bundle_hash" field.
func BundleHashLTE ¶
func BundleHashLTE(v string) predicate.SkillVersion
BundleHashLTE applies the LTE predicate on the "bundle_hash" field.
func BundleHashNEQ ¶
func BundleHashNEQ(v string) predicate.SkillVersion
BundleHashNEQ applies the NEQ predicate on the "bundle_hash" field.
func BundleHashNotIn ¶
func BundleHashNotIn(vs ...string) predicate.SkillVersion
BundleHashNotIn applies the NotIn predicate on the "bundle_hash" field.
func BundleHashNotNil ¶
func BundleHashNotNil() predicate.SkillVersion
BundleHashNotNil applies the NotNil predicate on the "bundle_hash" field.
func ContentHash ¶
func ContentHash(v string) predicate.SkillVersion
ContentHash applies equality check predicate on the "content_hash" field. It's identical to ContentHashEQ.
func ContentHashContains ¶
func ContentHashContains(v string) predicate.SkillVersion
ContentHashContains applies the Contains predicate on the "content_hash" field.
func ContentHashContainsFold ¶
func ContentHashContainsFold(v string) predicate.SkillVersion
ContentHashContainsFold applies the ContainsFold predicate on the "content_hash" field.
func ContentHashEQ ¶
func ContentHashEQ(v string) predicate.SkillVersion
ContentHashEQ applies the EQ predicate on the "content_hash" field.
func ContentHashEqualFold ¶
func ContentHashEqualFold(v string) predicate.SkillVersion
ContentHashEqualFold applies the EqualFold predicate on the "content_hash" field.
func ContentHashGT ¶
func ContentHashGT(v string) predicate.SkillVersion
ContentHashGT applies the GT predicate on the "content_hash" field.
func ContentHashGTE ¶
func ContentHashGTE(v string) predicate.SkillVersion
ContentHashGTE applies the GTE predicate on the "content_hash" field.
func ContentHashHasPrefix ¶
func ContentHashHasPrefix(v string) predicate.SkillVersion
ContentHashHasPrefix applies the HasPrefix predicate on the "content_hash" field.
func ContentHashHasSuffix ¶
func ContentHashHasSuffix(v string) predicate.SkillVersion
ContentHashHasSuffix applies the HasSuffix predicate on the "content_hash" field.
func ContentHashIn ¶
func ContentHashIn(vs ...string) predicate.SkillVersion
ContentHashIn applies the In predicate on the "content_hash" field.
func ContentHashLT ¶
func ContentHashLT(v string) predicate.SkillVersion
ContentHashLT applies the LT predicate on the "content_hash" field.
func ContentHashLTE ¶
func ContentHashLTE(v string) predicate.SkillVersion
ContentHashLTE applies the LTE predicate on the "content_hash" field.
func ContentHashNEQ ¶
func ContentHashNEQ(v string) predicate.SkillVersion
ContentHashNEQ applies the NEQ predicate on the "content_hash" field.
func ContentHashNotIn ¶
func ContentHashNotIn(vs ...string) predicate.SkillVersion
ContentHashNotIn applies the NotIn predicate on the "content_hash" field.
func ContentMarkdown ¶
func ContentMarkdown(v string) predicate.SkillVersion
ContentMarkdown applies equality check predicate on the "content_markdown" field. It's identical to ContentMarkdownEQ.
func ContentMarkdownContains ¶
func ContentMarkdownContains(v string) predicate.SkillVersion
ContentMarkdownContains applies the Contains predicate on the "content_markdown" field.
func ContentMarkdownContainsFold ¶
func ContentMarkdownContainsFold(v string) predicate.SkillVersion
ContentMarkdownContainsFold applies the ContainsFold predicate on the "content_markdown" field.
func ContentMarkdownEQ ¶
func ContentMarkdownEQ(v string) predicate.SkillVersion
ContentMarkdownEQ applies the EQ predicate on the "content_markdown" field.
func ContentMarkdownEqualFold ¶
func ContentMarkdownEqualFold(v string) predicate.SkillVersion
ContentMarkdownEqualFold applies the EqualFold predicate on the "content_markdown" field.
func ContentMarkdownGT ¶
func ContentMarkdownGT(v string) predicate.SkillVersion
ContentMarkdownGT applies the GT predicate on the "content_markdown" field.
func ContentMarkdownGTE ¶
func ContentMarkdownGTE(v string) predicate.SkillVersion
ContentMarkdownGTE applies the GTE predicate on the "content_markdown" field.
func ContentMarkdownHasPrefix ¶
func ContentMarkdownHasPrefix(v string) predicate.SkillVersion
ContentMarkdownHasPrefix applies the HasPrefix predicate on the "content_markdown" field.
func ContentMarkdownHasSuffix ¶
func ContentMarkdownHasSuffix(v string) predicate.SkillVersion
ContentMarkdownHasSuffix applies the HasSuffix predicate on the "content_markdown" field.
func ContentMarkdownIn ¶
func ContentMarkdownIn(vs ...string) predicate.SkillVersion
ContentMarkdownIn applies the In predicate on the "content_markdown" field.
func ContentMarkdownLT ¶
func ContentMarkdownLT(v string) predicate.SkillVersion
ContentMarkdownLT applies the LT predicate on the "content_markdown" field.
func ContentMarkdownLTE ¶
func ContentMarkdownLTE(v string) predicate.SkillVersion
ContentMarkdownLTE applies the LTE predicate on the "content_markdown" field.
func ContentMarkdownNEQ ¶
func ContentMarkdownNEQ(v string) predicate.SkillVersion
ContentMarkdownNEQ applies the NEQ predicate on the "content_markdown" field.
func ContentMarkdownNotIn ¶
func ContentMarkdownNotIn(vs ...string) predicate.SkillVersion
ContentMarkdownNotIn applies the NotIn predicate on the "content_markdown" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SkillVersion
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SkillVersion
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SkillVersion
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SkillVersion
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SkillVersion
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SkillVersion
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SkillVersion
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SkillVersion
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SkillVersion
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.SkillVersion
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.SkillVersion
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.SkillVersion
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.SkillVersion
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.SkillVersion
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.SkillVersion
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.SkillVersion
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.SkillVersion
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.SkillVersion
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.SkillVersion
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.SkillVersion
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.SkillVersion
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.SkillVersion
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.SkillVersion
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func FileCount ¶
func FileCount(v int) predicate.SkillVersion
FileCount applies equality check predicate on the "file_count" field. It's identical to FileCountEQ.
func FileCountEQ ¶
func FileCountEQ(v int) predicate.SkillVersion
FileCountEQ applies the EQ predicate on the "file_count" field.
func FileCountGT ¶
func FileCountGT(v int) predicate.SkillVersion
FileCountGT applies the GT predicate on the "file_count" field.
func FileCountGTE ¶
func FileCountGTE(v int) predicate.SkillVersion
FileCountGTE applies the GTE predicate on the "file_count" field.
func FileCountIn ¶
func FileCountIn(vs ...int) predicate.SkillVersion
FileCountIn applies the In predicate on the "file_count" field.
func FileCountLT ¶
func FileCountLT(v int) predicate.SkillVersion
FileCountLT applies the LT predicate on the "file_count" field.
func FileCountLTE ¶
func FileCountLTE(v int) predicate.SkillVersion
FileCountLTE applies the LTE predicate on the "file_count" field.
func FileCountNEQ ¶
func FileCountNEQ(v int) predicate.SkillVersion
FileCountNEQ applies the NEQ predicate on the "file_count" field.
func FileCountNotIn ¶
func FileCountNotIn(vs ...int) predicate.SkillVersion
FileCountNotIn applies the NotIn predicate on the "file_count" field.
func HasFiles ¶
func HasFiles() predicate.SkillVersion
HasFiles applies the HasEdge predicate on the "files" edge.
func HasFilesWith ¶
func HasFilesWith(preds ...predicate.SkillVersionFile) predicate.SkillVersion
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func HasRequiredByBindings ¶
func HasRequiredByBindings() predicate.SkillVersion
HasRequiredByBindings applies the HasEdge predicate on the "required_by_bindings" edge.
func HasRequiredByBindingsWith ¶
func HasRequiredByBindingsWith(preds ...predicate.WorkflowSkillBinding) predicate.SkillVersion
HasRequiredByBindingsWith applies the HasEdge predicate on the "required_by_bindings" edge with a given conditions (other predicates).
func HasSkill ¶
func HasSkill() predicate.SkillVersion
HasSkill applies the HasEdge predicate on the "skill" edge.
func HasSkillWith ¶
func HasSkillWith(preds ...predicate.Skill) predicate.SkillVersion
HasSkillWith applies the HasEdge predicate on the "skill" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.SkillVersion
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.SkillVersion
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.SkillVersion
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.SkillVersion
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.SkillVersion
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.SkillVersion
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.SkillVersion
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.SkillVersion
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.SkillVersion) predicate.SkillVersion
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SkillVersion) predicate.SkillVersion
Or groups predicates with the OR operator between them.
func SizeBytes ¶
func SizeBytes(v int64) predicate.SkillVersion
SizeBytes applies equality check predicate on the "size_bytes" field. It's identical to SizeBytesEQ.
func SizeBytesEQ ¶
func SizeBytesEQ(v int64) predicate.SkillVersion
SizeBytesEQ applies the EQ predicate on the "size_bytes" field.
func SizeBytesGT ¶
func SizeBytesGT(v int64) predicate.SkillVersion
SizeBytesGT applies the GT predicate on the "size_bytes" field.
func SizeBytesGTE ¶
func SizeBytesGTE(v int64) predicate.SkillVersion
SizeBytesGTE applies the GTE predicate on the "size_bytes" field.
func SizeBytesIn ¶
func SizeBytesIn(vs ...int64) predicate.SkillVersion
SizeBytesIn applies the In predicate on the "size_bytes" field.
func SizeBytesLT ¶
func SizeBytesLT(v int64) predicate.SkillVersion
SizeBytesLT applies the LT predicate on the "size_bytes" field.
func SizeBytesLTE ¶
func SizeBytesLTE(v int64) predicate.SkillVersion
SizeBytesLTE applies the LTE predicate on the "size_bytes" field.
func SizeBytesNEQ ¶
func SizeBytesNEQ(v int64) predicate.SkillVersion
SizeBytesNEQ applies the NEQ predicate on the "size_bytes" field.
func SizeBytesNotIn ¶
func SizeBytesNotIn(vs ...int64) predicate.SkillVersion
SizeBytesNotIn applies the NotIn predicate on the "size_bytes" field.
func SkillID ¶
func SkillID(v uuid.UUID) predicate.SkillVersion
SkillID applies equality check predicate on the "skill_id" field. It's identical to SkillIDEQ.
func SkillIDEQ ¶
func SkillIDEQ(v uuid.UUID) predicate.SkillVersion
SkillIDEQ applies the EQ predicate on the "skill_id" field.
func SkillIDIn ¶
func SkillIDIn(vs ...uuid.UUID) predicate.SkillVersion
SkillIDIn applies the In predicate on the "skill_id" field.
func SkillIDNEQ ¶
func SkillIDNEQ(v uuid.UUID) predicate.SkillVersion
SkillIDNEQ applies the NEQ predicate on the "skill_id" field.
func SkillIDNotIn ¶
func SkillIDNotIn(vs ...uuid.UUID) predicate.SkillVersion
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).
func Version ¶
func Version(v int) predicate.SkillVersion
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int) predicate.SkillVersion
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int) predicate.SkillVersion
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int) predicate.SkillVersion
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int) predicate.SkillVersion
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int) predicate.SkillVersion
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int) predicate.SkillVersion
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int) predicate.SkillVersion
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int) predicate.SkillVersion
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the SkillVersion queries.
func ByBundleHash ¶
func ByBundleHash(opts ...sql.OrderTermOption) OrderOption
ByBundleHash orders the results by the bundle_hash field.
func ByContentHash ¶
func ByContentHash(opts ...sql.OrderTermOption) OrderOption
ByContentHash orders the results by the content_hash field.
func ByContentMarkdown ¶
func ByContentMarkdown(opts ...sql.OrderTermOption) OrderOption
ByContentMarkdown orders the results by the content_markdown 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 ByFileCount ¶
func ByFileCount(opts ...sql.OrderTermOption) OrderOption
ByFileCount orders the results by the file_count field.
func ByFiles ¶
func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFiles orders the results by files terms.
func ByFilesCount ¶
func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
ByFilesCount orders the results by files count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByRequiredByBindings ¶
func ByRequiredByBindings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRequiredByBindings orders the results by required_by_bindings terms.
func ByRequiredByBindingsCount ¶
func ByRequiredByBindingsCount(opts ...sql.OrderTermOption) OrderOption
ByRequiredByBindingsCount orders the results by required_by_bindings count.
func BySizeBytes ¶
func BySizeBytes(opts ...sql.OrderTermOption) OrderOption
BySizeBytes orders the results by the size_bytes 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 ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.