narfile

package
v0.10.0-rc15 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the narfile type in the database.
	Label = "nar_file"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldHash holds the string denoting the hash field in the database.
	FieldHash = "hash"
	// FieldCompression holds the string denoting the compression field in the database.
	FieldCompression = "compression"
	// FieldFileSize holds the string denoting the file_size field in the database.
	FieldFileSize = "file_size"
	// FieldQuery holds the string denoting the query field in the database.
	FieldQuery = "query"
	// FieldTotalChunks holds the string denoting the total_chunks field in the database.
	FieldTotalChunks = "total_chunks"
	// FieldChunkingStartedAt holds the string denoting the chunking_started_at field in the database.
	FieldChunkingStartedAt = "chunking_started_at"
	// FieldVerifiedAt holds the string denoting the verified_at field in the database.
	FieldVerifiedAt = "verified_at"
	// FieldBytesStoredAt holds the string denoting the bytes_stored_at field in the database.
	FieldBytesStoredAt = "bytes_stored_at"
	// FieldDechunkResidueFlaggedAt holds the string denoting the dechunk_residue_flagged_at field in the database.
	FieldDechunkResidueFlaggedAt = "dechunk_residue_flagged_at"
	// FieldLastAccessedAt holds the string denoting the last_accessed_at field in the database.
	FieldLastAccessedAt = "last_accessed_at"
	// EdgeNarInfoNarFiles holds the string denoting the nar_info_nar_files edge name in mutations.
	EdgeNarInfoNarFiles = "nar_info_nar_files"
	// EdgeChunkLinks holds the string denoting the chunk_links edge name in mutations.
	EdgeChunkLinks = "chunk_links"
	// Table holds the table name of the narfile in the database.
	Table = "nar_files"
	// NarInfoNarFilesTable is the table that holds the nar_info_nar_files relation/edge.
	NarInfoNarFilesTable = "narinfo_nar_files"
	// NarInfoNarFilesInverseTable is the table name for the NarInfoNarFile entity.
	// It exists in this package in order to avoid circular dependency with the "narinfonarfile" package.
	NarInfoNarFilesInverseTable = "narinfo_nar_files"
	// NarInfoNarFilesColumn is the table column denoting the nar_info_nar_files relation/edge.
	NarInfoNarFilesColumn = "nar_file_id"
	// ChunkLinksTable is the table that holds the chunk_links relation/edge.
	ChunkLinksTable = "nar_file_chunks"
	// ChunkLinksInverseTable is the table name for the NarFileChunk entity.
	// It exists in this package in order to avoid circular dependency with the "narfilechunk" package.
	ChunkLinksInverseTable = "nar_file_chunks"
	// ChunkLinksColumn is the table column denoting the chunk_links relation/edge.
	ChunkLinksColumn = "nar_file_id"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// HashValidator is a validator for the "hash" field. It is called by the builders before save.
	HashValidator func(string) error
	// DefaultCompression holds the default value on creation for the "compression" field.
	DefaultCompression string
	// DefaultQuery holds the default value on creation for the "query" field.
	DefaultQuery string
	// DefaultTotalChunks holds the default value on creation for the "total_chunks" field.
	DefaultTotalChunks int64
	// DefaultLastAccessedAt holds the default value on creation for the "last_accessed_at" field.
	DefaultLastAccessedAt func() time.Time
)

Columns holds all SQL columns for narfile fields.

Functions

func And

func And(predicates ...predicate.NarFile) predicate.NarFile

And groups predicates with the AND operator between them.

func BytesStoredAt

func BytesStoredAt(v time.Time) predicate.NarFile

BytesStoredAt applies equality check predicate on the "bytes_stored_at" field. It's identical to BytesStoredAtEQ.

func BytesStoredAtEQ

func BytesStoredAtEQ(v time.Time) predicate.NarFile

BytesStoredAtEQ applies the EQ predicate on the "bytes_stored_at" field.

func BytesStoredAtGT

func BytesStoredAtGT(v time.Time) predicate.NarFile

BytesStoredAtGT applies the GT predicate on the "bytes_stored_at" field.

func BytesStoredAtGTE

func BytesStoredAtGTE(v time.Time) predicate.NarFile

BytesStoredAtGTE applies the GTE predicate on the "bytes_stored_at" field.

func BytesStoredAtIn

func BytesStoredAtIn(vs ...time.Time) predicate.NarFile

BytesStoredAtIn applies the In predicate on the "bytes_stored_at" field.

func BytesStoredAtIsNil

func BytesStoredAtIsNil() predicate.NarFile

BytesStoredAtIsNil applies the IsNil predicate on the "bytes_stored_at" field.

func BytesStoredAtLT

func BytesStoredAtLT(v time.Time) predicate.NarFile

BytesStoredAtLT applies the LT predicate on the "bytes_stored_at" field.

func BytesStoredAtLTE

func BytesStoredAtLTE(v time.Time) predicate.NarFile

BytesStoredAtLTE applies the LTE predicate on the "bytes_stored_at" field.

func BytesStoredAtNEQ

func BytesStoredAtNEQ(v time.Time) predicate.NarFile

BytesStoredAtNEQ applies the NEQ predicate on the "bytes_stored_at" field.

func BytesStoredAtNotIn

func BytesStoredAtNotIn(vs ...time.Time) predicate.NarFile

BytesStoredAtNotIn applies the NotIn predicate on the "bytes_stored_at" field.

func BytesStoredAtNotNil

func BytesStoredAtNotNil() predicate.NarFile

BytesStoredAtNotNil applies the NotNil predicate on the "bytes_stored_at" field.

func ChunkingStartedAt

func ChunkingStartedAt(v time.Time) predicate.NarFile

ChunkingStartedAt applies equality check predicate on the "chunking_started_at" field. It's identical to ChunkingStartedAtEQ.

func ChunkingStartedAtEQ

func ChunkingStartedAtEQ(v time.Time) predicate.NarFile

ChunkingStartedAtEQ applies the EQ predicate on the "chunking_started_at" field.

func ChunkingStartedAtGT

func ChunkingStartedAtGT(v time.Time) predicate.NarFile

ChunkingStartedAtGT applies the GT predicate on the "chunking_started_at" field.

func ChunkingStartedAtGTE

func ChunkingStartedAtGTE(v time.Time) predicate.NarFile

ChunkingStartedAtGTE applies the GTE predicate on the "chunking_started_at" field.

func ChunkingStartedAtIn

func ChunkingStartedAtIn(vs ...time.Time) predicate.NarFile

ChunkingStartedAtIn applies the In predicate on the "chunking_started_at" field.

func ChunkingStartedAtIsNil

func ChunkingStartedAtIsNil() predicate.NarFile

ChunkingStartedAtIsNil applies the IsNil predicate on the "chunking_started_at" field.

func ChunkingStartedAtLT

func ChunkingStartedAtLT(v time.Time) predicate.NarFile

ChunkingStartedAtLT applies the LT predicate on the "chunking_started_at" field.

func ChunkingStartedAtLTE

func ChunkingStartedAtLTE(v time.Time) predicate.NarFile

ChunkingStartedAtLTE applies the LTE predicate on the "chunking_started_at" field.

func ChunkingStartedAtNEQ

func ChunkingStartedAtNEQ(v time.Time) predicate.NarFile

ChunkingStartedAtNEQ applies the NEQ predicate on the "chunking_started_at" field.

func ChunkingStartedAtNotIn

func ChunkingStartedAtNotIn(vs ...time.Time) predicate.NarFile

ChunkingStartedAtNotIn applies the NotIn predicate on the "chunking_started_at" field.

func ChunkingStartedAtNotNil

func ChunkingStartedAtNotNil() predicate.NarFile

ChunkingStartedAtNotNil applies the NotNil predicate on the "chunking_started_at" field.

func Compression

func Compression(v string) predicate.NarFile

Compression applies equality check predicate on the "compression" field. It's identical to CompressionEQ.

func CompressionContains

func CompressionContains(v string) predicate.NarFile

CompressionContains applies the Contains predicate on the "compression" field.

func CompressionContainsFold

func CompressionContainsFold(v string) predicate.NarFile

CompressionContainsFold applies the ContainsFold predicate on the "compression" field.

func CompressionEQ

func CompressionEQ(v string) predicate.NarFile

CompressionEQ applies the EQ predicate on the "compression" field.

func CompressionEqualFold

func CompressionEqualFold(v string) predicate.NarFile

CompressionEqualFold applies the EqualFold predicate on the "compression" field.

func CompressionGT

