Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SkillVersionFile) predicate.SkillVersionFile
- func ContentBlobID(v uuid.UUID) predicate.SkillVersionFile
- func ContentBlobIDEQ(v uuid.UUID) predicate.SkillVersionFile
- func ContentBlobIDIn(vs ...uuid.UUID) predicate.SkillVersionFile
- func ContentBlobIDNEQ(v uuid.UUID) predicate.SkillVersionFile
- func ContentBlobIDNotIn(vs ...uuid.UUID) predicate.SkillVersionFile
- func CreatedAt(v time.Time) predicate.SkillVersionFile
- func CreatedAtEQ(v time.Time) predicate.SkillVersionFile
- func CreatedAtGT(v time.Time) predicate.SkillVersionFile
- func CreatedAtGTE(v time.Time) predicate.SkillVersionFile
- func CreatedAtIn(vs ...time.Time) predicate.SkillVersionFile
- func CreatedAtLT(v time.Time) predicate.SkillVersionFile
- func CreatedAtLTE(v time.Time) predicate.SkillVersionFile
- func CreatedAtNEQ(v time.Time) predicate.SkillVersionFile
- func CreatedAtNotIn(vs ...time.Time) predicate.SkillVersionFile
- func EncodingEQ(v Encoding) predicate.SkillVersionFile
- func EncodingIn(vs ...Encoding) predicate.SkillVersionFile
- func EncodingNEQ(v Encoding) predicate.SkillVersionFile
- func EncodingNotIn(vs ...Encoding) predicate.SkillVersionFile
- func EncodingValidator(e Encoding) error
- func FileKindEQ(v FileKind) predicate.SkillVersionFile
- func FileKindIn(vs ...FileKind) predicate.SkillVersionFile
- func FileKindNEQ(v FileKind) predicate.SkillVersionFile
- func FileKindNotIn(vs ...FileKind) predicate.SkillVersionFile
- func FileKindValidator(fk FileKind) error
- func HasContentBlob() predicate.SkillVersionFile
- func HasContentBlobWith(preds ...predicate.SkillBlob) predicate.SkillVersionFile
- func HasSkillVersion() predicate.SkillVersionFile
- func HasSkillVersionWith(preds ...predicate.SkillVersion) predicate.SkillVersionFile
- func ID(id uuid.UUID) predicate.SkillVersionFile
- func IDEQ(id uuid.UUID) predicate.SkillVersionFile
- func IDGT(id uuid.UUID) predicate.SkillVersionFile
- func IDGTE(id uuid.UUID) predicate.SkillVersionFile
- func IDIn(ids ...uuid.UUID) predicate.SkillVersionFile
- func IDLT(id uuid.UUID) predicate.SkillVersionFile
- func IDLTE(id uuid.UUID) predicate.SkillVersionFile
- func IDNEQ(id uuid.UUID) predicate.SkillVersionFile
- func IDNotIn(ids ...uuid.UUID) predicate.SkillVersionFile
- func IsExecutable(v bool) predicate.SkillVersionFile
- func IsExecutableEQ(v bool) predicate.SkillVersionFile
- func IsExecutableNEQ(v bool) predicate.SkillVersionFile
- func MediaType(v string) predicate.SkillVersionFile
- func MediaTypeContains(v string) predicate.SkillVersionFile
- func MediaTypeContainsFold(v string) predicate.SkillVersionFile
- func MediaTypeEQ(v string) predicate.SkillVersionFile
- func MediaTypeEqualFold(v string) predicate.SkillVersionFile
- func MediaTypeGT(v string) predicate.SkillVersionFile
- func MediaTypeGTE(v string) predicate.SkillVersionFile
- func MediaTypeHasPrefix(v string) predicate.SkillVersionFile
- func MediaTypeHasSuffix(v string) predicate.SkillVersionFile
- func MediaTypeIn(vs ...string) predicate.SkillVersionFile
- func MediaTypeLT(v string) predicate.SkillVersionFile
- func MediaTypeLTE(v string) predicate.SkillVersionFile
- func MediaTypeNEQ(v string) predicate.SkillVersionFile
- func MediaTypeNotIn(vs ...string) predicate.SkillVersionFile
- func Not(p predicate.SkillVersionFile) predicate.SkillVersionFile
- func Or(predicates ...predicate.SkillVersionFile) predicate.SkillVersionFile
- func Path(v string) predicate.SkillVersionFile
- func PathContains(v string) predicate.SkillVersionFile
- func PathContainsFold(v string) predicate.SkillVersionFile
- func PathEQ(v string) predicate.SkillVersionFile
- func PathEqualFold(v string) predicate.SkillVersionFile
- func PathGT(v string) predicate.SkillVersionFile
- func PathGTE(v string) predicate.SkillVersionFile
- func PathHasPrefix(v string) predicate.SkillVersionFile
- func PathHasSuffix(v string) predicate.SkillVersionFile
- func PathIn(vs ...string) predicate.SkillVersionFile
- func PathLT(v string) predicate.SkillVersionFile
- func PathLTE(v string) predicate.SkillVersionFile
- func PathNEQ(v string) predicate.SkillVersionFile
- func PathNotIn(vs ...string) predicate.SkillVersionFile
- func Sha256(v string) predicate.SkillVersionFile
- func Sha256Contains(v string) predicate.SkillVersionFile
- func Sha256ContainsFold(v string) predicate.SkillVersionFile
- func Sha256EQ(v string) predicate.SkillVersionFile
- func Sha256EqualFold(v string) predicate.SkillVersionFile
- func Sha256GT(v string) predicate.SkillVersionFile
- func Sha256GTE(v string) predicate.SkillVersionFile
- func Sha256HasPrefix(v string) predicate.SkillVersionFile
- func Sha256HasSuffix(v string) predicate.SkillVersionFile
- func Sha256In(vs ...string) predicate.SkillVersionFile
- func Sha256LT(v string) predicate.SkillVersionFile
- func Sha256LTE(v string) predicate.SkillVersionFile
- func Sha256NEQ(v string) predicate.SkillVersionFile
- func Sha256NotIn(vs ...string) predicate.SkillVersionFile
- func SizeBytes(v int64) predicate.SkillVersionFile
- func SizeBytesEQ(v int64) predicate.SkillVersionFile
- func SizeBytesGT(v int64) predicate.SkillVersionFile
- func SizeBytesGTE(v int64) predicate.SkillVersionFile
- func SizeBytesIn(vs ...int64) predicate.SkillVersionFile
- func SizeBytesLT(v int64) predicate.SkillVersionFile
- func SizeBytesLTE(v int64) predicate.SkillVersionFile
- func SizeBytesNEQ(v int64) predicate.SkillVersionFile
- func SizeBytesNotIn(vs ...int64) predicate.SkillVersionFile
- func SkillVersionID(v uuid.UUID) predicate.SkillVersionFile
- func SkillVersionIDEQ(v uuid.UUID) predicate.SkillVersionFile
- func SkillVersionIDIn(vs ...uuid.UUID) predicate.SkillVersionFile
- func SkillVersionIDNEQ(v uuid.UUID) predicate.SkillVersionFile
- func SkillVersionIDNotIn(vs ...uuid.UUID) predicate.SkillVersionFile
- func ValidColumn(column string) bool
- type Encoding
- type FileKind
- type OrderOption
- func ByContentBlobField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByContentBlobID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEncoding(opts ...sql.OrderTermOption) OrderOption
- func ByFileKind(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsExecutable(opts ...sql.OrderTermOption) OrderOption
- func ByMediaType(opts ...sql.OrderTermOption) OrderOption
- func ByPath(opts ...sql.OrderTermOption) OrderOption
- func BySha256(opts ...sql.OrderTermOption) OrderOption
- func BySizeBytes(opts ...sql.OrderTermOption) OrderOption
- func BySkillVersionField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySkillVersionID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the skillversionfile type in the database. Label = "skill_version_file" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSkillVersionID holds the string denoting the skill_version_id field in the database. FieldSkillVersionID = "skill_version_id" // FieldContentBlobID holds the string denoting the content_blob_id field in the database. FieldContentBlobID = "content_blob_id" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // FieldFileKind holds the string denoting the file_kind field in the database. FieldFileKind = "file_kind" // FieldMediaType holds the string denoting the media_type field in the database. FieldMediaType = "media_type" // FieldEncoding holds the string denoting the encoding field in the database. FieldEncoding = "encoding" // FieldIsExecutable holds the string denoting the is_executable field in the database. FieldIsExecutable = "is_executable" // FieldSizeBytes holds the string denoting the size_bytes field in the database. FieldSizeBytes = "size_bytes" // FieldSha256 holds the string denoting the sha256 field in the database. FieldSha256 = "sha256" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeSkillVersion holds the string denoting the skill_version edge name in mutations. EdgeSkillVersion = "skill_version" // EdgeContentBlob holds the string denoting the content_blob edge name in mutations. EdgeContentBlob = "content_blob" // Table holds the table name of the skillversionfile in the database. Table = "skill_version_files" // SkillVersionTable is the table that holds the skill_version relation/edge. SkillVersionTable = "skill_version_files" // SkillVersionInverseTable is the table name for the SkillVersion entity. // It exists in this package in order to avoid circular dependency with the "skillversion" package. SkillVersionInverseTable = "skill_versions" // SkillVersionColumn is the table column denoting the skill_version relation/edge. SkillVersionColumn = "skill_version_id" // ContentBlobTable is the table that holds the content_blob relation/edge. ContentBlobTable = "skill_version_files" // ContentBlobInverseTable is the table name for the SkillBlob entity. // It exists in this package in order to avoid circular dependency with the "skillblob" package. ContentBlobInverseTable = "skill_blobs" // ContentBlobColumn is the table column denoting the content_blob relation/edge. ContentBlobColumn = "content_blob_id" )
const DefaultEncoding = EncodingBinary
EncodingBinary is the default value of the Encoding enum.
const DefaultFileKind = FileKindAsset
FileKindAsset is the default value of the FileKind enum.
Variables ¶
var ( // PathValidator is a validator for the "path" field. It is called by the builders before save. PathValidator func(string) error // DefaultMediaType holds the default value on creation for the "media_type" field. DefaultMediaType string // DefaultIsExecutable holds the default value on creation for the "is_executable" field. DefaultIsExecutable bool // DefaultSizeBytes holds the default value on creation for the "size_bytes" field. DefaultSizeBytes int64 // Sha256Validator is a validator for the "sha256" field. It is called by the builders before save. Sha256Validator func(string) error // 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, FieldSkillVersionID, FieldContentBlobID, FieldPath, FieldFileKind, FieldMediaType, FieldEncoding, FieldIsExecutable, FieldSizeBytes, FieldSha256, FieldCreatedAt, }
Columns holds all SQL columns for skillversionfile fields.
Functions ¶
func And ¶
func And(predicates ...predicate.SkillVersionFile) predicate.SkillVersionFile
And groups predicates with the AND operator between them.
func ContentBlobID ¶
func ContentBlobID(v uuid.UUID) predicate.SkillVersionFile
ContentBlobID applies equality check predicate on the "content_blob_id" field. It's identical to ContentBlobIDEQ.
func ContentBlobIDEQ ¶
func ContentBlobIDEQ(v uuid.UUID) predicate.SkillVersionFile
ContentBlobIDEQ applies the EQ predicate on the "content_blob_id" field.
func ContentBlobIDIn ¶
func ContentBlobIDIn(vs ...uuid.UUID) predicate.SkillVersionFile
ContentBlobIDIn applies the In predicate on the "content_blob_id" field.
func ContentBlobIDNEQ ¶
func ContentBlobIDNEQ(v uuid.UUID) predicate.SkillVersionFile
ContentBlobIDNEQ applies the NEQ predicate on the "content_blob_id" field.
func ContentBlobIDNotIn ¶
func ContentBlobIDNotIn(vs ...uuid.UUID) predicate.SkillVersionFile
ContentBlobIDNotIn applies the NotIn predicate on the "content_blob_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SkillVersionFile
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SkillVersionFile
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SkillVersionFile
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SkillVersionFile
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SkillVersionFile
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SkillVersionFile
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SkillVersionFile
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SkillVersionFile
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SkillVersionFile
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EncodingEQ ¶
func EncodingEQ(v Encoding) predicate.SkillVersionFile
EncodingEQ applies the EQ predicate on the "encoding" field.
func EncodingIn ¶
func EncodingIn(vs ...Encoding) predicate.SkillVersionFile
EncodingIn applies the In predicate on the "encoding" field.
func EncodingNEQ ¶
func EncodingNEQ(v Encoding) predicate.SkillVersionFile
EncodingNEQ applies the NEQ predicate on the "encoding" field.
func EncodingNotIn ¶
func EncodingNotIn(vs ...Encoding) predicate.SkillVersionFile
EncodingNotIn applies the NotIn predicate on the "encoding" field.
func EncodingValidator ¶
EncodingValidator is a validator for the "encoding" field enum values. It is called by the builders before save.
func FileKindEQ ¶
func FileKindEQ(v FileKind) predicate.SkillVersionFile
FileKindEQ applies the EQ predicate on the "file_kind" field.
func FileKindIn ¶
func FileKindIn(vs ...FileKind) predicate.SkillVersionFile
FileKindIn applies the In predicate on the "file_kind" field.
func FileKindNEQ ¶
func FileKindNEQ(v FileKind) predicate.SkillVersionFile
FileKindNEQ applies the NEQ predicate on the "file_kind" field.
func FileKindNotIn ¶
func FileKindNotIn(vs ...FileKind) predicate.SkillVersionFile
FileKindNotIn applies the NotIn predicate on the "file_kind" field.
func FileKindValidator ¶
FileKindValidator is a validator for the "file_kind" field enum values. It is called by the builders before save.
func HasContentBlob ¶
func HasContentBlob() predicate.SkillVersionFile
HasContentBlob applies the HasEdge predicate on the "content_blob" edge.
func HasContentBlobWith ¶
func HasContentBlobWith(preds ...predicate.SkillBlob) predicate.SkillVersionFile
HasContentBlobWith applies the HasEdge predicate on the "content_blob" edge with a given conditions (other predicates).
func HasSkillVersion ¶
func HasSkillVersion() predicate.SkillVersionFile
HasSkillVersion applies the HasEdge predicate on the "skill_version" edge.
func HasSkillVersionWith ¶
func HasSkillVersionWith(preds ...predicate.SkillVersion) predicate.SkillVersionFile
HasSkillVersionWith applies the HasEdge predicate on the "skill_version" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.SkillVersionFile
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.SkillVersionFile
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.SkillVersionFile
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.SkillVersionFile
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.SkillVersionFile
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.SkillVersionFile
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.SkillVersionFile
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.SkillVersionFile
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.SkillVersionFile
IDNotIn applies the NotIn predicate on the ID field.
func IsExecutable ¶
func IsExecutable(v bool) predicate.SkillVersionFile
IsExecutable applies equality check predicate on the "is_executable" field. It's identical to IsExecutableEQ.
func IsExecutableEQ ¶
func IsExecutableEQ(v bool) predicate.SkillVersionFile
IsExecutableEQ applies the EQ predicate on the "is_executable" field.
func IsExecutableNEQ ¶
func IsExecutableNEQ(v bool) predicate.SkillVersionFile
IsExecutableNEQ applies the NEQ predicate on the "is_executable" field.
func MediaType ¶
func MediaType(v string) predicate.SkillVersionFile
MediaType applies equality check predicate on the "media_type" field. It's identical to MediaTypeEQ.
func MediaTypeContains ¶
func MediaTypeContains(v string) predicate.SkillVersionFile
MediaTypeContains applies the Contains predicate on the "media_type" field.
func MediaTypeContainsFold ¶
func MediaTypeContainsFold(v string) predicate.SkillVersionFile
MediaTypeContainsFold applies the ContainsFold predicate on the "media_type" field.
func MediaTypeEQ ¶
func MediaTypeEQ(v string) predicate.SkillVersionFile
MediaTypeEQ applies the EQ predicate on the "media_type" field.
func MediaTypeEqualFold ¶
func MediaTypeEqualFold(v string) predicate.SkillVersionFile
MediaTypeEqualFold applies the EqualFold predicate on the "media_type" field.
func MediaTypeGT ¶
func MediaTypeGT(v string) predicate.SkillVersionFile
MediaTypeGT applies the GT predicate on the "media_type" field.
func MediaTypeGTE ¶
func MediaTypeGTE(v string) predicate.SkillVersionFile
MediaTypeGTE applies the GTE predicate on the "media_type" field.
func MediaTypeHasPrefix ¶
func MediaTypeHasPrefix(v string) predicate.SkillVersionFile
MediaTypeHasPrefix applies the HasPrefix predicate on the "media_type" field.
func MediaTypeHasSuffix ¶
func MediaTypeHasSuffix(v string) predicate.SkillVersionFile
MediaTypeHasSuffix applies the HasSuffix predicate on the "media_type" field.
func MediaTypeIn ¶
func MediaTypeIn(vs ...string) predicate.SkillVersionFile
MediaTypeIn applies the In predicate on the "media_type" field.
func MediaTypeLT ¶
func MediaTypeLT(v string) predicate.SkillVersionFile
MediaTypeLT applies the LT predicate on the "media_type" field.
func MediaTypeLTE ¶
func MediaTypeLTE(v string) predicate.SkillVersionFile
MediaTypeLTE applies the LTE predicate on the "media_type" field.
func MediaTypeNEQ ¶
func MediaTypeNEQ(v string) predicate.SkillVersionFile
MediaTypeNEQ applies the NEQ predicate on the "media_type" field.
func MediaTypeNotIn ¶
func MediaTypeNotIn(vs ...string) predicate.SkillVersionFile
MediaTypeNotIn applies the NotIn predicate on the "media_type" field.
func Not ¶
func Not(p predicate.SkillVersionFile) predicate.SkillVersionFile
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SkillVersionFile) predicate.SkillVersionFile
Or groups predicates with the OR operator between them.
func Path ¶
func Path(v string) predicate.SkillVersionFile
Path applies equality check predicate on the "path" field. It's identical to PathEQ.
func PathContains ¶
func PathContains(v string) predicate.SkillVersionFile
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
func PathContainsFold(v string) predicate.SkillVersionFile
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEQ ¶
func PathEQ(v string) predicate.SkillVersionFile
PathEQ applies the EQ predicate on the "path" field.
func PathEqualFold ¶
func PathEqualFold(v string) predicate.SkillVersionFile
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathGT ¶
func PathGT(v string) predicate.SkillVersionFile
PathGT applies the GT predicate on the "path" field.
func PathGTE ¶
func PathGTE(v string) predicate.SkillVersionFile
PathGTE applies the GTE predicate on the "path" field.
func PathHasPrefix ¶
func PathHasPrefix(v string) predicate.SkillVersionFile
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
func PathHasSuffix(v string) predicate.SkillVersionFile
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func PathIn ¶
func PathIn(vs ...string) predicate.SkillVersionFile
PathIn applies the In predicate on the "path" field.
func PathLT ¶
func PathLT(v string) predicate.SkillVersionFile
PathLT applies the LT predicate on the "path" field.
func PathLTE ¶
func PathLTE(v string) predicate.SkillVersionFile
PathLTE applies the LTE predicate on the "path" field.
func PathNEQ ¶
func PathNEQ(v string) predicate.SkillVersionFile
PathNEQ applies the NEQ predicate on the "path" field.
func PathNotIn ¶
func PathNotIn(vs ...string) predicate.SkillVersionFile
PathNotIn applies the NotIn predicate on the "path" field.
func Sha256 ¶
func Sha256(v string) predicate.SkillVersionFile
Sha256 applies equality check predicate on the "sha256" field. It's identical to Sha256EQ.
func Sha256Contains ¶
func Sha256Contains(v string) predicate.SkillVersionFile
Sha256Contains applies the Contains predicate on the "sha256" field.
func Sha256ContainsFold ¶
func Sha256ContainsFold(v string) predicate.SkillVersionFile
Sha256ContainsFold applies the ContainsFold predicate on the "sha256" field.
func Sha256EQ ¶
func Sha256EQ(v string) predicate.SkillVersionFile
Sha256EQ applies the EQ predicate on the "sha256" field.
func Sha256EqualFold ¶
func Sha256EqualFold(v string) predicate.SkillVersionFile
Sha256EqualFold applies the EqualFold predicate on the "sha256" field.
func Sha256GT ¶
func Sha256GT(v string) predicate.SkillVersionFile
Sha256GT applies the GT predicate on the "sha256" field.
func Sha256GTE ¶
func Sha256GTE(v string) predicate.SkillVersionFile
Sha256GTE applies the GTE predicate on the "sha256" field.
func Sha256HasPrefix ¶
func Sha256HasPrefix(v string) predicate.SkillVersionFile
Sha256HasPrefix applies the HasPrefix predicate on the "sha256" field.
func Sha256HasSuffix ¶
func Sha256HasSuffix(v string) predicate.SkillVersionFile
Sha256HasSuffix applies the HasSuffix predicate on the "sha256" field.
func Sha256In ¶
func Sha256In(vs ...string) predicate.SkillVersionFile
Sha256In applies the In predicate on the "sha256" field.
func Sha256LT ¶
func Sha256LT(v string) predicate.SkillVersionFile
Sha256LT applies the LT predicate on the "sha256" field.
func Sha256LTE ¶
func Sha256LTE(v string) predicate.SkillVersionFile
Sha256LTE applies the LTE predicate on the "sha256" field.
func Sha256NEQ ¶
func Sha256NEQ(v string) predicate.SkillVersionFile
Sha256NEQ applies the NEQ predicate on the "sha256" field.
func Sha256NotIn ¶
func Sha256NotIn(vs ...string) predicate.SkillVersionFile
Sha256NotIn applies the NotIn predicate on the "sha256" field.
func SizeBytes ¶
func SizeBytes(v int64) predicate.SkillVersionFile
SizeBytes applies equality check predicate on the "size_bytes" field. It's identical to SizeBytesEQ.
func SizeBytesEQ ¶
func SizeBytesEQ(v int64) predicate.SkillVersionFile
SizeBytesEQ applies the EQ predicate on the "size_bytes" field.
func SizeBytesGT ¶
func SizeBytesGT(v int64) predicate.SkillVersionFile
SizeBytesGT applies the GT predicate on the "size_bytes" field.
func SizeBytesGTE ¶
func SizeBytesGTE(v int64) predicate.SkillVersionFile
SizeBytesGTE applies the GTE predicate on the "size_bytes" field.
func SizeBytesIn ¶
func SizeBytesIn(vs ...int64) predicate.SkillVersionFile
SizeBytesIn applies the In predicate on the "size_bytes" field.
func SizeBytesLT ¶
func SizeBytesLT(v int64) predicate.SkillVersionFile
SizeBytesLT applies the LT predicate on the "size_bytes" field.
func SizeBytesLTE ¶
func SizeBytesLTE(v int64) predicate.SkillVersionFile
SizeBytesLTE applies the LTE predicate on the "size_bytes" field.
func SizeBytesNEQ ¶
func SizeBytesNEQ(v int64) predicate.SkillVersionFile
SizeBytesNEQ applies the NEQ predicate on the "size_bytes" field.
func SizeBytesNotIn ¶
func SizeBytesNotIn(vs ...int64) predicate.SkillVersionFile
SizeBytesNotIn applies the NotIn predicate on the "size_bytes" field.
func SkillVersionID ¶
func SkillVersionID(v uuid.UUID) predicate.SkillVersionFile
SkillVersionID applies equality check predicate on the "skill_version_id" field. It's identical to SkillVersionIDEQ.
func SkillVersionIDEQ ¶
func SkillVersionIDEQ(v uuid.UUID) predicate.SkillVersionFile
SkillVersionIDEQ applies the EQ predicate on the "skill_version_id" field.
func SkillVersionIDIn ¶
func SkillVersionIDIn(vs ...uuid.UUID) predicate.SkillVersionFile
SkillVersionIDIn applies the In predicate on the "skill_version_id" field.
func SkillVersionIDNEQ ¶
func SkillVersionIDNEQ(v uuid.UUID) predicate.SkillVersionFile
SkillVersionIDNEQ applies the NEQ predicate on the "skill_version_id" field.
func SkillVersionIDNotIn ¶
func SkillVersionIDNotIn(vs ...uuid.UUID) predicate.SkillVersionFile
SkillVersionIDNotIn applies the NotIn predicate on the "skill_version_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Encoding ¶
type Encoding string
Encoding defines the type for the "encoding" enum field.
type FileKind ¶
type FileKind string
FileKind defines the type for the "file_kind" enum field.
type OrderOption ¶
OrderOption defines the ordering options for the SkillVersionFile queries.
func ByContentBlobField ¶
func ByContentBlobField(field string, opts ...sql.OrderTermOption) OrderOption
ByContentBlobField orders the results by content_blob field.
func ByContentBlobID ¶
func ByContentBlobID(opts ...sql.OrderTermOption) OrderOption
ByContentBlobID orders the results by the content_blob_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEncoding ¶
func ByEncoding(opts ...sql.OrderTermOption) OrderOption
ByEncoding orders the results by the encoding field.
func ByFileKind ¶
func ByFileKind(opts ...sql.OrderTermOption) OrderOption
ByFileKind orders the results by the file_kind field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsExecutable ¶
func ByIsExecutable(opts ...sql.OrderTermOption) OrderOption
ByIsExecutable orders the results by the is_executable field.
func ByMediaType ¶
func ByMediaType(opts ...sql.OrderTermOption) OrderOption
ByMediaType orders the results by the media_type field.
func ByPath ¶
func ByPath(opts ...sql.OrderTermOption) OrderOption
ByPath orders the results by the path field.
func BySha256 ¶
func BySha256(opts ...sql.OrderTermOption) OrderOption
BySha256 orders the results by the sha256 field.
func BySizeBytes ¶
func BySizeBytes(opts ...sql.OrderTermOption) OrderOption
BySizeBytes orders the results by the size_bytes field.
func BySkillVersionField ¶
func BySkillVersionField(field string, opts ...sql.OrderTermOption) OrderOption
BySkillVersionField orders the results by skill_version field.
func BySkillVersionID ¶
func BySkillVersionID(opts ...sql.OrderTermOption) OrderOption
BySkillVersionID orders the results by the skill_version_id field.