storagelocation

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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the storagelocation type in the database.
	Label = "storage_location"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldFolderName holds the string denoting the foldername field in the database.
	FieldFolderName = "folderName"
	// FieldPartCount holds the string denoting the partcount field in the database.
	FieldPartCount = "partCount"
	// FieldSizeBytes holds the string denoting the sizebytes field in the database.
	FieldSizeBytes = "sizeBytes"
	// FieldLeaseVersion holds the string denoting the leaseversion field in the database.
	FieldLeaseVersion = "leaseVersion"
	// FieldDeletionRequestedAt holds the string denoting the deletionrequestedat field in the database.
	FieldDeletionRequestedAt = "deletionRequestedAt"
	// FieldMergeStartedAt holds the string denoting the mergestartedat field in the database.
	FieldMergeStartedAt = "mergeStartedAt"
	// FieldMergeLeaseToken holds the string denoting the mergeleasetoken field in the database.
	FieldMergeLeaseToken = "mergeLeaseToken"
	// FieldMergeLeaseExpiresAt holds the string denoting the mergeleaseexpiresat field in the database.
	FieldMergeLeaseExpiresAt = "mergeLeaseExpiresAt"
	// FieldMergedAt holds the string denoting the mergedat field in the database.
	FieldMergedAt = "mergedAt"
	// FieldMaterializationUnsupportedAt holds the string denoting the materializationunsupportedat field in the database.
	FieldMaterializationUnsupportedAt = "materializationUnsupportedAt"
	// FieldPartsDeletedAt holds the string denoting the partsdeletedat field in the database.
	FieldPartsDeletedAt = "partsDeletedAt"
	// FieldLastDownloadedAt holds the string denoting the lastdownloadedat field in the database.
	FieldLastDownloadedAt = "lastDownloadedAt"
	// FieldRecencyAt holds the string denoting the recencyat field in the database.
	FieldRecencyAt = "recencyAt"
	// EdgeCacheEntries holds the string denoting the cacheentries edge name in mutations.
	EdgeCacheEntries = "cacheEntries"
	// EdgeReaderLeases holds the string denoting the readerleases edge name in mutations.
	EdgeReaderLeases = "readerLeases"
	// Table holds the table name of the storagelocation in the database.
	Table = "storage_locations"
	// CacheEntriesTable is the table that holds the cacheEntries relation/edge.
	CacheEntriesTable = "cache_entries"
	// CacheEntriesInverseTable is the table name for the CacheEntry entity.
	// It exists in this package in order to avoid circular dependency with the "cacheentry" package.
	CacheEntriesInverseTable = "cache_entries"
	// CacheEntriesColumn is the table column denoting the cacheEntries relation/edge.
	CacheEntriesColumn = "locationId"
	// ReaderLeasesTable is the table that holds the readerLeases relation/edge.
	ReaderLeasesTable = "storage_reader_leases"
	// ReaderLeasesInverseTable is the table name for the StorageReaderLease entity.
	// It exists in this package in order to avoid circular dependency with the "storagereaderlease" package.
	ReaderLeasesInverseTable = "storage_reader_leases"
	// ReaderLeasesColumn is the table column denoting the readerLeases relation/edge.
	ReaderLeasesColumn = "storageLocationId"
)

Variables

View Source
var (
	// FolderNameValidator is a validator for the "folderName" field. It is called by the builders before save.
	FolderNameValidator func(string) error
	// PartCountValidator is a validator for the "partCount" field. It is called by the builders before save.
	PartCountValidator func(int) error
	// SizeBytesValidator is a validator for the "sizeBytes" field. It is called by the builders before save.
	SizeBytesValidator func(int64) error
	// DefaultLeaseVersion holds the default value on creation for the "leaseVersion" field.
	DefaultLeaseVersion int64
	// LeaseVersionValidator is a validator for the "leaseVersion" field. It is called by the builders before save.
	LeaseVersionValidator func(int64) error
	// DefaultRecencyAt holds the default value on creation for the "recencyAt" field.
	DefaultRecencyAt int64
	// RecencyAtValidator is a validator for the "recencyAt" field. It is called by the builders before save.
	RecencyAtValidator func(int64) error
)

