upload

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for upload fields.

Functions

func And

func And(predicates ...predicate.Upload) predicate.Upload

And groups predicates with the AND operator between them.

func CommittedPartCount

func CommittedPartCount(v int) predicate.Upload

CommittedPartCount applies equality check predicate on the "committedPartCount" field. It's identical to CommittedPartCountEQ.

func CommittedPartCountEQ

func CommittedPartCountEQ(v int) predicate.Upload

CommittedPartCountEQ applies the EQ predicate on the "committedPartCount" field.

func CommittedPartCountGT

func CommittedPartCountGT(v int) predicate.Upload

CommittedPartCountGT applies the GT predicate on the "committedPartCount" field.

func CommittedPartCountGTE

func CommittedPartCountGTE(v int) predicate.Upload

CommittedPartCountGTE applies the GTE predicate on the "committedPartCount" field.

func CommittedPartCountIn

func CommittedPartCountIn(vs ...int) predicate.Upload

CommittedPartCountIn applies the In predicate on the "committedPartCount" field.

func CommittedPartCountIsNil

func CommittedPartCountIsNil() predicate.Upload

CommittedPartCountIsNil applies the IsNil predicate on the "committedPartCount" field.

func CommittedPartCountLT

func CommittedPartCountLT(v int) predicate.Upload

CommittedPartCountLT applies the LT predicate on the "committedPartCount" field.

func CommittedPartCountLTE

func CommittedPartCountLTE(v int) predicate.Upload

CommittedPartCountLTE applies the LTE predicate on the "committedPartCount" field.

func CommittedPartCountNEQ

func CommittedPartCountNEQ(v int) predicate.Upload

CommittedPartCountNEQ applies the NEQ predicate on the "committedPartCount" field.

func CommittedPartCountNotIn

func CommittedPartCountNotIn(vs ...int) predicate.Upload

CommittedPartCountNotIn applies the NotIn predicate on the "committedPartCount" field.

func CommittedPartCountNotNil

func CommittedPartCountNotNil() predicate.Upload

CommittedPartCountNotNil applies the NotNil predicate on the "committedPartCount" field.

func CreatedAt

func CreatedAt(v int64) predicate.Upload

CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v int64) predicate.Upload

CreatedAtEQ applies the EQ predicate on the "createdAt" field.

func CreatedAtGT

func CreatedAtGT(v int64) predicate.Upload

CreatedAtGT applies the GT predicate on the "createdAt" field.

func CreatedAtGTE

func CreatedAtGTE(v int64) predicate.Upload

CreatedAtGTE applies the GTE predicate on the "createdAt" field.

func CreatedAtIn

func CreatedAtIn(vs ...int64) predicate.Upload

CreatedAtIn applies the In predicate on the "createdAt" field.

func CreatedAtLT

func CreatedAtLT(v int64) predicate.Upload

CreatedAtLT applies the LT predicate on the "createdAt" field.

func CreatedAtLTE

func CreatedAtLTE(v int64) predicate.Upload

CreatedAtLTE applies the LTE predicate on the "createdAt" field.

func CreatedAtNEQ

func CreatedAtNEQ(v int64) predicate.Upload

CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...int64) predicate.Upload

CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.

func FinishedPartUploadCount

func FinishedPartUploadCount(v int) predicate.Upload

FinishedPartUploadCount applies equality check predicate on the "finishedPartUploadCount" field. It's identical to FinishedPartUploadCountEQ.

func FinishedPartUploadCountEQ

func FinishedPartUploadCountEQ(v int) predicate.Upload

FinishedPartUploadCountEQ applies the EQ predicate on the "finishedPartUploadCount" field.

func FinishedPartUploadCountGT

func FinishedPartUploadCountGT(v int) predicate.Upload

FinishedPartUploadCountGT applies the GT predicate on the "finishedPartUploadCount" field.

func FinishedPartUploadCountGTE

func FinishedPartUploadCountGTE(v int) predicate.Upload

FinishedPartUploadCountGTE applies the GTE predicate on the "finishedPartUploadCount" field.

func FinishedPartUploadCountIn

func FinishedPartUploadCountIn(vs ...int) predicate.Upload

FinishedPartUploadCountIn applies the In predicate on the "finishedPartUploadCount" field.

func FinishedPartUploadCountLT

func FinishedPartUploadCountLT(v int) predicate.Upload

FinishedPartUploadCountLT applies the LT predicate on the "finishedPartUploadCount" field.

func FinishedPartUploadCountLTE

func FinishedPartUploadCountLTE(v int) predicate.Upload

FinishedPartUploadCountLTE applies the LTE predicate on the "finishedPartUploadCount" field.

func FinishedPartUploadCountNEQ

func FinishedPartUploadCountNEQ(v int) predicate.Upload

