Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Upload) predicate.Upload
- func CommittedPartCount(v int) predicate.Upload
- func CommittedPartCountEQ(v int) predicate.Upload
- func CommittedPartCountGT(v int) predicate.Upload
- func CommittedPartCountGTE(v int) predicate.Upload
- func CommittedPartCountIn(vs ...int) predicate.Upload
- func CommittedPartCountIsNil() predicate.Upload
- func CommittedPartCountLT(v int) predicate.Upload
- func CommittedPartCountLTE(v int) predicate.Upload
- func CommittedPartCountNEQ(v int) predicate.Upload
- func CommittedPartCountNotIn(vs ...int) predicate.Upload
- func CommittedPartCountNotNil() predicate.Upload
- func CreatedAt(v int64) predicate.Upload
- func CreatedAtEQ(v int64) predicate.Upload
- func CreatedAtGT(v int64) predicate.Upload
- func CreatedAtGTE(v int64) predicate.Upload
- func CreatedAtIn(vs ...int64) predicate.Upload
- func CreatedAtLT(v int64) predicate.Upload
- func CreatedAtLTE(v int64) predicate.Upload
- func CreatedAtNEQ(v int64) predicate.Upload
- func CreatedAtNotIn(vs ...int64) predicate.Upload
- func FinishedPartUploadCount(v int) predicate.Upload
- func FinishedPartUploadCountEQ(v int) predicate.Upload
- func FinishedPartUploadCountGT(v int) predicate.Upload
- func FinishedPartUploadCountGTE(v int) predicate.Upload
- func FinishedPartUploadCountIn(vs ...int) predicate.Upload
- func FinishedPartUploadCountLT(v int) predicate.Upload
- func FinishedPartUploadCountLTE(v int) predicate.Upload
- func FinishedPartUploadCountNEQ(v int) predicate.Upload
- func FinishedPartUploadCountNotIn(vs ...int) predicate.Upload
- func FolderName(v string) predicate.Upload
- func FolderNameContains(v string) predicate.Upload
- func FolderNameContainsFold(v string) predicate.Upload
- func FolderNameEQ(v string) predicate.Upload
- func FolderNameEqualFold(v string) predicate.Upload
- func FolderNameGT(v string) predicate.Upload
- func FolderNameGTE(v string) predicate.Upload
- func FolderNameHasPrefix(v string) predicate.Upload
- func FolderNameHasSuffix(v string) predicate.Upload
- func FolderNameIn(vs ...string) predicate.Upload
- func FolderNameLT(v string) predicate.Upload
- func FolderNameLTE(v string) predicate.Upload
- func FolderNameNEQ(v string) predicate.Upload
- func FolderNameNotIn(vs ...string) predicate.Upload
- func ID(id int64) predicate.Upload
- func IDEQ(id int64) predicate.Upload
- func IDGT(id int64) predicate.Upload
- func IDGTE(id int64) predicate.Upload
- func IDIn(ids ...int64) predicate.Upload
- func IDLT(id int64) predicate.Upload
- func IDLTE(id int64) predicate.Upload
- func IDNEQ(id int64) predicate.Upload
- func IDNotIn(ids ...int64) predicate.Upload
- func Key(v string) predicate.Upload
- func KeyContains(v string) predicate.Upload
- func KeyContainsFold(v string) predicate.Upload
- func KeyEQ(v string) predicate.Upload
- func KeyEqualFold(v string) predicate.Upload
- func KeyGT(v string) predicate.Upload
- func KeyGTE(v string) predicate.Upload
- func KeyHasPrefix(v string) predicate.Upload
- func KeyHasSuffix(v string) predicate.Upload
- func KeyIn(vs ...string) predicate.Upload
- func KeyLT(v string) predicate.Upload
- func KeyLTE(v string) predicate.Upload
- func KeyNEQ(v string) predicate.Upload
- func KeyNotIn(vs ...string) predicate.Upload
- func LastPartUploadedAt(v int64) predicate.Upload
- func LastPartUploadedAtEQ(v int64) predicate.Upload
- func LastPartUploadedAtGT(v int64) predicate.Upload
- func LastPartUploadedAtGTE(v int64) predicate.Upload
- func LastPartUploadedAtIn(vs ...int64) predicate.Upload
- func LastPartUploadedAtIsNil() predicate.Upload
- func LastPartUploadedAtLT(v int64) predicate.Upload
- func LastPartUploadedAtLTE(v int64) predicate.Upload
- func LastPartUploadedAtNEQ(v int64) predicate.Upload
- func LastPartUploadedAtNotIn(vs ...int64) predicate.Upload
- func LastPartUploadedAtNotNil() predicate.Upload
- func Not(p predicate.Upload) predicate.Upload
- func Or(predicates ...predicate.Upload) predicate.Upload
- func RepoId(v string) predicate.Upload
- func RepoIdContains(v string) predicate.Upload
- func RepoIdContainsFold(v string) predicate.Upload
- func RepoIdEQ(v string) predicate.Upload
- func RepoIdEqualFold(v string) predicate.Upload
- func RepoIdGT(v string) predicate.Upload
- func RepoIdGTE(v string) predicate.Upload
- func RepoIdHasPrefix(v string) predicate.Upload
- func RepoIdHasSuffix(v string) predicate.Upload
- func RepoIdIn(vs ...string) predicate.Upload
- func RepoIdLT(v string) predicate.Upload
- func RepoIdLTE(v string) predicate.Upload
- func RepoIdNEQ(v string) predicate.Upload
- func RepoIdNotIn(vs ...string) predicate.Upload
- func Scope(v string) predicate.Upload
- func ScopeContains(v string) predicate.Upload
- func ScopeContainsFold(v string) predicate.Upload
- func ScopeEQ(v string) predicate.Upload
- func ScopeEqualFold(v string) predicate.Upload
- func ScopeGT(v string) predicate.Upload
- func ScopeGTE(v string) predicate.Upload
- func ScopeHasPrefix(v string) predicate.Upload
- func ScopeHasSuffix(v string) predicate.Upload
- func ScopeIn(vs ...string) predicate.Upload
- func ScopeLT(v string) predicate.Upload
- func ScopeLTE(v string) predicate.Upload
- func ScopeNEQ(v string) predicate.Upload
- func ScopeNotIn(vs ...string) predicate.Upload
- func StartedPartUploadCount(v int) predicate.Upload
- func StartedPartUploadCountEQ(v int) predicate.Upload
- func StartedPartUploadCountGT(v int) predicate.Upload
- func StartedPartUploadCountGTE(v int) predicate.Upload
- func StartedPartUploadCountIn(vs ...int) predicate.Upload
- func StartedPartUploadCountLT(v int) predicate.Upload
- func StartedPartUploadCountLTE(v int) predicate.Upload
- func StartedPartUploadCountNEQ(v int) predicate.Upload
- func StartedPartUploadCountNotIn(vs ...int) predicate.Upload
- func TupleHash(v string) predicate.Upload
- func TupleHashContains(v string) predicate.Upload
- func TupleHashContainsFold(v string) predicate.Upload
- func TupleHashEQ(v string) predicate.Upload
- func TupleHashEqualFold(v string) predicate.Upload
- func TupleHashGT(v string) predicate.Upload
- func TupleHashGTE(v string) predicate.Upload
- func TupleHashHasPrefix(v string) predicate.Upload
- func TupleHashHasSuffix(v string) predicate.Upload
- func TupleHashIn(vs ...string) predicate.Upload
- func TupleHashIsNil() predicate.Upload
- func TupleHashLT(v string) predicate.Upload
- func TupleHashLTE(v string) predicate.Upload
- func TupleHashNEQ(v string) predicate.Upload
- func TupleHashNotIn(vs ...string) predicate.Upload
- func TupleHashNotNil() predicate.Upload
- func ValidColumn(column string) bool
- func Version(v string) predicate.Upload
- func VersionContains(v string) predicate.Upload
- func VersionContainsFold(v string) predicate.Upload
- func VersionEQ(v string) predicate.Upload
- func VersionEqualFold(v string) predicate.Upload
- func VersionGT(v string) predicate.Upload
- func VersionGTE(v string) predicate.Upload
- func VersionHasPrefix(v string) predicate.Upload
- func VersionHasSuffix(v string) predicate.Upload
- func VersionIn(vs ...string) predicate.Upload
- func VersionLT(v string) predicate.Upload
- func VersionLTE(v string) predicate.Upload
- func VersionNEQ(v string) predicate.Upload
- func VersionNotIn(vs ...string) predicate.Upload
- type OrderOption
- func ByCommittedPartCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFinishedPartUploadCount(opts ...sql.OrderTermOption) OrderOption
- func ByFolderName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByLastPartUploadedAt(opts ...sql.OrderTermOption) OrderOption
- func ByRepoId(opts ...sql.OrderTermOption) OrderOption
- func ByScope(opts ...sql.OrderTermOption) OrderOption
- func ByStartedPartUploadCount(opts ...sql.OrderTermOption) OrderOption
- func ByTupleHash(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the upload type in the database. Label = "upload" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldScope holds the string denoting the scope field in the database. FieldScope = "scope" // FieldRepoId holds the string denoting the repoid field in the database. FieldRepoId = "repoId" // FieldCreatedAt holds the string denoting the createdat field in the database. FieldCreatedAt = "createdAt" // FieldLastPartUploadedAt holds the string denoting the lastpartuploadedat field in the database. FieldLastPartUploadedAt = "lastPartUploadedAt" // FieldStartedPartUploadCount holds the string denoting the startedpartuploadcount field in the database. FieldStartedPartUploadCount = "startedPartUploadCount" // FieldFinishedPartUploadCount holds the string denoting the finishedpartuploadcount field in the database. FieldFinishedPartUploadCount = "finishedPartUploadCount" // FieldFolderName holds the string denoting the foldername field in the database. FieldFolderName = "folderName" // FieldCommittedPartCount holds the string denoting the committedpartcount field in the database. FieldCommittedPartCount = "committedPartCount" // FieldTupleHash holds the string denoting the tuplehash field in the database. FieldTupleHash = "tupleHash" // Table holds the table name of the upload in the database. Table = "uploads" )
Variables ¶
var ( // KeyValidator is a validator for the "key" field. It is called by the builders before save. KeyValidator func(string) error // VersionValidator is a validator for the "version" field. It is called by the builders before save. VersionValidator func(string) error // ScopeValidator is a validator for the "scope" field. It is called by the builders before save. ScopeValidator func(string) error // RepoIdValidator is a validator for the "repoId" field. It is called by the builders before save. RepoIdValidator func(string) error // DefaultStartedPartUploadCount holds the default value on creation for the "startedPartUploadCount" field. DefaultStartedPartUploadCount int // StartedPartUploadCountValidator is a validator for the "startedPartUploadCount" field. It is called by the builders before save. StartedPartUploadCountValidator func(int) error // DefaultFinishedPartUploadCount holds the default value on creation for the "finishedPartUploadCount" field. DefaultFinishedPartUploadCount int // FinishedPartUploadCountValidator is a validator for the "finishedPartUploadCount" field. It is called by the builders before save. FinishedPartUploadCountValidator func(int) error // FolderNameValidator is a validator for the "folderName" field. It is called by the builders before save. FolderNameValidator func(string) error // CommittedPartCountValidator is a validator for the "committedPartCount" field. It is called by the builders before save. CommittedPartCountValidator func(int) error // TupleHashValidator is a validator for the "tupleHash" field. It is called by the builders before save. TupleHashValidator func(string) error )
var Columns = []string{ FieldID, FieldKey, FieldVersion, FieldScope, FieldRepoId, FieldCreatedAt, FieldLastPartUploadedAt, FieldStartedPartUploadCount, FieldFinishedPartUploadCount, FieldFolderName, FieldCommittedPartCount, FieldTupleHash, }
Columns holds all SQL columns for upload fields.
Functions ¶
func CommittedPartCount ¶
CommittedPartCount applies equality check predicate on the "committedPartCount" field. It's identical to CommittedPartCountEQ.
func CommittedPartCountEQ ¶
CommittedPartCountEQ applies the EQ predicate on the "committedPartCount" field.
func CommittedPartCountGT ¶
CommittedPartCountGT applies the GT predicate on the "committedPartCount" field.
func CommittedPartCountGTE ¶
CommittedPartCountGTE applies the GTE predicate on the "committedPartCount" field.
func CommittedPartCountIn ¶
CommittedPartCountIn applies the In predicate on the "committedPartCount" field.
func CommittedPartCountIsNil ¶
CommittedPartCountIsNil applies the IsNil predicate on the "committedPartCount" field.
func CommittedPartCountLT ¶
CommittedPartCountLT applies the LT predicate on the "committedPartCount" field.
func CommittedPartCountLTE ¶
CommittedPartCountLTE applies the LTE predicate on the "committedPartCount" field.
func CommittedPartCountNEQ ¶
CommittedPartCountNEQ applies the NEQ predicate on the "committedPartCount" field.
func CommittedPartCountNotIn ¶
CommittedPartCountNotIn applies the NotIn predicate on the "committedPartCount" field.
func CommittedPartCountNotNil ¶
CommittedPartCountNotNil applies the NotNil predicate on the "committedPartCount" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "createdAt" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "createdAt" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "createdAt" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "createdAt" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "createdAt" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "createdAt" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.
func FinishedPartUploadCount ¶
FinishedPartUploadCount applies equality check predicate on the "finishedPartUploadCount" field. It's identical to FinishedPartUploadCountEQ.
func FinishedPartUploadCountEQ ¶
FinishedPartUploadCountEQ applies the EQ predicate on the "finishedPartUploadCount" field.
func FinishedPartUploadCountGT ¶
FinishedPartUploadCountGT applies the GT predicate on the "finishedPartUploadCount" field.
func FinishedPartUploadCountGTE ¶
FinishedPartUploadCountGTE applies the GTE predicate on the "finishedPartUploadCount" field.
func FinishedPartUploadCountIn ¶
FinishedPartUploadCountIn applies the In predicate on the "finishedPartUploadCount" field.
func FinishedPartUploadCountLT ¶
FinishedPartUploadCountLT applies the LT predicate on the "finishedPartUploadCount" field.
func FinishedPartUploadCountLTE ¶
FinishedPartUploadCountLTE applies the LTE predicate on the "finishedPartUploadCount" field.
func FinishedPartUploadCountNEQ ¶
FinishedPartUploadCountNEQ applies the NEQ predicate on the "finishedPartUploadCount" field.
func FinishedPartUploadCountNotIn ¶
FinishedPartUploadCountNotIn applies the NotIn predicate on the "finishedPartUploadCount" field.
func FolderName ¶
FolderName applies equality check predicate on the "folderName" field. It's identical to FolderNameEQ.
func FolderNameContains ¶
FolderNameContains applies the Contains predicate on the "folderName" field.
func FolderNameContainsFold ¶
FolderNameContainsFold applies the ContainsFold predicate on the "folderName" field.
func FolderNameEQ ¶
FolderNameEQ applies the EQ predicate on the "folderName" field.
func FolderNameEqualFold ¶
FolderNameEqualFold applies the EqualFold predicate on the "folderName" field.
func FolderNameGT ¶
FolderNameGT applies the GT predicate on the "folderName" field.
func FolderNameGTE ¶
FolderNameGTE applies the GTE predicate on the "folderName" field.
func FolderNameHasPrefix ¶
FolderNameHasPrefix applies the HasPrefix predicate on the "folderName" field.
func FolderNameHasSuffix ¶
FolderNameHasSuffix applies the HasSuffix predicate on the "folderName" field.
func FolderNameIn ¶
FolderNameIn applies the In predicate on the "folderName" field.
func FolderNameLT ¶
FolderNameLT applies the LT predicate on the "folderName" field.
func FolderNameLTE ¶
FolderNameLTE applies the LTE predicate on the "folderName" field.
func FolderNameNEQ ¶
FolderNameNEQ applies the NEQ predicate on the "folderName" field.
func FolderNameNotIn ¶
FolderNameNotIn applies the NotIn predicate on the "folderName" field.
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func LastPartUploadedAt ¶
LastPartUploadedAt applies equality check predicate on the "lastPartUploadedAt" field. It's identical to LastPartUploadedAtEQ.
func LastPartUploadedAtEQ ¶
LastPartUploadedAtEQ applies the EQ predicate on the "lastPartUploadedAt" field.
func LastPartUploadedAtGT ¶
LastPartUploadedAtGT applies the GT predicate on the "lastPartUploadedAt" field.
func LastPartUploadedAtGTE ¶
LastPartUploadedAtGTE applies the GTE predicate on the "lastPartUploadedAt" field.
func LastPartUploadedAtIn ¶
LastPartUploadedAtIn applies the In predicate on the "lastPartUploadedAt" field.
func LastPartUploadedAtIsNil ¶
LastPartUploadedAtIsNil applies the IsNil predicate on the "lastPartUploadedAt" field.
func LastPartUploadedAtLT ¶
LastPartUploadedAtLT applies the LT predicate on the "lastPartUploadedAt" field.
func LastPartUploadedAtLTE ¶
LastPartUploadedAtLTE applies the LTE predicate on the "lastPartUploadedAt" field.
func LastPartUploadedAtNEQ ¶
LastPartUploadedAtNEQ applies the NEQ predicate on the "lastPartUploadedAt" field.
func LastPartUploadedAtNotIn ¶
LastPartUploadedAtNotIn applies the NotIn predicate on the "lastPartUploadedAt" field.
func LastPartUploadedAtNotNil ¶
LastPartUploadedAtNotNil applies the NotNil predicate on the "lastPartUploadedAt" field.
func RepoId ¶
RepoId applies equality check predicate on the "repoId" field. It's identical to RepoIdEQ.
func RepoIdContains ¶
RepoIdContains applies the Contains predicate on the "repoId" field.
func RepoIdContainsFold ¶
RepoIdContainsFold applies the ContainsFold predicate on the "repoId" field.
func RepoIdEqualFold ¶
RepoIdEqualFold applies the EqualFold predicate on the "repoId" field.
func RepoIdHasPrefix ¶
RepoIdHasPrefix applies the HasPrefix predicate on the "repoId" field.
func RepoIdHasSuffix ¶
RepoIdHasSuffix applies the HasSuffix predicate on the "repoId" field.
func RepoIdNotIn ¶
RepoIdNotIn applies the NotIn predicate on the "repoId" field.
func Scope ¶
Scope applies equality check predicate on the "scope" field. It's identical to ScopeEQ.
func ScopeContains ¶
ScopeContains applies the Contains predicate on the "scope" field.
func ScopeContainsFold ¶
ScopeContainsFold applies the ContainsFold predicate on the "scope" field.
func ScopeEqualFold ¶
ScopeEqualFold applies the EqualFold predicate on the "scope" field.
func ScopeHasPrefix ¶
ScopeHasPrefix applies the HasPrefix predicate on the "scope" field.
func ScopeHasSuffix ¶
ScopeHasSuffix applies the HasSuffix predicate on the "scope" field.
func ScopeNotIn ¶
ScopeNotIn applies the NotIn predicate on the "scope" field.
func StartedPartUploadCount ¶
StartedPartUploadCount applies equality check predicate on the "startedPartUploadCount" field. It's identical to StartedPartUploadCountEQ.
func StartedPartUploadCountEQ ¶
StartedPartUploadCountEQ applies the EQ predicate on the "startedPartUploadCount" field.
func StartedPartUploadCountGT ¶
StartedPartUploadCountGT applies the GT predicate on the "startedPartUploadCount" field.
func StartedPartUploadCountGTE ¶
StartedPartUploadCountGTE applies the GTE predicate on the "startedPartUploadCount" field.
func StartedPartUploadCountIn ¶
StartedPartUploadCountIn applies the In predicate on the "startedPartUploadCount" field.
func StartedPartUploadCountLT ¶
StartedPartUploadCountLT applies the LT predicate on the "startedPartUploadCount" field.
func StartedPartUploadCountLTE ¶
StartedPartUploadCountLTE applies the LTE predicate on the "startedPartUploadCount" field.
func StartedPartUploadCountNEQ ¶
StartedPartUploadCountNEQ applies the NEQ predicate on the "startedPartUploadCount" field.
func StartedPartUploadCountNotIn ¶
StartedPartUploadCountNotIn applies the NotIn predicate on the "startedPartUploadCount" field.
func TupleHash ¶
TupleHash applies equality check predicate on the "tupleHash" field. It's identical to TupleHashEQ.
func TupleHashContains ¶
TupleHashContains applies the Contains predicate on the "tupleHash" field.
func TupleHashContainsFold ¶
TupleHashContainsFold applies the ContainsFold predicate on the "tupleHash" field.
func TupleHashEQ ¶
TupleHashEQ applies the EQ predicate on the "tupleHash" field.
func TupleHashEqualFold ¶
TupleHashEqualFold applies the EqualFold predicate on the "tupleHash" field.
func TupleHashGT ¶
TupleHashGT applies the GT predicate on the "tupleHash" field.
func TupleHashGTE ¶
TupleHashGTE applies the GTE predicate on the "tupleHash" field.
func TupleHashHasPrefix ¶
TupleHashHasPrefix applies the HasPrefix predicate on the "tupleHash" field.
func TupleHashHasSuffix ¶
TupleHashHasSuffix applies the HasSuffix predicate on the "tupleHash" field.
func TupleHashIn ¶
TupleHashIn applies the In predicate on the "tupleHash" field.
func TupleHashIsNil ¶
TupleHashIsNil applies the IsNil predicate on the "tupleHash" field.
func TupleHashLT ¶
TupleHashLT applies the LT predicate on the "tupleHash" field.
func TupleHashLTE ¶
TupleHashLTE applies the LTE predicate on the "tupleHash" field.
func TupleHashNEQ ¶
TupleHashNEQ applies the NEQ predicate on the "tupleHash" field.
func TupleHashNotIn ¶
TupleHashNotIn applies the NotIn predicate on the "tupleHash" field.
func TupleHashNotNil ¶
TupleHashNotNil applies the NotNil predicate on the "tupleHash" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Upload queries.
func ByCommittedPartCount ¶
func ByCommittedPartCount(opts ...sql.OrderTermOption) OrderOption
ByCommittedPartCount orders the results by the committedPartCount field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the createdAt field.
func ByFinishedPartUploadCount ¶
func ByFinishedPartUploadCount(opts ...sql.OrderTermOption) OrderOption
ByFinishedPartUploadCount orders the results by the finishedPartUploadCount field.
func ByFolderName ¶
func ByFolderName(opts ...sql.OrderTermOption) OrderOption
ByFolderName orders the results by the folderName field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKey ¶
func ByKey(opts ...sql.OrderTermOption) OrderOption
ByKey orders the results by the key field.
func ByLastPartUploadedAt ¶
func ByLastPartUploadedAt(opts ...sql.OrderTermOption) OrderOption
ByLastPartUploadedAt orders the results by the lastPartUploadedAt field.
func ByRepoId ¶
func ByRepoId(opts ...sql.OrderTermOption) OrderOption
ByRepoId orders the results by the repoId field.
func ByScope ¶
func ByScope(opts ...sql.OrderTermOption) OrderOption
ByScope orders the results by the scope field.
func ByStartedPartUploadCount ¶
func ByStartedPartUploadCount(opts ...sql.OrderTermOption) OrderOption
ByStartedPartUploadCount orders the results by the startedPartUploadCount field.
func ByTupleHash ¶
func ByTupleHash(opts ...sql.OrderTermOption) OrderOption
ByTupleHash orders the results by the tupleHash field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.