Columns holds all SQL columns for storagelocation fields.

Functions

func And

And groups predicates with the AND operator between them.

func DeletionRequestedAt

func DeletionRequestedAt(v int64) predicate.StorageLocation

DeletionRequestedAt applies equality check predicate on the "deletionRequestedAt" field. It's identical to DeletionRequestedAtEQ.

func DeletionRequestedAtEQ

func DeletionRequestedAtEQ(v int64) predicate.StorageLocation

DeletionRequestedAtEQ applies the EQ predicate on the "deletionRequestedAt" field.

func DeletionRequestedAtGT

func DeletionRequestedAtGT(v int64) predicate.StorageLocation

DeletionRequestedAtGT applies the GT predicate on the "deletionRequestedAt" field.

func DeletionRequestedAtGTE

func DeletionRequestedAtGTE(v int64) predicate.StorageLocation

DeletionRequestedAtGTE applies the GTE predicate on the "deletionRequestedAt" field.

func DeletionRequestedAtIn

func DeletionRequestedAtIn(vs ...int64) predicate.StorageLocation

DeletionRequestedAtIn applies the In predicate on the "deletionRequestedAt" field.

func DeletionRequestedAtIsNil

func DeletionRequestedAtIsNil() predicate.StorageLocation

DeletionRequestedAtIsNil applies the IsNil predicate on the "deletionRequestedAt" field.

func DeletionRequestedAtLT

func DeletionRequestedAtLT(v int64) predicate.StorageLocation

DeletionRequestedAtLT applies the LT predicate on the "deletionRequestedAt" field.

func DeletionRequestedAtLTE

func DeletionRequestedAtLTE(v int64) predicate.StorageLocation

DeletionRequestedAtLTE applies the LTE predicate on the "deletionRequestedAt" field.

func DeletionRequestedAtNEQ

func DeletionRequestedAtNEQ(v int64) predicate.StorageLocation

DeletionRequestedAtNEQ applies the NEQ predicate on the "deletionRequestedAt" field.

func DeletionRequestedAtNotIn

func DeletionRequestedAtNotIn(vs ...int64) predicate.StorageLocation

DeletionRequestedAtNotIn applies the NotIn predicate on the "deletionRequestedAt" field.

func DeletionRequestedAtNotNil

func DeletionRequestedAtNotNil() predicate.StorageLocation

DeletionRequestedAtNotNil applies the NotNil predicate on the "deletionRequestedAt" field.

func FolderName

func FolderName(v string) predicate.StorageLocation

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

func FolderNameContains

func FolderNameContains(v string) predicate.StorageLocation

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

func FolderNameContainsFold

func FolderNameContainsFold(v string) predicate.StorageLocation

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

func FolderNameEQ

func FolderNameEQ(v string) predicate.StorageLocation

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

func FolderNameEqualFold

func FolderNameEqualFold(v string) predicate.StorageLocation

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

func FolderNameGT

func FolderNameGT(v string) predicate.StorageLocation

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

func FolderNameGTE

func FolderNameGTE(v string) predicate.StorageLocation

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

func FolderNameHasPrefix

func FolderNameHasPrefix(v string) predicate.StorageLocation

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

func FolderNameHasSuffix

func FolderNameHasSuffix(v string) predicate.StorageLocation

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

func FolderNameIn

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

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

func FolderNameLT

func FolderNameLT(v string) predicate.StorageLocation

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

func FolderNameLTE

func FolderNameLTE(v string) predicate.StorageLocation

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

func FolderNameNEQ

func FolderNameNEQ(v string) predicate.StorageLocation

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

func FolderNameNotIn

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

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

func HasCacheEntries

func HasCacheEntries() predicate.StorageLocation

HasCacheEntries applies the HasEdge predicate on the "cacheEntries" edge.

func HasCacheEntriesWith

func HasCacheEntriesWith(preds ...predicate.CacheEntry) predicate.StorageLocation

HasCacheEntriesWith applies the HasEdge predicate on the "cacheEntries" edge with a given conditions (other predicates).

func HasReaderLeases

func HasReaderLeases() predicate.StorageLocation

HasReaderLeases applies the HasEdge predicate on the "readerLeases" edge.

func HasReaderLeasesWith