FinishedPartUploadCountNEQ applies the NEQ predicate on the "finishedPartUploadCount" field.

func FinishedPartUploadCountNotIn

func FinishedPartUploadCountNotIn(vs ...int) predicate.Upload

FinishedPartUploadCountNotIn applies the NotIn predicate on the "finishedPartUploadCount" field.

func FolderName

func FolderName(v string) predicate.Upload

FolderName applies equality check predicate on the "folderName" field. It's identical to FolderNameEQ.

func FolderNameContains

func FolderNameContains(v string) predicate.Upload

FolderNameContains applies the Contains predicate on the "folderName" field.

func FolderNameContainsFold

func FolderNameContainsFold(v string) predicate.Upload

FolderNameContainsFold applies the ContainsFold predicate on the "folderName" field.

func FolderNameEQ

func FolderNameEQ(v string) predicate.Upload

FolderNameEQ applies the EQ predicate on the "folderName" field.

func FolderNameEqualFold

func FolderNameEqualFold(v string) predicate.Upload

FolderNameEqualFold applies the EqualFold predicate on the "folderName" field.

func FolderNameGT

func FolderNameGT(v string) predicate.Upload

FolderNameGT applies the GT predicate on the "folderName" field.

func FolderNameGTE

func FolderNameGTE(v string) predicate.Upload

FolderNameGTE applies the GTE predicate on the "folderName" field.

func FolderNameHasPrefix

func FolderNameHasPrefix(v string) predicate.Upload

FolderNameHasPrefix applies the HasPrefix predicate on the "folderName" field.

func FolderNameHasSuffix

func FolderNameHasSuffix(v string) predicate.Upload

FolderNameHasSuffix applies the HasSuffix predicate on the "folderName" field.

func FolderNameIn

func FolderNameIn(vs ...string) predicate.Upload

FolderNameIn applies the In predicate on the "folderName" field.

func FolderNameLT

func FolderNameLT(v string) predicate.Upload

FolderNameLT applies the LT predicate on the "folderName" field.

func FolderNameLTE

func FolderNameLTE(v string) predicate.Upload

FolderNameLTE applies the LTE predicate on the "folderName" field.

func FolderNameNEQ

func FolderNameNEQ(v string) predicate.Upload

FolderNameNEQ applies the NEQ predicate on the "folderName" field.

func FolderNameNotIn

func FolderNameNotIn(vs ...string) predicate.Upload

FolderNameNotIn applies the NotIn predicate on the "folderName" field.

func ID

func ID(id int64) predicate.Upload

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.Upload

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.Upload

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.Upload

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.Upload

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.Upload

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.Upload

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.Upload

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.Upload

IDNotIn applies the NotIn predicate on the ID field.

func Key

func Key(v string) predicate.Upload

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.Upload

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.Upload

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

func KeyEQ(v string) predicate.Upload

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.Upload

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

func KeyGT(v string) predicate.Upload

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

func KeyGTE(v string) predicate.Upload

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.Upload

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.Upload

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

func KeyIn(vs ...string) predicate.Upload

KeyIn applies the In predicate on the "key" field.

func KeyLT

func KeyLT(v string) predicate.Upload

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

func KeyLTE(v string) predicate.Upload

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

func KeyNEQ(v string) predicate.Upload

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.Upload

KeyNotIn applies the NotIn predicate on the "key" field.

func LastPartUploadedAt

func LastPartUploadedAt(v int64) predicate.Upload

LastPartUploadedAt applies equality check predicate on the "lastPartUploadedAt" field. It's identical to LastPartUploadedAtEQ.

func LastPartUploadedAtEQ

func LastPartUploadedAtEQ(v int64) predicate.Upload

LastPartUploadedAtEQ applies the EQ predicate on the "lastPartUploadedAt" field.

func LastPartUploadedAtGT

func LastPartUploadedAtGT(v int64) predicate.Upload

LastPartUploadedAtGT applies the GT predicate on the "lastPartUploadedAt" field.

func LastPartUploadedAtGTE

func LastPartUploadedAtGTE(v int64) predicate.Upload

LastPartUploadedAtGTE applies the GTE predicate on the "lastPartUploadedAt" field.

func LastPartUploadedAtIn

func LastPartUploadedAtIn(vs ...int64) predicate.Upload

LastPartUploadedAtIn applies the In predicate on the "lastPartUploadedAt" field.

func LastPartUploadedAtIsNil

func LastPartUploadedAtIsNil() predicate.Upload

LastPartUploadedAtIsNil applies the IsNil predicate on the "lastPartUploadedAt" field.

func LastPartUploadedAtLT

func LastPartUploadedAtLT(v int64) predicate.Upload

LastPartUploadedAtLT applies the LT predicate on the "lastPartUploadedAt" field.

func LastPartUploadedAtLTE

func LastPartUploadedAtLTE(v int64) predicate.Upload