func CompressionGT(v string) predicate.NarFile

CompressionGT applies the GT predicate on the "compression" field.

func CompressionGTE

func CompressionGTE(v string) predicate.NarFile

CompressionGTE applies the GTE predicate on the "compression" field.

func CompressionHasPrefix

func CompressionHasPrefix(v string) predicate.NarFile

CompressionHasPrefix applies the HasPrefix predicate on the "compression" field.

func CompressionHasSuffix

func CompressionHasSuffix(v string) predicate.NarFile

CompressionHasSuffix applies the HasSuffix predicate on the "compression" field.

func CompressionIn

func CompressionIn(vs ...string) predicate.NarFile

CompressionIn applies the In predicate on the "compression" field.

func CompressionLT

func CompressionLT(v string) predicate.NarFile

CompressionLT applies the LT predicate on the "compression" field.

func CompressionLTE

func CompressionLTE(v string) predicate.NarFile

CompressionLTE applies the LTE predicate on the "compression" field.

func CompressionNEQ

func CompressionNEQ(v string) predicate.NarFile

CompressionNEQ applies the NEQ predicate on the "compression" field.

func CompressionNotIn

func CompressionNotIn(vs ...string) predicate.NarFile

CompressionNotIn applies the NotIn predicate on the "compression" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.NarFile

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.NarFile

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.NarFile

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.NarFile

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

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.NarFile

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.NarFile

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.NarFile

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.NarFile

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

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.NarFile

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

func DechunkResidueFlaggedAt

func DechunkResidueFlaggedAt(v time.Time) predicate.NarFile

DechunkResidueFlaggedAt applies equality check predicate on the "dechunk_residue_flagged_at" field. It's identical to DechunkResidueFlaggedAtEQ.

func DechunkResidueFlaggedAtEQ

func DechunkResidueFlaggedAtEQ(v time.Time) predicate.NarFile

DechunkResidueFlaggedAtEQ applies the EQ predicate on the "dechunk_residue_flagged_at" field.

func DechunkResidueFlaggedAtGT

func DechunkResidueFlaggedAtGT(v time.Time) predicate.NarFile

DechunkResidueFlaggedAtGT applies the GT predicate on the "dechunk_residue_flagged_at" field.

func DechunkResidueFlaggedAtGTE

func DechunkResidueFlaggedAtGTE(v time.Time) predicate.NarFile

DechunkResidueFlaggedAtGTE applies the GTE predicate on the "dechunk_residue_flagged_at" field.

func DechunkResidueFlaggedAtIn

func DechunkResidueFlaggedAtIn(vs ...time.Time) predicate.NarFile

DechunkResidueFlaggedAtIn applies the In predicate on the "dechunk_residue_flagged_at" field.

func DechunkResidueFlaggedAtIsNil

func DechunkResidueFlaggedAtIsNil() predicate.NarFile

DechunkResidueFlaggedAtIsNil applies the IsNil predicate on the "dechunk_residue_flagged_at" field.

func DechunkResidueFlaggedAtLT

func DechunkResidueFlaggedAtLT(v time.Time) predicate.NarFile

DechunkResidueFlaggedAtLT applies the LT predicate on the "dechunk_residue_flagged_at" field.

func DechunkResidueFlaggedAtLTE

func DechunkResidueFlaggedAtLTE(v time.Time) predicate.NarFile

DechunkResidueFlaggedAtLTE applies the LTE predicate on the "dechunk_residue_flagged_at" field.

func DechunkResidueFlaggedAtNEQ

func DechunkResidueFlaggedAtNEQ(v time.Time) predicate.NarFile

DechunkResidueFlaggedAtNEQ applies the NEQ predicate on the "dechunk_residue_flagged_at" field.

func DechunkResidueFlaggedAtNotIn

func DechunkResidueFlaggedAtNotIn(vs ...time.Time) predicate.NarFile

DechunkResidueFlaggedAtNotIn applies the NotIn predicate on the "dechunk_residue_flagged_at" field.

func DechunkResidueFlaggedAtNotNil

func DechunkResidueFlaggedAtNotNil() predicate.NarFile

DechunkResidueFlaggedAtNotNil applies the NotNil predicate on the "dechunk_residue_flagged_at" field.

func FileSize

func FileSize(v uint64) predicate.NarFile

FileSize applies equality check predicate on the "file_size" field. It's identical to FileSizeEQ.

func FileSizeEQ

func FileSizeEQ(v uint64) predicate.NarFile

FileSizeEQ applies the EQ predicate on the "file_size" field.

func FileSizeGT

func FileSizeGT(v uint64) predicate.NarFile

FileSizeGT applies the GT predicate on the "file_size" field.

func FileSizeGTE

func FileSizeGTE(v uint64) predicate.NarFile

FileSizeGTE applies the GTE predicate on the "file_size" field.

func FileSizeIn

func FileSizeIn(vs ...uint64) predicate.NarFile

FileSizeIn applies the In predicate on the "file_size" field.

func FileSizeLT

func FileSizeLT(v uint64) predicate.NarFile

FileSizeLT applies the LT predicate on the "file_size" field.

func FileSizeLTE

func FileSizeLTE(v uint64) predicate.NarFile

FileSizeLTE applies the LTE predicate on the "file_size" field.

func FileSizeNEQ

func FileSizeNEQ(v uint64) predicate.NarFile

FileSizeNEQ applies the NEQ predicate on the "file_size" field.

func FileSizeNotIn

func FileSizeNotIn(vs ...uint64) predicate.NarFile

FileSizeNotIn applies the NotIn predicate on the "file_size" field.

func HasChunkLinks() predicate.NarFile

HasChunkLinks applies the HasEdge predicate on the "chunk_links" edge.

func HasChunkLinksWith

func HasChunkLinksWith(preds ...predicate.NarFileChunk) predicate.NarFile

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

func HasNarInfoNarFiles

func HasNarInfoNarFiles() predicate.NarFile

HasNarInfoNarFiles applies the HasEdge predicate on the "nar_info_nar_files" edge.

func HasNarInfoNarFilesWith

func HasNarInfoNarFilesWith(preds ...predicate.NarInfoNarFile) predicate.NarFile

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

func Hash

func Hash(v string) predicate.NarFile

Hash applies equality check predicate on the "hash" field. It's identical to HashEQ.

func HashContains

func HashContains(v string) predicate.NarFile

HashContains applies the Contains predicate on the "hash" field.

func HashContainsFold

func HashContainsFold(v string) predicate.NarFile

HashContainsFold applies the ContainsFold predicate on the "hash" field.

func HashEQ

func HashEQ(v string) predicate.NarFile

HashEQ applies the EQ predicate on the "hash" field.

func HashEqualFold

func HashEqualFold(v string) predicate.NarFile

HashEqualFold applies the EqualFold predicate on the "hash" field.

func HashGT

func HashGT(v string) predicate.NarFile

HashGT applies the GT predicate on the "hash" field.

func HashGTE

func HashGTE(v string) predicate.NarFile

HashGTE applies the GTE predicate on the "hash" field.

func HashHasPrefix

func HashHasPrefix(v string) predicate.NarFile

HashHasPrefix applies the HasPrefix predicate on the "hash" field.

func HashHasSuffix

func HashHasSuffix(v string) predicate.NarFile

HashHasSuffix applies the HasSuffix predicate on the "hash" field.

func HashIn

func HashIn(vs ...string) predicate.NarFile

HashIn applies the In predicate on the "hash" field.

func HashLT

func HashLT(v string) predicate.NarFile

HashLT applies the LT predicate on the "hash" field.

func HashLTE

func HashLTE(v string) predicate.NarFile

HashLTE applies the LTE predicate on the "hash" field.

func HashNEQ

func HashNEQ(v string) predicate.NarFile

HashNEQ applies the NEQ predicate on the "hash" field.

func HashNotIn

func HashNotIn(vs ...string) predicate.NarFile

HashNotIn applies the NotIn predicate on the "hash" field.

func ID

func ID(id int) predicate.NarFile

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.NarFile

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.NarFile

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.NarFile

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.NarFile

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.NarFile

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.NarFile

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.NarFile

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.NarFile

IDNotIn applies the NotIn predicate on the ID field.

func LastAccessedAt

func LastAccessedAt(v time.Time) predicate.NarFile

LastAccessedAt applies equality check predicate on the "last_accessed_at" field. It's identical to LastAccessedAtEQ.

func LastAccessedAtEQ

func LastAccessedAtEQ(v time.Time) predicate.NarFile

LastAccessedAtEQ applies the EQ predicate on the "last_accessed_at" field.