func HasReaderLeasesWith(preds ...predicate.StorageReaderLease) predicate.StorageLocation

HasReaderLeasesWith applies the HasEdge predicate on the "readerLeases" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.StorageLocation

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.StorageLocation

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.StorageLocation

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.StorageLocation

IDNotIn applies the NotIn predicate on the ID field.

func LastDownloadedAt

func LastDownloadedAt(v int64) predicate.StorageLocation

LastDownloadedAt applies equality check predicate on the "lastDownloadedAt" field. It's identical to LastDownloadedAtEQ.

func LastDownloadedAtEQ

func LastDownloadedAtEQ(v int64) predicate.StorageLocation

LastDownloadedAtEQ applies the EQ predicate on the "lastDownloadedAt" field.

func LastDownloadedAtGT

func LastDownloadedAtGT(v int64) predicate.StorageLocation

LastDownloadedAtGT applies the GT predicate on the "lastDownloadedAt" field.

func LastDownloadedAtGTE

func LastDownloadedAtGTE(v int64) predicate.StorageLocation

LastDownloadedAtGTE applies the GTE predicate on the "lastDownloadedAt" field.

func LastDownloadedAtIn

func LastDownloadedAtIn(vs ...int64) predicate.StorageLocation

LastDownloadedAtIn applies the In predicate on the "lastDownloadedAt" field.

func LastDownloadedAtIsNil

func LastDownloadedAtIsNil() predicate.StorageLocation

LastDownloadedAtIsNil applies the IsNil predicate on the "lastDownloadedAt" field.

func LastDownloadedAtLT

func LastDownloadedAtLT(v int64) predicate.StorageLocation

LastDownloadedAtLT applies the LT predicate on the "lastDownloadedAt" field.

func LastDownloadedAtLTE

func LastDownloadedAtLTE(v int64) predicate.StorageLocation

LastDownloadedAtLTE applies the LTE predicate on the "lastDownloadedAt" field.

func LastDownloadedAtNEQ

func LastDownloadedAtNEQ(v int64) predicate.StorageLocation

LastDownloadedAtNEQ applies the NEQ predicate on the "lastDownloadedAt" field.

func LastDownloadedAtNotIn

func LastDownloadedAtNotIn(vs ...int64) predicate.StorageLocation

LastDownloadedAtNotIn applies the NotIn predicate on the "lastDownloadedAt" field.

func LastDownloadedAtNotNil

func LastDownloadedAtNotNil() predicate.StorageLocation

LastDownloadedAtNotNil applies the NotNil predicate on the "lastDownloadedAt" field.

func LeaseVersion

func LeaseVersion(v int64) predicate.StorageLocation

LeaseVersion applies equality check predicate on the "leaseVersion" field. It's identical to LeaseVersionEQ.

func LeaseVersionEQ

func LeaseVersionEQ(v int64) predicate.StorageLocation

LeaseVersionEQ applies the EQ predicate on the "leaseVersion" field.

func LeaseVersionGT

func LeaseVersionGT(v int64) predicate.StorageLocation

LeaseVersionGT applies the GT predicate on the "leaseVersion" field.

func LeaseVersionGTE

func LeaseVersionGTE(v int64) predicate.StorageLocation

LeaseVersionGTE applies the GTE predicate on the "leaseVersion" field.

func LeaseVersionIn

func LeaseVersionIn(vs ...int64) predicate.StorageLocation

LeaseVersionIn applies the In predicate on the "leaseVersion" field.

func LeaseVersionLT

func LeaseVersionLT(v int64) predicate.StorageLocation

LeaseVersionLT applies the LT predicate on the "leaseVersion" field.

func LeaseVersionLTE

func LeaseVersionLTE(v int64) predicate.StorageLocation

LeaseVersionLTE applies the LTE predicate on the "leaseVersion" field.

func LeaseVersionNEQ

func LeaseVersionNEQ(v int64) predicate.StorageLocation

LeaseVersionNEQ applies the NEQ predicate on the "leaseVersion" field.

func LeaseVersionNotIn

func LeaseVersionNotIn(vs ...int64) predicate.StorageLocation

LeaseVersionNotIn applies the NotIn predicate on the "leaseVersion" field.

func MaterializationUnsupportedAt