LastPartUploadedAtLTE applies the LTE predicate on the "lastPartUploadedAt" field.

func LastPartUploadedAtNEQ

func LastPartUploadedAtNEQ(v int64) predicate.Upload

LastPartUploadedAtNEQ applies the NEQ predicate on the "lastPartUploadedAt" field.

func LastPartUploadedAtNotIn

func LastPartUploadedAtNotIn(vs ...int64) predicate.Upload

LastPartUploadedAtNotIn applies the NotIn predicate on the "lastPartUploadedAt" field.

func LastPartUploadedAtNotNil

func LastPartUploadedAtNotNil() predicate.Upload

LastPartUploadedAtNotNil applies the NotNil predicate on the "lastPartUploadedAt" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Upload) predicate.Upload

Or groups predicates with the OR operator between them.

func RepoId

func RepoId(v string) predicate.Upload

RepoId applies equality check predicate on the "repoId" field. It's identical to RepoIdEQ.

func RepoIdContains

func RepoIdContains(v string) predicate.Upload

RepoIdContains applies the Contains predicate on the "repoId" field.

func RepoIdContainsFold

func RepoIdContainsFold(v string) predicate.Upload

RepoIdContainsFold applies the ContainsFold predicate on the "repoId" field.

func RepoIdEQ

func RepoIdEQ(v string) predicate.Upload

RepoIdEQ applies the EQ predicate on the "repoId" field.

func RepoIdEqualFold

func RepoIdEqualFold(v string) predicate.Upload

RepoIdEqualFold applies the EqualFold predicate on the "repoId" field.

func RepoIdGT

func RepoIdGT(v string) predicate.Upload

RepoIdGT applies the GT predicate on the "repoId" field.

func RepoIdGTE

func RepoIdGTE(v string) predicate.Upload

RepoIdGTE applies the GTE predicate on the "repoId" field.

func RepoIdHasPrefix

func RepoIdHasPrefix(v string) predicate.Upload

RepoIdHasPrefix applies the HasPrefix predicate on the "repoId" field.

func RepoIdHasSuffix

func RepoIdHasSuffix(v string) predicate.Upload

RepoIdHasSuffix applies the HasSuffix predicate on the "repoId" field.

func RepoIdIn

func RepoIdIn(vs ...string) predicate.Upload

RepoIdIn applies the In predicate on the "repoId" field.

func RepoIdLT

func RepoIdLT(v string) predicate.Upload

RepoIdLT applies the LT predicate on the "repoId" field.

func RepoIdLTE

func RepoIdLTE(v string) predicate.Upload

RepoIdLTE applies the LTE predicate on the "repoId" field.

func RepoIdNEQ

func RepoIdNEQ(v string) predicate.Upload

RepoIdNEQ applies the NEQ predicate on the "repoId" field.

func RepoIdNotIn

func RepoIdNotIn(vs ...string) predicate.Upload

RepoIdNotIn applies the NotIn predicate on the "repoId" field.

func Scope

func Scope(v string) predicate.Upload

Scope applies equality check predicate on the "scope" field. It's identical to ScopeEQ.

func ScopeContains

func ScopeContains(v string) predicate.Upload

ScopeContains applies the Contains predicate on the "scope" field.

func ScopeContainsFold

func ScopeContainsFold(v string) predicate.Upload

ScopeContainsFold applies the ContainsFold predicate on the "scope" field.

func ScopeEQ

func ScopeEQ(v string) predicate.Upload

ScopeEQ applies the EQ predicate on the "scope" field.

func ScopeEqualFold

func ScopeEqualFold(v string) predicate.Upload

ScopeEqualFold applies the EqualFold predicate on the "scope" field.

func ScopeGT

func ScopeGT(v string) predicate.Upload

ScopeGT applies the GT predicate on the "scope" field.

func ScopeGTE

func ScopeGTE(v string) predicate.Upload

ScopeGTE applies the GTE predicate on the "scope" field.

func ScopeHasPrefix

func ScopeHasPrefix(v string) predicate.Upload

ScopeHasPrefix applies the HasPrefix predicate on the "scope" field.

func ScopeHasSuffix

func ScopeHasSuffix(v string) predicate.Upload

ScopeHasSuffix applies the HasSuffix predicate on the "scope" field.

func ScopeIn

func ScopeIn(vs ...string) predicate.Upload

ScopeIn applies the In predicate on the "scope" field.

func ScopeLT

func ScopeLT(v string) predicate.Upload

ScopeLT applies the LT predicate on the "scope" field.

func ScopeLTE

func ScopeLTE(v string) predicate.Upload

ScopeLTE applies the LTE predicate on the "scope" field.

func ScopeNEQ

func ScopeNEQ(v string) predicate.Upload

ScopeNEQ applies the NEQ predicate on the "scope" field.