func LastAccessedAtGT

func LastAccessedAtGT(v time.Time) predicate.NarFile

LastAccessedAtGT applies the GT predicate on the "last_accessed_at" field.

func LastAccessedAtGTE

func LastAccessedAtGTE(v time.Time) predicate.NarFile

LastAccessedAtGTE applies the GTE predicate on the "last_accessed_at" field.

func LastAccessedAtIn

func LastAccessedAtIn(vs ...time.Time) predicate.NarFile

LastAccessedAtIn applies the In predicate on the "last_accessed_at" field.

func LastAccessedAtIsNil

func LastAccessedAtIsNil() predicate.NarFile

LastAccessedAtIsNil applies the IsNil predicate on the "last_accessed_at" field.

func LastAccessedAtLT

func LastAccessedAtLT(v time.Time) predicate.NarFile

LastAccessedAtLT applies the LT predicate on the "last_accessed_at" field.

func LastAccessedAtLTE

func LastAccessedAtLTE(v time.Time) predicate.NarFile

LastAccessedAtLTE applies the LTE predicate on the "last_accessed_at" field.

func LastAccessedAtNEQ

func LastAccessedAtNEQ(v time.Time) predicate.NarFile

LastAccessedAtNEQ applies the NEQ predicate on the "last_accessed_at" field.

func LastAccessedAtNotIn

func LastAccessedAtNotIn(vs ...time.Time) predicate.NarFile

LastAccessedAtNotIn applies the NotIn predicate on the "last_accessed_at" field.

func LastAccessedAtNotNil

func LastAccessedAtNotNil() predicate.NarFile

LastAccessedAtNotNil applies the NotNil predicate on the "last_accessed_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.NarFile) predicate.NarFile

Or groups predicates with the OR operator between them.

func Query

func Query(v string) predicate.NarFile

Query applies equality check predicate on the "query" field. It's identical to QueryEQ.

func QueryContains

func QueryContains(v string) predicate.NarFile

QueryContains applies the Contains predicate on the "query" field.

func QueryContainsFold

func QueryContainsFold(v string) predicate.NarFile

QueryContainsFold applies the ContainsFold predicate on the "query" field.

func QueryEQ

func QueryEQ(v string) predicate.NarFile

QueryEQ applies the EQ predicate on the "query" field.

func QueryEqualFold

func QueryEqualFold(v string) predicate.NarFile

QueryEqualFold applies the EqualFold predicate on the "query" field.

func QueryGT

func QueryGT(v string) predicate.NarFile

QueryGT applies the GT predicate on the "query" field.

func QueryGTE

func QueryGTE(v string) predicate.NarFile

QueryGTE applies the GTE predicate on the "query" field.

func QueryHasPrefix

func QueryHasPrefix(v string) predicate.NarFile

QueryHasPrefix applies the HasPrefix predicate on the "query" field.

func QueryHasSuffix

func QueryHasSuffix(v string) predicate.NarFile

QueryHasSuffix applies the HasSuffix predicate on the "query" field.

func QueryIn

func QueryIn(vs ...string) predicate.NarFile

QueryIn applies the In predicate on the "query" field.

func QueryLT

func QueryLT(v string) predicate.NarFile

QueryLT applies the LT predicate on the "query" field.

func QueryLTE

func QueryLTE(v string) predicate.NarFile

QueryLTE applies the LTE predicate on the "query" field.

func QueryNEQ

func QueryNEQ(v string) predicate.NarFile

QueryNEQ applies the NEQ predicate on the "query" field.

func QueryNotIn

func QueryNotIn(vs ...string) predicate.NarFile

QueryNotIn applies the NotIn predicate on the "query" field.

func TotalChunks

func TotalChunks(v int64) predicate.NarFile

TotalChunks applies equality check predicate on the "total_chunks" field. It's identical to TotalChunksEQ.

func TotalChunksEQ

func TotalChunksEQ(v int64) predicate.NarFile

TotalChunksEQ applies the EQ predicate on the "total_chunks" field.

func TotalChunksGT

func TotalChunksGT(v int64) predicate.NarFile

TotalChunksGT applies the GT predicate on the "total_chunks" field.

func TotalChunksGTE

func TotalChunksGTE(v int64) predicate.NarFile

TotalChunksGTE applies the GTE predicate on the "total_chunks" field.

func TotalChunksIn

func TotalChunksIn(vs ...int64) predicate.NarFile

TotalChunksIn applies the In predicate on the "total_chunks" field.

func TotalChunksLT

func TotalChunksLT(v int64) predicate.NarFile

TotalChunksLT applies the LT predicate on the "total_chunks" field.

func TotalChunksLTE

func TotalChunksLTE(v int64) predicate.NarFile

TotalChunksLTE applies the LTE predicate on the "total_chunks" field.

func TotalChunksNEQ

func TotalChunksNEQ(v int64) predicate.NarFile

TotalChunksNEQ applies the NEQ predicate on the "total_chunks" field.

func TotalChunksNotIn

func TotalChunksNotIn(vs ...int64) predicate.NarFile

TotalChunksNotIn applies the NotIn predicate on the "total_chunks" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.NarFile

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.NarFile

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.NarFile

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.NarFile

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.NarFile

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.NarFile

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.NarFile

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.NarFile

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.NarFile

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.NarFile

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.NarFile

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VerifiedAt

func VerifiedAt(v time.Time) predicate.NarFile

VerifiedAt applies equality check predicate on the "verified_at" field. It's identical to VerifiedAtEQ.

func VerifiedAtEQ

func VerifiedAtEQ(v time.Time) predicate.NarFile

VerifiedAtEQ applies the EQ predicate on the "verified_at" field.

func VerifiedAtGT

func VerifiedAtGT(v time.Time) predicate.NarFile

VerifiedAtGT applies the GT predicate on the "verified_at" field.

func VerifiedAtGTE

func VerifiedAtGTE(v time.Time) predicate.NarFile

VerifiedAtGTE applies the GTE predicate on the "verified_at" field.

func VerifiedAtIn

func VerifiedAtIn(vs ...time.Time) predicate.NarFile

VerifiedAtIn applies the In predicate on the "verified_at" field.

func VerifiedAtIsNil

func VerifiedAtIsNil() predicate.NarFile

VerifiedAtIsNil applies the IsNil predicate on the "verified_at" field.

func VerifiedAtLT

func VerifiedAtLT(v time.Time) predicate.NarFile

VerifiedAtLT applies the LT predicate on the "verified_at" field.

func VerifiedAtLTE

func VerifiedAtLTE(v time.Time) predicate.NarFile

VerifiedAtLTE applies the LTE predicate on the "verified_at" field.

func VerifiedAtNEQ

func VerifiedAtNEQ(v time.Time) predicate.NarFile

VerifiedAtNEQ applies the NEQ predicate on the "verified_at" field.

func VerifiedAtNotIn

func VerifiedAtNotIn(vs ...time.Time) predicate.NarFile

VerifiedAtNotIn applies the NotIn predicate on the "verified_at" field.

func VerifiedAtNotNil

func VerifiedAtNotNil() predicate.NarFile

VerifiedAtNotNil applies the NotNil predicate on the "verified_at" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the NarFile queries.

func ByBytesStoredAt

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

ByBytesStoredAt orders the results by the bytes_stored_at field.

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

ByChunkLinks orders the results by chunk_links terms.

func ByChunkLinksCount

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

ByChunkLinksCount orders the results by chunk_links count.

func ByChunkingStartedAt

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

ByChunkingStartedAt orders the results by the chunking_started_at field.

func ByCompression

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

ByCompression orders the results by the compression field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDechunkResidueFlaggedAt

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

ByDechunkResidueFlaggedAt orders the results by the dechunk_residue_flagged_at field.

func ByFileSize

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

ByFileSize orders the results by the file_size field.

func ByHash

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

ByHash orders the results by the hash field.

func ByID

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

ByID orders the results by the id field.

func ByLastAccessedAt

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

ByLastAccessedAt orders the results by the last_accessed_at field.

func ByNarInfoNarFiles

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

ByNarInfoNarFiles orders the results by nar_info_nar_files terms.

func ByNarInfoNarFilesCount

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

ByNarInfoNarFilesCount orders the results by nar_info_nar_files count.

func ByQuery

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

ByQuery orders the results by the query field.

func ByTotalChunks

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

ByTotalChunks orders the results by the total_chunks field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByVerifiedAt

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

ByVerifiedAt orders the results by the verified_at field.

Jump to

Keyboard shortcuts

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