func MaterializationUnsupportedAt(v int64) predicate.StorageLocation

MaterializationUnsupportedAt applies equality check predicate on the "materializationUnsupportedAt" field. It's identical to MaterializationUnsupportedAtEQ.

func MaterializationUnsupportedAtEQ

func MaterializationUnsupportedAtEQ(v int64) predicate.StorageLocation

MaterializationUnsupportedAtEQ applies the EQ predicate on the "materializationUnsupportedAt" field.

func MaterializationUnsupportedAtGT

func MaterializationUnsupportedAtGT(v int64) predicate.StorageLocation

MaterializationUnsupportedAtGT applies the GT predicate on the "materializationUnsupportedAt" field.

func MaterializationUnsupportedAtGTE

func MaterializationUnsupportedAtGTE(v int64) predicate.StorageLocation

MaterializationUnsupportedAtGTE applies the GTE predicate on the "materializationUnsupportedAt" field.

func MaterializationUnsupportedAtIn

func MaterializationUnsupportedAtIn(vs ...int64) predicate.StorageLocation

MaterializationUnsupportedAtIn applies the In predicate on the "materializationUnsupportedAt" field.

func MaterializationUnsupportedAtIsNil

func MaterializationUnsupportedAtIsNil() predicate.StorageLocation

MaterializationUnsupportedAtIsNil applies the IsNil predicate on the "materializationUnsupportedAt" field.

func MaterializationUnsupportedAtLT

func MaterializationUnsupportedAtLT(v int64) predicate.StorageLocation

MaterializationUnsupportedAtLT applies the LT predicate on the "materializationUnsupportedAt" field.

func MaterializationUnsupportedAtLTE

func MaterializationUnsupportedAtLTE(v int64) predicate.StorageLocation

MaterializationUnsupportedAtLTE applies the LTE predicate on the "materializationUnsupportedAt" field.

func MaterializationUnsupportedAtNEQ

func MaterializationUnsupportedAtNEQ(v int64) predicate.StorageLocation

MaterializationUnsupportedAtNEQ applies the NEQ predicate on the "materializationUnsupportedAt" field.

func MaterializationUnsupportedAtNotIn

func MaterializationUnsupportedAtNotIn(vs ...int64) predicate.StorageLocation

MaterializationUnsupportedAtNotIn applies the NotIn predicate on the "materializationUnsupportedAt" field.

func MaterializationUnsupportedAtNotNil

func MaterializationUnsupportedAtNotNil() predicate.StorageLocation

MaterializationUnsupportedAtNotNil applies the NotNil predicate on the "materializationUnsupportedAt" field.

func MergeLeaseExpiresAt

func MergeLeaseExpiresAt(v int64) predicate.StorageLocation

MergeLeaseExpiresAt applies equality check predicate on the "mergeLeaseExpiresAt" field. It's identical to MergeLeaseExpiresAtEQ.

func MergeLeaseExpiresAtEQ

func MergeLeaseExpiresAtEQ(v int64) predicate.StorageLocation

MergeLeaseExpiresAtEQ applies the EQ predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseExpiresAtGT

func MergeLeaseExpiresAtGT(v int64) predicate.StorageLocation

MergeLeaseExpiresAtGT applies the GT predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseExpiresAtGTE

func MergeLeaseExpiresAtGTE(v int64) predicate.StorageLocation

MergeLeaseExpiresAtGTE applies the GTE predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseExpiresAtIn

func MergeLeaseExpiresAtIn(vs ...int64) predicate.StorageLocation

MergeLeaseExpiresAtIn applies the In predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseExpiresAtIsNil

func MergeLeaseExpiresAtIsNil() predicate.StorageLocation

MergeLeaseExpiresAtIsNil applies the IsNil predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseExpiresAtLT

func MergeLeaseExpiresAtLT(v int64) predicate.StorageLocation

MergeLeaseExpiresAtLT applies the LT predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseExpiresAtLTE

func MergeLeaseExpiresAtLTE(v int64) predicate.StorageLocation

MergeLeaseExpiresAtLTE applies the LTE predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseExpiresAtNEQ

func MergeLeaseExpiresAtNEQ(v int64) predicate.StorageLocation