func ScopeNotIn

func ScopeNotIn(vs ...string) predicate.Upload

ScopeNotIn applies the NotIn predicate on the "scope" field.

func StartedPartUploadCount

func StartedPartUploadCount(v int) predicate.Upload

StartedPartUploadCount applies equality check predicate on the "startedPartUploadCount" field. It's identical to StartedPartUploadCountEQ.

func StartedPartUploadCountEQ

func StartedPartUploadCountEQ(v int) predicate.Upload

StartedPartUploadCountEQ applies the EQ predicate on the "startedPartUploadCount" field.

func StartedPartUploadCountGT

func StartedPartUploadCountGT(v int) predicate.Upload

StartedPartUploadCountGT applies the GT predicate on the "startedPartUploadCount" field.

func StartedPartUploadCountGTE

func StartedPartUploadCountGTE(v int) predicate.Upload

StartedPartUploadCountGTE applies the GTE predicate on the "startedPartUploadCount" field.

func StartedPartUploadCountIn

func StartedPartUploadCountIn(vs ...int) predicate.Upload

StartedPartUploadCountIn applies the In predicate on the "startedPartUploadCount" field.

func StartedPartUploadCountLT

func StartedPartUploadCountLT(v int) predicate.Upload

StartedPartUploadCountLT applies the LT predicate on the "startedPartUploadCount" field.

func StartedPartUploadCountLTE

func StartedPartUploadCountLTE(v int) predicate.Upload

StartedPartUploadCountLTE applies the LTE predicate on the "startedPartUploadCount" field.

func StartedPartUploadCountNEQ

func StartedPartUploadCountNEQ(v int) predicate.Upload

StartedPartUploadCountNEQ applies the NEQ predicate on the "startedPartUploadCount" field.

func StartedPartUploadCountNotIn

func StartedPartUploadCountNotIn(vs ...int) predicate.Upload

StartedPartUploadCountNotIn applies the NotIn predicate on the "startedPartUploadCount" field.

func TupleHash

func TupleHash(v string) predicate.Upload

TupleHash applies equality check predicate on the "tupleHash" field. It's identical to TupleHashEQ.

func TupleHashContains

func TupleHashContains(v string) predicate.Upload

TupleHashContains applies the Contains predicate on the "tupleHash" field.

func TupleHashContainsFold

func TupleHashContainsFold(v string) predicate.Upload

TupleHashContainsFold applies the ContainsFold predicate on the "tupleHash" field.

func TupleHashEQ

func TupleHashEQ(v string) predicate.Upload

TupleHashEQ applies the EQ predicate on the "tupleHash" field.

func TupleHashEqualFold

func TupleHashEqualFold(v string) predicate.Upload

TupleHashEqualFold applies the EqualFold predicate on the "tupleHash" field.

func TupleHashGT

func TupleHashGT(v string) predicate.Upload

TupleHashGT applies the GT predicate on the "tupleHash" field.

func TupleHashGTE

func TupleHashGTE(v string) predicate.Upload

TupleHashGTE applies the GTE predicate on the "tupleHash" field.

func TupleHashHasPrefix

func TupleHashHasPrefix(v string) predicate.Upload

TupleHashHasPrefix applies the HasPrefix predicate on the "tupleHash" field.

func TupleHashHasSuffix

func TupleHashHasSuffix(v string) predicate.Upload

TupleHashHasSuffix applies the HasSuffix predicate on the "tupleHash" field.

func TupleHashIn

func TupleHashIn(vs ...string) predicate.Upload

TupleHashIn applies the In predicate on the "tupleHash" field.

func TupleHashIsNil

func TupleHashIsNil() predicate.Upload

TupleHashIsNil applies the IsNil predicate on the "tupleHash" field.

func TupleHashLT

func TupleHashLT(v string) predicate.Upload

TupleHashLT applies the LT predicate on the "tupleHash" field.

func TupleHashLTE

func TupleHashLTE(v string) predicate.Upload

TupleHashLTE applies the LTE predicate on the "tupleHash" field.

func TupleHashNEQ

func TupleHashNEQ(v string) predicate.Upload

TupleHashNEQ applies the NEQ predicate on the "tupleHash" field.

func TupleHashNotIn

func TupleHashNotIn(vs ...string) predicate.Upload

TupleHashNotIn applies the NotIn predicate on the "tupleHash" field.

func TupleHashNotNil

func TupleHashNotNil() predicate.Upload

TupleHashNotNil applies the NotNil predicate on the "tupleHash" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Version

func Version(v string) predicate.Upload

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.Upload

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.Upload

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.Upload

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.Upload

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.Upload

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.Upload

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.Upload

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.Upload

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.Upload

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.Upload

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.Upload

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.Upload

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.Upload

VersionNotIn applies the NotIn predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL