Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Storage) predicate.Storage
- func Arch(v string) predicate.Storage
- func ArchContains(v string) predicate.Storage
- func ArchContainsFold(v string) predicate.Storage
- func ArchEQ(v string) predicate.Storage
- func ArchEqualFold(v string) predicate.Storage
- func ArchGT(v string) predicate.Storage
- func ArchGTE(v string) predicate.Storage
- func ArchHasPrefix(v string) predicate.Storage
- func ArchHasSuffix(v string) predicate.Storage
- func ArchIn(vs ...string) predicate.Storage
- func ArchLT(v string) predicate.Storage
- func ArchLTE(v string) predicate.Storage
- func ArchNEQ(v string) predicate.Storage
- func ArchNotIn(vs ...string) predicate.Storage
- func CreatedAt(v time.Time) predicate.Storage
- func CreatedAtEQ(v time.Time) predicate.Storage
- func CreatedAtGT(v time.Time) predicate.Storage
- func CreatedAtGTE(v time.Time) predicate.Storage
- func CreatedAtIn(vs ...time.Time) predicate.Storage
- func CreatedAtLT(v time.Time) predicate.Storage
- func CreatedAtLTE(v time.Time) predicate.Storage
- func CreatedAtNEQ(v time.Time) predicate.Storage
- func CreatedAtNotIn(vs ...time.Time) predicate.Storage
- func FileHashesIsNil() predicate.Storage
- func FileHashesNotNil() predicate.Storage
- func FileSize(v int64) predicate.Storage
- func FileSizeEQ(v int64) predicate.Storage
- func FileSizeGT(v int64) predicate.Storage
- func FileSizeGTE(v int64) predicate.Storage
- func FileSizeIn(vs ...int64) predicate.Storage
- func FileSizeLT(v int64) predicate.Storage
- func FileSizeLTE(v int64) predicate.Storage
- func FileSizeNEQ(v int64) predicate.Storage
- func FileSizeNotIn(vs ...int64) predicate.Storage
- func FileType(v string) predicate.Storage
- func FileTypeContains(v string) predicate.Storage
- func FileTypeContainsFold(v string) predicate.Storage
- func FileTypeEQ(v string) predicate.Storage
- func FileTypeEqualFold(v string) predicate.Storage
- func FileTypeGT(v string) predicate.Storage
- func FileTypeGTE(v string) predicate.Storage
- func FileTypeHasPrefix(v string) predicate.Storage
- func FileTypeHasSuffix(v string) predicate.Storage
- func FileTypeIn(vs ...string) predicate.Storage
- func FileTypeIsNil() predicate.Storage
- func FileTypeLT(v string) predicate.Storage
- func FileTypeLTE(v string) predicate.Storage
- func FileTypeNEQ(v string) predicate.Storage
- func FileTypeNotIn(vs ...string) predicate.Storage
- func FileTypeNotNil() predicate.Storage
- func HasOldVersion() predicate.Storage
- func HasOldVersionWith(preds ...predicate.Version) predicate.Storage
- func HasVersion() predicate.Storage
- func HasVersionWith(preds ...predicate.Version) predicate.Storage
- func ID(id int) predicate.Storage
- func IDEQ(id int) predicate.Storage
- func IDGT(id int) predicate.Storage
- func IDGTE(id int) predicate.Storage
- func IDIn(ids ...int) predicate.Storage
- func IDLT(id int) predicate.Storage
- func IDLTE(id int) predicate.Storage
- func IDNEQ(id int) predicate.Storage
- func IDNotIn(ids ...int) predicate.Storage
- func Not(p predicate.Storage) predicate.Storage
- func Or(predicates ...predicate.Storage) predicate.Storage
- func Os(v string) predicate.Storage
- func OsContains(v string) predicate.Storage
- func OsContainsFold(v string) predicate.Storage
- func OsEQ(v string) predicate.Storage
- func OsEqualFold(v string) predicate.Storage
- func OsGT(v string) predicate.Storage
- func OsGTE(v string) predicate.Storage
- func OsHasPrefix(v string) predicate.Storage
- func OsHasSuffix(v string) predicate.Storage
- func OsIn(vs ...string) predicate.Storage
- func OsLT(v string) predicate.Storage
- func OsLTE(v string) predicate.Storage
- func OsNEQ(v string) predicate.Storage
- func OsNotIn(vs ...string) predicate.Storage
- func PackageHashSha256(v string) predicate.Storage
- func PackageHashSha256Contains(v string) predicate.Storage
- func PackageHashSha256ContainsFold(v string) predicate.Storage
- func PackageHashSha256EQ(v string) predicate.Storage
- func PackageHashSha256EqualFold(v string) predicate.Storage
- func PackageHashSha256GT(v string) predicate.Storage
- func PackageHashSha256GTE(v string) predicate.Storage
- func PackageHashSha256HasPrefix(v string) predicate.Storage
- func PackageHashSha256HasSuffix(v string) predicate.Storage
- func PackageHashSha256In(vs ...string) predicate.Storage
- func PackageHashSha256IsNil() predicate.Storage
- func PackageHashSha256LT(v string) predicate.Storage
- func PackageHashSha256LTE(v string) predicate.Storage
- func PackageHashSha256NEQ(v string) predicate.Storage
- func PackageHashSha256NotIn(vs ...string) predicate.Storage
- func PackageHashSha256NotNil() predicate.Storage
- func PackagePath(v string) predicate.Storage
- func PackagePathContains(v string) predicate.Storage
- func PackagePathContainsFold(v string) predicate.Storage
- func PackagePathEQ(v string) predicate.Storage
- func PackagePathEqualFold(v string) predicate.Storage
- func PackagePathGT(v string) predicate.Storage
- func PackagePathGTE(v string) predicate.Storage
- func PackagePathHasPrefix(v string) predicate.Storage
- func PackagePathHasSuffix(v string) predicate.Storage
- func PackagePathIn(vs ...string) predicate.Storage
- func PackagePathIsNil() predicate.Storage
- func PackagePathLT(v string) predicate.Storage
- func PackagePathLTE(v string) predicate.Storage
- func PackagePathNEQ(v string) predicate.Storage
- func PackagePathNotIn(vs ...string) predicate.Storage
- func PackagePathNotNil() predicate.Storage
- func UpdateTypeEQ(v UpdateType) predicate.Storage
- func UpdateTypeIn(vs ...UpdateType) predicate.Storage
- func UpdateTypeNEQ(v UpdateType) predicate.Storage
- func UpdateTypeNotIn(vs ...UpdateType) predicate.Storage
- func UpdateTypeValidator(ut UpdateType) error
- func ValidColumn(column string) bool
- func VersionStorages(v int) predicate.Storage
- func VersionStoragesEQ(v int) predicate.Storage
- func VersionStoragesIn(vs ...int) predicate.Storage
- func VersionStoragesNEQ(v int) predicate.Storage
- func VersionStoragesNotIn(vs ...int) predicate.Storage
- type OrderOption
- func ByArch(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFileSize(opts ...sql.OrderTermOption) OrderOption
- func ByFileType(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOldVersionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOs(opts ...sql.OrderTermOption) OrderOption
- func ByPackageHashSha256(opts ...sql.OrderTermOption) OrderOption
- func ByPackagePath(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateType(opts ...sql.OrderTermOption) OrderOption
- func ByVersionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByVersionStorages(opts ...sql.OrderTermOption) OrderOption
- type UpdateType
Constants ¶
const ( // Label holds the string label denoting the storage type in the database. Label = "storage" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUpdateType holds the string denoting the update_type field in the database. FieldUpdateType = "update_type" // FieldOs holds the string denoting the os field in the database. FieldOs = "os" // FieldArch holds the string denoting the arch field in the database. FieldArch = "arch" // FieldPackagePath holds the string denoting the package_path field in the database. FieldPackagePath = "package_path" // FieldPackageHashSha256 holds the string denoting the package_hash_sha256 field in the database. FieldPackageHashSha256 = "package_hash_sha256" // FieldFileType holds the string denoting the file_type field in the database. FieldFileType = "file_type" // FieldFileSize holds the string denoting the file_size field in the database. FieldFileSize = "file_size" // FieldFileHashes holds the string denoting the file_hashes field in the database. FieldFileHashes = "file_hashes" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldVersionStorages holds the string denoting the version_storages field in the database. FieldVersionStorages = "version_storages" // EdgeVersion holds the string denoting the version edge name in mutations. EdgeVersion = "version" // EdgeOldVersion holds the string denoting the old_version edge name in mutations. EdgeOldVersion = "old_version" // Table holds the table name of the storage in the database. Table = "storages" // VersionTable is the table that holds the version relation/edge. VersionTable = "storages" // VersionInverseTable is the table name for the Version entity. // It exists in this package in order to avoid circular dependency with the "version" package. VersionInverseTable = "versions" // VersionColumn is the table column denoting the version relation/edge. VersionColumn = "version_storages" // OldVersionTable is the table that holds the old_version relation/edge. OldVersionTable = "storages" // OldVersionInverseTable is the table name for the Version entity. // It exists in this package in order to avoid circular dependency with the "version" package. OldVersionInverseTable = "versions" // OldVersionColumn is the table column denoting the old_version relation/edge. OldVersionColumn = "storage_old_version" )
Variables ¶
var ( // DefaultOs holds the default value on creation for the "os" field. DefaultOs string // DefaultArch holds the default value on creation for the "arch" field. DefaultArch string // DefaultFileSize holds the default value on creation for the "file_size" field. DefaultFileSize int64 // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldUpdateType, FieldOs, FieldArch, FieldPackagePath, FieldPackageHashSha256, FieldFileType, FieldFileSize, FieldFileHashes, FieldCreatedAt, FieldVersionStorages, }
Columns holds all SQL columns for storage fields.
var ForeignKeys = []string{
"storage_old_version",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "storages" table and are not defined as standalone fields in the schema.
Functions ¶
func Arch ¶ added in v0.3.0
Arch applies equality check predicate on the "arch" field. It's identical to ArchEQ.
func ArchContains ¶ added in v0.3.0
ArchContains applies the Contains predicate on the "arch" field.
func ArchContainsFold ¶ added in v0.3.0
ArchContainsFold applies the ContainsFold predicate on the "arch" field.
func ArchEqualFold ¶ added in v0.3.0
ArchEqualFold applies the EqualFold predicate on the "arch" field.
func ArchHasPrefix ¶ added in v0.3.0
ArchHasPrefix applies the HasPrefix predicate on the "arch" field.
func ArchHasSuffix ¶ added in v0.3.0
ArchHasSuffix applies the HasSuffix predicate on the "arch" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func FileHashesIsNil ¶ added in v0.3.0
FileHashesIsNil applies the IsNil predicate on the "file_hashes" field.
func FileHashesNotNil ¶ added in v0.3.0
FileHashesNotNil applies the NotNil predicate on the "file_hashes" field.
func FileSize ¶ added in v0.12.0
FileSize applies equality check predicate on the "file_size" field. It's identical to FileSizeEQ.
func FileSizeEQ ¶ added in v0.12.0
FileSizeEQ applies the EQ predicate on the "file_size" field.
func FileSizeGT ¶ added in v0.12.0
FileSizeGT applies the GT predicate on the "file_size" field.
func FileSizeGTE ¶ added in v0.12.0
FileSizeGTE applies the GTE predicate on the "file_size" field.
func FileSizeIn ¶ added in v0.12.0
FileSizeIn applies the In predicate on the "file_size" field.
func FileSizeLT ¶ added in v0.12.0
FileSizeLT applies the LT predicate on the "file_size" field.
func FileSizeLTE ¶ added in v0.12.0
FileSizeLTE applies the LTE predicate on the "file_size" field.
func FileSizeNEQ ¶ added in v0.12.0
FileSizeNEQ applies the NEQ predicate on the "file_size" field.
func FileSizeNotIn ¶ added in v0.12.0
FileSizeNotIn applies the NotIn predicate on the "file_size" field.
func FileType ¶ added in v0.12.0
FileType applies equality check predicate on the "file_type" field. It's identical to FileTypeEQ.
func FileTypeContains ¶ added in v0.12.0
FileTypeContains applies the Contains predicate on the "file_type" field.
func FileTypeContainsFold ¶ added in v0.12.0
FileTypeContainsFold applies the ContainsFold predicate on the "file_type" field.
func FileTypeEQ ¶ added in v0.12.0
FileTypeEQ applies the EQ predicate on the "file_type" field.
func FileTypeEqualFold ¶ added in v0.12.0
FileTypeEqualFold applies the EqualFold predicate on the "file_type" field.
func FileTypeGT ¶ added in v0.12.0
FileTypeGT applies the GT predicate on the "file_type" field.
func FileTypeGTE ¶ added in v0.12.0
FileTypeGTE applies the GTE predicate on the "file_type" field.
func FileTypeHasPrefix ¶ added in v0.12.0
FileTypeHasPrefix applies the HasPrefix predicate on the "file_type" field.
func FileTypeHasSuffix ¶ added in v0.12.0
FileTypeHasSuffix applies the HasSuffix predicate on the "file_type" field.
func FileTypeIn ¶ added in v0.12.0
FileTypeIn applies the In predicate on the "file_type" field.
func FileTypeIsNil ¶ added in v0.12.0
FileTypeIsNil applies the IsNil predicate on the "file_type" field.
func FileTypeLT ¶ added in v0.12.0
FileTypeLT applies the LT predicate on the "file_type" field.
func FileTypeLTE ¶ added in v0.12.0
FileTypeLTE applies the LTE predicate on the "file_type" field.
func FileTypeNEQ ¶ added in v0.12.0
FileTypeNEQ applies the NEQ predicate on the "file_type" field.
func FileTypeNotIn ¶ added in v0.12.0
FileTypeNotIn applies the NotIn predicate on the "file_type" field.
func FileTypeNotNil ¶ added in v0.12.0
FileTypeNotNil applies the NotNil predicate on the "file_type" field.
func HasOldVersion ¶ added in v0.3.0
HasOldVersion applies the HasEdge predicate on the "old_version" edge.
func HasOldVersionWith ¶ added in v0.3.0
HasOldVersionWith applies the HasEdge predicate on the "old_version" edge with a given conditions (other predicates).
func HasVersion ¶
HasVersion applies the HasEdge predicate on the "version" edge.
func HasVersionWith ¶
HasVersionWith applies the HasEdge predicate on the "version" edge with a given conditions (other predicates).
func Os ¶ added in v0.3.0
Os applies equality check predicate on the "os" field. It's identical to OsEQ.
func OsContains ¶ added in v0.3.0
OsContains applies the Contains predicate on the "os" field.
func OsContainsFold ¶ added in v0.3.0
OsContainsFold applies the ContainsFold predicate on the "os" field.
func OsEqualFold ¶ added in v0.3.0
OsEqualFold applies the EqualFold predicate on the "os" field.
func OsHasPrefix ¶ added in v0.3.0
OsHasPrefix applies the HasPrefix predicate on the "os" field.
func OsHasSuffix ¶ added in v0.3.0
OsHasSuffix applies the HasSuffix predicate on the "os" field.
func PackageHashSha256 ¶ added in v0.4.0
PackageHashSha256 applies equality check predicate on the "package_hash_sha256" field. It's identical to PackageHashSha256EQ.
func PackageHashSha256Contains ¶ added in v0.4.0
PackageHashSha256Contains applies the Contains predicate on the "package_hash_sha256" field.
func PackageHashSha256ContainsFold ¶ added in v0.4.0
PackageHashSha256ContainsFold applies the ContainsFold predicate on the "package_hash_sha256" field.
func PackageHashSha256EQ ¶ added in v0.4.0
PackageHashSha256EQ applies the EQ predicate on the "package_hash_sha256" field.
func PackageHashSha256EqualFold ¶ added in v0.4.0
PackageHashSha256EqualFold applies the EqualFold predicate on the "package_hash_sha256" field.
func PackageHashSha256GT ¶ added in v0.4.0
PackageHashSha256GT applies the GT predicate on the "package_hash_sha256" field.
func PackageHashSha256GTE ¶ added in v0.4.0
PackageHashSha256GTE applies the GTE predicate on the "package_hash_sha256" field.
func PackageHashSha256HasPrefix ¶ added in v0.4.0
PackageHashSha256HasPrefix applies the HasPrefix predicate on the "package_hash_sha256" field.
func PackageHashSha256HasSuffix ¶ added in v0.4.0
PackageHashSha256HasSuffix applies the HasSuffix predicate on the "package_hash_sha256" field.
func PackageHashSha256In ¶ added in v0.4.0
PackageHashSha256In applies the In predicate on the "package_hash_sha256" field.
func PackageHashSha256IsNil ¶ added in v0.4.0
PackageHashSha256IsNil applies the IsNil predicate on the "package_hash_sha256" field.
func PackageHashSha256LT ¶ added in v0.4.0
PackageHashSha256LT applies the LT predicate on the "package_hash_sha256" field.
func PackageHashSha256LTE ¶ added in v0.4.0
PackageHashSha256LTE applies the LTE predicate on the "package_hash_sha256" field.
func PackageHashSha256NEQ ¶ added in v0.4.0
PackageHashSha256NEQ applies the NEQ predicate on the "package_hash_sha256" field.
func PackageHashSha256NotIn ¶ added in v0.4.0
PackageHashSha256NotIn applies the NotIn predicate on the "package_hash_sha256" field.
func PackageHashSha256NotNil ¶ added in v0.4.0
PackageHashSha256NotNil applies the NotNil predicate on the "package_hash_sha256" field.
func PackagePath ¶ added in v0.3.0
PackagePath applies equality check predicate on the "package_path" field. It's identical to PackagePathEQ.
func PackagePathContains ¶ added in v0.3.0
PackagePathContains applies the Contains predicate on the "package_path" field.
func PackagePathContainsFold ¶ added in v0.3.0
PackagePathContainsFold applies the ContainsFold predicate on the "package_path" field.
func PackagePathEQ ¶ added in v0.3.0
PackagePathEQ applies the EQ predicate on the "package_path" field.
func PackagePathEqualFold ¶ added in v0.3.0
PackagePathEqualFold applies the EqualFold predicate on the "package_path" field.
func PackagePathGT ¶ added in v0.3.0
PackagePathGT applies the GT predicate on the "package_path" field.
func PackagePathGTE ¶ added in v0.3.0
PackagePathGTE applies the GTE predicate on the "package_path" field.
func PackagePathHasPrefix ¶ added in v0.3.0
PackagePathHasPrefix applies the HasPrefix predicate on the "package_path" field.
func PackagePathHasSuffix ¶ added in v0.3.0
PackagePathHasSuffix applies the HasSuffix predicate on the "package_path" field.
func PackagePathIn ¶ added in v0.3.0
PackagePathIn applies the In predicate on the "package_path" field.
func PackagePathIsNil ¶ added in v0.3.0
PackagePathIsNil applies the IsNil predicate on the "package_path" field.
func PackagePathLT ¶ added in v0.3.0
PackagePathLT applies the LT predicate on the "package_path" field.
func PackagePathLTE ¶ added in v0.3.0
PackagePathLTE applies the LTE predicate on the "package_path" field.
func PackagePathNEQ ¶ added in v0.3.0
PackagePathNEQ applies the NEQ predicate on the "package_path" field.
func PackagePathNotIn ¶ added in v0.3.0
PackagePathNotIn applies the NotIn predicate on the "package_path" field.
func PackagePathNotNil ¶ added in v0.3.0
PackagePathNotNil applies the NotNil predicate on the "package_path" field.
func UpdateTypeEQ ¶ added in v0.3.0
func UpdateTypeEQ(v UpdateType) predicate.Storage
UpdateTypeEQ applies the EQ predicate on the "update_type" field.
func UpdateTypeIn ¶ added in v0.3.0
func UpdateTypeIn(vs ...UpdateType) predicate.Storage
UpdateTypeIn applies the In predicate on the "update_type" field.
func UpdateTypeNEQ ¶ added in v0.3.0
func UpdateTypeNEQ(v UpdateType) predicate.Storage
UpdateTypeNEQ applies the NEQ predicate on the "update_type" field.
func UpdateTypeNotIn ¶ added in v0.3.0
func UpdateTypeNotIn(vs ...UpdateType) predicate.Storage
UpdateTypeNotIn applies the NotIn predicate on the "update_type" field.
func UpdateTypeValidator ¶ added in v0.3.0
func UpdateTypeValidator(ut UpdateType) error
UpdateTypeValidator is a validator for the "update_type" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VersionStorages ¶ added in v0.5.1
VersionStorages applies equality check predicate on the "version_storages" field. It's identical to VersionStoragesEQ.
func VersionStoragesEQ ¶ added in v0.5.1
VersionStoragesEQ applies the EQ predicate on the "version_storages" field.
func VersionStoragesIn ¶ added in v0.5.1
VersionStoragesIn applies the In predicate on the "version_storages" field.
func VersionStoragesNEQ ¶ added in v0.5.1
VersionStoragesNEQ applies the NEQ predicate on the "version_storages" field.
func VersionStoragesNotIn ¶ added in v0.5.1
VersionStoragesNotIn applies the NotIn predicate on the "version_storages" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Storage queries.
func ByArch ¶ added in v0.3.0
func ByArch(opts ...sql.OrderTermOption) OrderOption
ByArch orders the results by the arch field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByFileSize ¶ added in v0.12.0
func ByFileSize(opts ...sql.OrderTermOption) OrderOption
ByFileSize orders the results by the file_size field.
func ByFileType ¶ added in v0.12.0
func ByFileType(opts ...sql.OrderTermOption) OrderOption
ByFileType orders the results by the file_type field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOldVersionField ¶ added in v0.3.0
func ByOldVersionField(field string, opts ...sql.OrderTermOption) OrderOption
ByOldVersionField orders the results by old_version field.
func ByOs ¶ added in v0.3.0
func ByOs(opts ...sql.OrderTermOption) OrderOption
ByOs orders the results by the os field.
func ByPackageHashSha256 ¶ added in v0.4.0
func ByPackageHashSha256(opts ...sql.OrderTermOption) OrderOption
ByPackageHashSha256 orders the results by the package_hash_sha256 field.
func ByPackagePath ¶ added in v0.3.0
func ByPackagePath(opts ...sql.OrderTermOption) OrderOption
ByPackagePath orders the results by the package_path field.
func ByUpdateType ¶ added in v0.3.0
func ByUpdateType(opts ...sql.OrderTermOption) OrderOption
ByUpdateType orders the results by the update_type field.
func ByVersionField ¶
func ByVersionField(field string, opts ...sql.OrderTermOption) OrderOption
ByVersionField orders the results by version field.
func ByVersionStorages ¶ added in v0.5.1
func ByVersionStorages(opts ...sql.OrderTermOption) OrderOption
ByVersionStorages orders the results by the version_storages field.
type UpdateType ¶ added in v0.3.0
type UpdateType string
UpdateType defines the type for the "update_type" enum field.
const ( UpdateTypeFull UpdateType = "full" UpdateTypeIncremental UpdateType = "incremental" )
UpdateType values.
func (UpdateType) String ¶ added in v0.3.0
func (ut UpdateType) String() string