MergeLeaseExpiresAtNEQ applies the NEQ predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseExpiresAtNotIn

func MergeLeaseExpiresAtNotIn(vs ...int64) predicate.StorageLocation

MergeLeaseExpiresAtNotIn applies the NotIn predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseExpiresAtNotNil

func MergeLeaseExpiresAtNotNil() predicate.StorageLocation

MergeLeaseExpiresAtNotNil applies the NotNil predicate on the "mergeLeaseExpiresAt" field.

func MergeLeaseToken

func MergeLeaseToken(v string) predicate.StorageLocation

MergeLeaseToken applies equality check predicate on the "mergeLeaseToken" field. It's identical to MergeLeaseTokenEQ.

func MergeLeaseTokenContains

func MergeLeaseTokenContains(v string) predicate.StorageLocation

MergeLeaseTokenContains applies the Contains predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenContainsFold

func MergeLeaseTokenContainsFold(v string) predicate.StorageLocation

MergeLeaseTokenContainsFold applies the ContainsFold predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenEQ

func MergeLeaseTokenEQ(v string) predicate.StorageLocation

MergeLeaseTokenEQ applies the EQ predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenEqualFold

func MergeLeaseTokenEqualFold(v string) predicate.StorageLocation

MergeLeaseTokenEqualFold applies the EqualFold predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenGT

func MergeLeaseTokenGT(v string) predicate.StorageLocation

MergeLeaseTokenGT applies the GT predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenGTE

func MergeLeaseTokenGTE(v string) predicate.StorageLocation

MergeLeaseTokenGTE applies the GTE predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenHasPrefix

func MergeLeaseTokenHasPrefix(v string) predicate.StorageLocation

MergeLeaseTokenHasPrefix applies the HasPrefix predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenHasSuffix

func MergeLeaseTokenHasSuffix(v string) predicate.StorageLocation

MergeLeaseTokenHasSuffix applies the HasSuffix predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenIn

func MergeLeaseTokenIn(vs ...string) predicate.StorageLocation

MergeLeaseTokenIn applies the In predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenIsNil

func MergeLeaseTokenIsNil() predicate.StorageLocation

MergeLeaseTokenIsNil applies the IsNil predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenLT

func MergeLeaseTokenLT(v string) predicate.StorageLocation

MergeLeaseTokenLT applies the LT predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenLTE

func MergeLeaseTokenLTE(v string) predicate.StorageLocation

MergeLeaseTokenLTE applies the LTE predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenNEQ

func MergeLeaseTokenNEQ(v string) predicate.StorageLocation

MergeLeaseTokenNEQ applies the NEQ predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenNotIn

func MergeLeaseTokenNotIn(vs ...string) predicate.StorageLocation

MergeLeaseTokenNotIn applies the NotIn predicate on the "mergeLeaseToken" field.

func MergeLeaseTokenNotNil

func MergeLeaseTokenNotNil() predicate.StorageLocation

MergeLeaseTokenNotNil applies the NotNil predicate on the "mergeLeaseToken" field.

func MergeStartedAt

func MergeStartedAt(v int64) predicate.StorageLocation

MergeStartedAt applies equality check predicate on the "mergeStartedAt" field. It's identical to MergeStartedAtEQ.

func MergeStartedAtEQ

func MergeStartedAtEQ(v int64) predicate.StorageLocation

MergeStartedAtEQ applies the EQ predicate on the "mergeStartedAt" field.

func MergeStartedAtGT

func MergeStartedAtGT(v int64) predicate.StorageLocation

MergeStartedAtGT applies the GT predicate on the "mergeStartedAt" field.

func MergeStartedAtGTE

func MergeStartedAtGTE(v int64) predicate.StorageLocation

MergeStartedAtGTE applies the GTE predicate on the "mergeStartedAt" field.

func MergeStartedAtIn

func MergeStartedAtIn(vs ...int64) predicate.StorageLocation

MergeStartedAtIn applies the In predicate on the "mergeStartedAt" field.

func MergeStartedAtIsNil

func MergeStartedAtIsNil() predicate.StorageLocation

MergeStartedAtIsNil applies the IsNil predicate on the "mergeStartedAt" field.

func MergeStartedAtLT

func MergeStartedAtLT(v int64) predicate.StorageLocation

MergeStartedAtLT applies the LT predicate on the "mergeStartedAt" field.

func MergeStartedAtLTE

func MergeStartedAtLTE(v int64) predicate.StorageLocation

MergeStartedAtLTE applies the LTE predicate on the "mergeStartedAt" field.

func MergeStartedAtNEQ

func MergeStartedAtNEQ(v int64) predicate.StorageLocation

MergeStartedAtNEQ applies the NEQ predicate on the "mergeStartedAt" field.

func MergeStartedAtNotIn

func MergeStartedAtNotIn(vs ...int64) predicate.StorageLocation

MergeStartedAtNotIn applies the NotIn predicate on the "mergeStartedAt" field.

func MergeStartedAtNotNil

func MergeStartedAtNotNil() predicate.StorageLocation

MergeStartedAtNotNil applies the NotNil predicate on the "mergeStartedAt" field.

func MergedAt

func MergedAt(v int64) predicate.StorageLocation

MergedAt applies equality check predicate on the "mergedAt" field. It's identical to MergedAtEQ.

func MergedAtEQ

func MergedAtEQ(v int64) predicate.StorageLocation

MergedAtEQ applies the EQ predicate on the "mergedAt" field.

func MergedAtGT

func MergedAtGT(v int64) predicate.StorageLocation

MergedAtGT applies the GT predicate on the "mergedAt" field.

func MergedAtGTE

func MergedAtGTE(v int64) predicate.StorageLocation

MergedAtGTE applies the GTE predicate on the "mergedAt" field.

func MergedAtIn

func MergedAtIn(vs ...int64) predicate.StorageLocation

MergedAtIn applies the In predicate on the "mergedAt" field.

func MergedAtIsNil

func MergedAtIsNil() predicate.StorageLocation

MergedAtIsNil applies the IsNil predicate on the "mergedAt" field.

func MergedAtLT

func MergedAtLT(v int64) predicate.StorageLocation

MergedAtLT applies the LT predicate on the "mergedAt" field.

func MergedAtLTE

func MergedAtLTE(v int64) predicate.StorageLocation

MergedAtLTE applies the LTE predicate on the "mergedAt" field.

func MergedAtNEQ

func MergedAtNEQ(v int64) predicate.StorageLocation

MergedAtNEQ applies the NEQ predicate on the "mergedAt" field.

func MergedAtNotIn

func MergedAtNotIn(vs ...int64) predicate.StorageLocation

MergedAtNotIn applies the NotIn predicate on the "mergedAt" field.

func MergedAtNotNil

func MergedAtNotNil() predicate.StorageLocation

MergedAtNotNil applies the NotNil predicate on the "mergedAt" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PartCount

func PartCount(v int) predicate.StorageLocation

PartCount applies equality check predicate on the "partCount" field. It's identical to PartCountEQ.

func PartCountEQ

func PartCountEQ(v int) predicate.StorageLocation

PartCountEQ applies the EQ predicate on the "partCount" field.

func PartCountGT

func PartCountGT(v int) predicate.StorageLocation

PartCountGT applies the GT predicate on the "partCount" field.

func PartCountGTE

func PartCountGTE(v int) predicate.StorageLocation

PartCountGTE applies the GTE predicate on the "partCount" field.

func PartCountIn

func PartCountIn(vs ...int) predicate.StorageLocation

PartCountIn applies the In predicate on the "partCount" field.

func PartCountLT

func PartCountLT(v int) predicate.StorageLocation

PartCountLT applies the LT predicate on the "partCount" field.

func PartCountLTE

func PartCountLTE(v int) predicate.StorageLocation

PartCountLTE applies the LTE predicate on the "partCount" field.

func PartCountNEQ

func PartCountNEQ(v int) predicate.StorageLocation

PartCountNEQ applies the NEQ predicate on the "partCount" field.

func PartCountNotIn

func PartCountNotIn(vs ...int) predicate.StorageLocation

PartCountNotIn applies the NotIn predicate on the "partCount" field.

func PartsDeletedAt

func PartsDeletedAt(v int64) predicate.StorageLocation

PartsDeletedAt applies equality check predicate on the "partsDeletedAt" field. It's identical to PartsDeletedAtEQ.

func PartsDeletedAtEQ

func PartsDeletedAtEQ(v int64) predicate.StorageLocation

PartsDeletedAtEQ applies the EQ predicate on the "partsDeletedAt" field.

func PartsDeletedAtGT

func PartsDeletedAtGT(v int64) predicate.StorageLocation

PartsDeletedAtGT applies the GT predicate on the "partsDeletedAt" field.

func PartsDeletedAtGTE

func PartsDeletedAtGTE(v int64) predicate.StorageLocation

PartsDeletedAtGTE applies the GTE predicate on the "partsDeletedAt" field.

func PartsDeletedAtIn

func PartsDeletedAtIn(vs ...int64) predicate.StorageLocation

PartsDeletedAtIn applies the In predicate on the "partsDeletedAt" field.

func PartsDeletedAtIsNil

func PartsDeletedAtIsNil() predicate.StorageLocation

PartsDeletedAtIsNil applies the IsNil predicate on the "partsDeletedAt" field.

func PartsDeletedAtLT

func PartsDeletedAtLT(v int64) predicate.StorageLocation

PartsDeletedAtLT applies the LT predicate on the "partsDeletedAt" field.

func PartsDeletedAtLTE

func PartsDeletedAtLTE(v int64) predicate.StorageLocation

PartsDeletedAtLTE applies the LTE predicate on the "partsDeletedAt" field.

func PartsDeletedAtNEQ

func PartsDeletedAtNEQ(v int64) predicate.StorageLocation

PartsDeletedAtNEQ applies the NEQ predicate on the "partsDeletedAt" field.

func PartsDeletedAtNotIn

func PartsDeletedAtNotIn(vs ...int64) predicate.StorageLocation

PartsDeletedAtNotIn applies the NotIn predicate on the "partsDeletedAt" field.

func PartsDeletedAtNotNil

func PartsDeletedAtNotNil() predicate.StorageLocation

PartsDeletedAtNotNil applies the NotNil predicate on the "partsDeletedAt" field.

func RecencyAt added in v1.1.2

func RecencyAt(v int64) predicate.StorageLocation

RecencyAt applies equality check predicate on the "recencyAt" field. It's identical to RecencyAtEQ.

func RecencyAtEQ added in v1.1.2

func RecencyAtEQ(v int64) predicate.StorageLocation

RecencyAtEQ applies the EQ predicate on the "recencyAt" field.

func RecencyAtGT added in v1.1.2

func RecencyAtGT(v int64) predicate.StorageLocation

RecencyAtGT applies the GT predicate on the "recencyAt" field.

func RecencyAtGTE added in v1.1.2

func RecencyAtGTE(v int64) predicate.StorageLocation

RecencyAtGTE applies the GTE predicate on the "recencyAt" field.

func RecencyAtIn added in v1.1.2

func RecencyAtIn(vs ...int64) predicate.StorageLocation

RecencyAtIn applies the In predicate on the "recencyAt" field.

func RecencyAtLT added in v1.1.2

func RecencyAtLT(v int64) predicate.StorageLocation

RecencyAtLT applies the LT predicate on the "recencyAt" field.

func RecencyAtLTE added in v1.1.2

func RecencyAtLTE(v int64) predicate.StorageLocation

RecencyAtLTE applies the LTE predicate on the "recencyAt" field.

func RecencyAtNEQ added in v1.1.2

func RecencyAtNEQ(v int64) predicate.StorageLocation

RecencyAtNEQ applies the NEQ predicate on the "recencyAt" field.

func RecencyAtNotIn added in v1.1.2

func RecencyAtNotIn(vs ...int64) predicate.StorageLocation

RecencyAtNotIn applies the NotIn predicate on the "recencyAt" field.

func SizeBytes

func SizeBytes(v int64) predicate.StorageLocation

SizeBytes applies equality check predicate on the "sizeBytes" field. It's identical to SizeBytesEQ.

func SizeBytesEQ

func SizeBytesEQ(v int64) predicate.StorageLocation

SizeBytesEQ applies the EQ predicate on the "sizeBytes" field.

func SizeBytesGT

func SizeBytesGT(v int64) predicate.StorageLocation

SizeBytesGT applies the GT predicate on the "sizeBytes" field.

func SizeBytesGTE

func SizeBytesGTE(v int64) predicate.StorageLocation

SizeBytesGTE applies the GTE predicate on the "sizeBytes" field.

func SizeBytesIn

func SizeBytesIn(vs ...int64) predicate.StorageLocation

SizeBytesIn applies the In predicate on the "sizeBytes" field.

func SizeBytesIsNil

func SizeBytesIsNil() predicate.StorageLocation

SizeBytesIsNil applies the IsNil predicate on the "sizeBytes" field.

func SizeBytesLT

func SizeBytesLT(v int64) predicate.StorageLocation

SizeBytesLT applies the LT predicate on the "sizeBytes" field.

func SizeBytesLTE

func SizeBytesLTE(v int64) predicate.StorageLocation

SizeBytesLTE applies the LTE predicate on the "sizeBytes" field.

func SizeBytesNEQ

func SizeBytesNEQ(v int64) predicate.StorageLocation

SizeBytesNEQ applies the NEQ predicate on the "sizeBytes" field.

func SizeBytesNotIn

func SizeBytesNotIn(vs ...int64) predicate.StorageLocation

SizeBytesNotIn applies the NotIn predicate on the "sizeBytes" field.

func SizeBytesNotNil

func SizeBytesNotNil() predicate.StorageLocation

SizeBytesNotNil applies the NotNil predicate on the "sizeBytes" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the StorageLocation queries.

func ByCacheEntries

func ByCacheEntries(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCacheEntries orders the results by cacheEntries terms.

func ByCacheEntriesCount

func ByCacheEntriesCount(opts ...sql.OrderTermOption) OrderOption

ByCacheEntriesCount orders the results by cacheEntries count.

func ByDeletionRequestedAt

func ByDeletionRequestedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletionRequestedAt orders the results by the deletionRequestedAt 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 ByLastDownloadedAt

func ByLastDownloadedAt(opts ...sql.OrderTermOption) OrderOption

ByLastDownloadedAt orders the results by the lastDownloadedAt field.

func ByLeaseVersion

func ByLeaseVersion(opts ...sql.OrderTermOption) OrderOption

ByLeaseVersion orders the results by the leaseVersion field.

func ByMaterializationUnsupportedAt

func ByMaterializationUnsupportedAt(opts ...sql.OrderTermOption) OrderOption

ByMaterializationUnsupportedAt orders the results by the materializationUnsupportedAt field.

func ByMergeLeaseExpiresAt

func ByMergeLeaseExpiresAt(opts ...sql.OrderTermOption) OrderOption

ByMergeLeaseExpiresAt orders the results by the mergeLeaseExpiresAt field.

func ByMergeLeaseToken

func ByMergeLeaseToken(opts ...sql.OrderTermOption) OrderOption

ByMergeLeaseToken orders the results by the mergeLeaseToken field.

func ByMergeStartedAt

func ByMergeStartedAt(opts ...sql.OrderTermOption) OrderOption

ByMergeStartedAt orders the results by the mergeStartedAt field.

func ByMergedAt

func ByMergedAt(opts ...sql.OrderTermOption) OrderOption

ByMergedAt orders the results by the mergedAt field.

func ByPartCount

func ByPartCount(opts ...sql.OrderTermOption) OrderOption

ByPartCount orders the results by the partCount field.

func ByPartsDeletedAt

func ByPartsDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByPartsDeletedAt orders the results by the partsDeletedAt field.

func ByReaderLeases

func ByReaderLeases(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByReaderLeases orders the results by readerLeases terms.

func ByReaderLeasesCount

func ByReaderLeasesCount(opts ...sql.OrderTermOption) OrderOption

ByReaderLeasesCount orders the results by readerLeases count.

func ByRecencyAt added in v1.1.2

func ByRecencyAt(opts ...sql.OrderTermOption) OrderOption

ByRecencyAt orders the results by the recencyAt field.

func BySizeBytes

func BySizeBytes(opts ...sql.OrderTermOption) OrderOption

BySizeBytes orders the results by the sizeBytes field.

Jump to

Keyboard shortcuts

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