narinfo

package
v0.10.0-rc9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the narinfo type in the database.
	Label = "nar_info"
	// 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"
	// FieldStorePath holds the string denoting the store_path field in the database.
	FieldStorePath = "store_path"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldCompression holds the string denoting the compression field in the database.
	FieldCompression = "compression"
	// FieldFileHash holds the string denoting the file_hash field in the database.
	FieldFileHash = "file_hash"
	// FieldFileSize holds the string denoting the file_size field in the database.
	FieldFileSize = "file_size"
	// FieldNarHash holds the string denoting the nar_hash field in the database.
	FieldNarHash = "nar_hash"
	// FieldNarSize holds the string denoting the nar_size field in the database.
	FieldNarSize = "nar_size"
	// FieldDeriver holds the string denoting the deriver field in the database.
	FieldDeriver = "deriver"
	// FieldSystem holds the string denoting the system field in the database.
	FieldSystem = "system"
	// FieldCa holds the string denoting the ca field in the database.
	FieldCa = "ca"
	// FieldLastAccessedAt holds the string denoting the last_accessed_at field in the database.
	FieldLastAccessedAt = "last_accessed_at"
	// EdgeReferences holds the string denoting the references edge name in mutations.
	EdgeReferences = "references"
	// EdgeSignatures holds the string denoting the signatures edge name in mutations.
	EdgeSignatures = "signatures"
	// EdgeNarInfoNarFiles holds the string denoting the nar_info_nar_files edge name in mutations.
	EdgeNarInfoNarFiles = "nar_info_nar_files"
	// Table holds the table name of the narinfo in the database.
	Table = "narinfos"
	// ReferencesTable is the table that holds the references relation/edge.
	ReferencesTable = "narinfo_references"
	// ReferencesInverseTable is the table name for the NarInfoReference entity.
	// It exists in this package in order to avoid circular dependency with the "narinforeference" package.
	ReferencesInverseTable = "narinfo_references"
	// ReferencesColumn is the table column denoting the references relation/edge.
	ReferencesColumn = "narinfo_id"
	// SignaturesTable is the table that holds the signatures relation/edge.
	SignaturesTable = "narinfo_signatures"
	// SignaturesInverseTable is the table name for the NarInfoSignature entity.
	// It exists in this package in order to avoid circular dependency with the "narinfosignature" package.
	SignaturesInverseTable = "narinfo_signatures"
	// SignaturesColumn is the table column denoting the signatures relation/edge.
	SignaturesColumn = "narinfo_id"
	// 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 = "narinfo_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
	// DefaultLastAccessedAt holds the default value on creation for the "last_accessed_at" field.
	DefaultLastAccessedAt func() time.Time
)

Columns holds all SQL columns for narinfo fields.

Functions

func And

func And(predicates ...predicate.NarInfo) predicate.NarInfo

And groups predicates with the AND operator between them.

func Ca

func Ca(v string) predicate.NarInfo

Ca applies equality check predicate on the "ca" field. It's identical to CaEQ.

func CaContains

func CaContains(v string) predicate.NarInfo

CaContains applies the Contains predicate on the "ca" field.

func CaContainsFold

func CaContainsFold(v string) predicate.NarInfo

CaContainsFold applies the ContainsFold predicate on the "ca" field.

func CaEQ

func CaEQ(v string) predicate.NarInfo

CaEQ applies the EQ predicate on the "ca" field.

func CaEqualFold

func CaEqualFold(v string) predicate.NarInfo

CaEqualFold applies the EqualFold predicate on the "ca" field.

func CaGT

func CaGT(v string) predicate.NarInfo

CaGT applies the GT predicate on the "ca" field.

func CaGTE

func CaGTE(v string) predicate.NarInfo

CaGTE applies the GTE predicate on the "ca" field.

func CaHasPrefix

func CaHasPrefix(v string) predicate.NarInfo

CaHasPrefix applies the HasPrefix predicate on the "ca" field.

func CaHasSuffix

func CaHasSuffix(v string) predicate.NarInfo

CaHasSuffix applies the HasSuffix predicate on the "ca" field.

func CaIn

func CaIn(vs ...string) predicate.NarInfo

CaIn applies the In predicate on the "ca" field.

func CaIsNil

func CaIsNil() predicate.NarInfo

CaIsNil applies the IsNil predicate on the "ca" field.

func CaLT

func CaLT(v string) predicate.NarInfo

CaLT applies the LT predicate on the "ca" field.

func CaLTE

func CaLTE(v string) predicate.NarInfo

CaLTE applies the LTE predicate on the "ca" field.

func CaNEQ

func CaNEQ(v string) predicate.NarInfo

CaNEQ applies the NEQ predicate on the "ca" field.

func CaNotIn

func CaNotIn(vs ...string) predicate.NarInfo

CaNotIn applies the NotIn predicate on the "ca" field.

func CaNotNil

func CaNotNil() predicate.NarInfo

CaNotNil applies the NotNil predicate on the "ca" field.

func Compression

func Compression(v string) predicate.NarInfo

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

func CompressionContains

func CompressionContains(v string) predicate.NarInfo

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

func CompressionContainsFold

func CompressionContainsFold(v string) predicate.NarInfo

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

func CompressionEQ

func CompressionEQ(v string) predicate.NarInfo

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

func CompressionEqualFold

func CompressionEqualFold(v string) predicate.NarInfo

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

func CompressionGT

func CompressionGT(v string) predicate.NarInfo

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

func CompressionGTE

func CompressionGTE(v string) predicate.NarInfo

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

func CompressionHasPrefix

func CompressionHasPrefix(v string) predicate.NarInfo

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

func CompressionHasSuffix

func CompressionHasSuffix(v string) predicate.NarInfo

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

func CompressionIn

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

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

func CompressionIsNil

func CompressionIsNil() predicate.NarInfo

CompressionIsNil applies the IsNil predicate on the "compression" field.

func CompressionLT

func CompressionLT(v string) predicate.NarInfo

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

func CompressionLTE

func CompressionLTE(v string) predicate.NarInfo

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

func CompressionNEQ

func CompressionNEQ(v string) predicate.NarInfo

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

func CompressionNotIn

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

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

func CompressionNotNil

func CompressionNotNil() predicate.NarInfo

CompressionNotNil applies the NotNil predicate on the "compression" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.NarInfo

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.NarInfo

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.NarInfo

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.NarInfo

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.NarInfo

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.NarInfo

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.NarInfo

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

func CreatedAtNotIn

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

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

func Deriver

func Deriver(v string) predicate.NarInfo

Deriver applies equality check predicate on the "deriver" field. It's identical to DeriverEQ.

func DeriverContains

func DeriverContains(v string) predicate.NarInfo

DeriverContains applies the Contains predicate on the "deriver" field.

func DeriverContainsFold

func DeriverContainsFold(v string) predicate.NarInfo

DeriverContainsFold applies the ContainsFold predicate on the "deriver" field.

func DeriverEQ

func DeriverEQ(v string) predicate.NarInfo

DeriverEQ applies the EQ predicate on the "deriver" field.

func DeriverEqualFold

func DeriverEqualFold(v string) predicate.NarInfo

DeriverEqualFold applies the EqualFold predicate on the "deriver" field.

func DeriverGT

func DeriverGT(v string) predicate.NarInfo

DeriverGT applies the GT predicate on the "deriver" field.

func DeriverGTE

func DeriverGTE(v string) predicate.NarInfo

DeriverGTE applies the GTE predicate on the "deriver" field.

func DeriverHasPrefix

func DeriverHasPrefix(v string) predicate.NarInfo

DeriverHasPrefix applies the HasPrefix predicate on the "deriver" field.

func DeriverHasSuffix

func DeriverHasSuffix(v string) predicate.NarInfo

DeriverHasSuffix applies the HasSuffix predicate on the "deriver" field.

func DeriverIn

func DeriverIn(vs ...string) predicate.NarInfo

DeriverIn applies the In predicate on the "deriver" field.

func DeriverIsNil

func DeriverIsNil() predicate.NarInfo

DeriverIsNil applies the IsNil predicate on the "deriver" field.

func DeriverLT

func DeriverLT(v string) predicate.NarInfo

DeriverLT applies the LT predicate on the "deriver" field.

func DeriverLTE

func DeriverLTE(v string) predicate.NarInfo

DeriverLTE applies the LTE predicate on the "deriver" field.

func DeriverNEQ

func DeriverNEQ(v string) predicate.NarInfo

DeriverNEQ applies the NEQ predicate on the "deriver" field.

func DeriverNotIn

func DeriverNotIn(vs ...string) predicate.NarInfo

DeriverNotIn applies the NotIn predicate on the "deriver" field.

func DeriverNotNil

func DeriverNotNil() predicate.NarInfo

DeriverNotNil applies the NotNil predicate on the "deriver" field.

func FileHash

func FileHash(v string) predicate.NarInfo

FileHash applies equality check predicate on the "file_hash" field. It's identical to FileHashEQ.

func FileHashContains

func FileHashContains(v string) predicate.NarInfo

FileHashContains applies the Contains predicate on the "file_hash" field.

func FileHashContainsFold

func FileHashContainsFold(v string) predicate.NarInfo

FileHashContainsFold applies the ContainsFold predicate on the "file_hash" field.

func FileHashEQ

func FileHashEQ(v string) predicate.NarInfo

FileHashEQ applies the EQ predicate on the "file_hash" field.

func FileHashEqualFold

func FileHashEqualFold(v string) predicate.NarInfo

FileHashEqualFold applies the EqualFold predicate on the "file_hash" field.

func FileHashGT

func FileHashGT(v string) predicate.NarInfo

FileHashGT applies the GT predicate on the "file_hash" field.

func FileHashGTE

func FileHashGTE(v string) predicate.NarInfo

FileHashGTE applies the GTE predicate on the "file_hash" field.

func FileHashHasPrefix

func FileHashHasPrefix(v string) predicate.NarInfo

FileHashHasPrefix applies the HasPrefix predicate on the "file_hash" field.

func FileHashHasSuffix

func FileHashHasSuffix(v string) predicate.NarInfo

FileHashHasSuffix applies the HasSuffix predicate on the "file_hash" field.

func FileHashIn

func FileHashIn(vs ...string) predicate.NarInfo

FileHashIn applies the In predicate on the "file_hash" field.

func FileHashIsNil

func FileHashIsNil() predicate.NarInfo

FileHashIsNil applies the IsNil predicate on the "file_hash" field.

func FileHashLT

func FileHashLT(v string) predicate.NarInfo

FileHashLT applies the LT predicate on the "file_hash" field.

func FileHashLTE

func FileHashLTE(v string) predicate.NarInfo

FileHashLTE applies the LTE predicate on the "file_hash" field.

func FileHashNEQ

func FileHashNEQ(v string) predicate.NarInfo

FileHashNEQ applies the NEQ predicate on the "file_hash" field.

func FileHashNotIn

func FileHashNotIn(vs ...string) predicate.NarInfo

FileHashNotIn applies the NotIn predicate on the "file_hash" field.

func FileHashNotNil

func FileHashNotNil() predicate.NarInfo

FileHashNotNil applies the NotNil predicate on the "file_hash" field.

func FileSize

func FileSize(v int64) predicate.NarInfo

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

func FileSizeEQ

func FileSizeEQ(v int64) predicate.NarInfo

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

func FileSizeGT

func FileSizeGT(v int64) predicate.NarInfo

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

func FileSizeGTE

func FileSizeGTE(v int64) predicate.NarInfo

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

func FileSizeIn

func FileSizeIn(vs ...int64) predicate.NarInfo

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

func FileSizeIsNil

func FileSizeIsNil() predicate.NarInfo

FileSizeIsNil applies the IsNil predicate on the "file_size" field.

func FileSizeLT

func FileSizeLT(v int64) predicate.NarInfo

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

func FileSizeLTE

func FileSizeLTE(v int64) predicate.NarInfo

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

func FileSizeNEQ

func FileSizeNEQ(v int64) predicate.NarInfo

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

func FileSizeNotIn

func FileSizeNotIn(vs ...int64) predicate.NarInfo

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

func FileSizeNotNil

func FileSizeNotNil() predicate.NarInfo

FileSizeNotNil applies the NotNil predicate on the "file_size" field.

func HasNarInfoNarFiles

func HasNarInfoNarFiles() predicate.NarInfo

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

func HasNarInfoNarFilesWith

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

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

func HasReferences

func HasReferences() predicate.NarInfo

HasReferences applies the HasEdge predicate on the "references" edge.

func HasReferencesWith

func HasReferencesWith(preds ...predicate.NarInfoReference) predicate.NarInfo

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

func HasSignatures

func HasSignatures() predicate.NarInfo

HasSignatures applies the HasEdge predicate on the "signatures" edge.

func HasSignaturesWith

func HasSignaturesWith(preds ...predicate.NarInfoSignature) predicate.NarInfo

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

func Hash

func Hash(v string) predicate.NarInfo

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

func HashContains

func HashContains(v string) predicate.NarInfo

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

func HashContainsFold

func HashContainsFold(v string) predicate.NarInfo

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

func HashEQ

func HashEQ(v string) predicate.NarInfo

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

func HashEqualFold

func HashEqualFold(v string) predicate.NarInfo

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

func HashGT

func HashGT(v string) predicate.NarInfo

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

func HashGTE

func HashGTE(v string) predicate.NarInfo

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

func HashHasPrefix

func HashHasPrefix(v string) predicate.NarInfo

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

func HashHasSuffix

func HashHasSuffix(v string) predicate.NarInfo

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

func HashIn

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

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

func HashLT

func HashLT(v string) predicate.NarInfo

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

func HashLTE

func HashLTE(v string) predicate.NarInfo

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

func HashNEQ

func HashNEQ(v string) predicate.NarInfo

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

func HashNotIn

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

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

func ID

func ID(id int) predicate.NarInfo

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.NarInfo

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.NarInfo

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.NarInfo

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.NarInfo

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.NarInfo

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.NarInfo

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LastAccessedAt

func LastAccessedAt(v time.Time) predicate.NarInfo

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

func LastAccessedAtEQ

func LastAccessedAtEQ(v time.Time) predicate.NarInfo

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

func LastAccessedAtGT

func LastAccessedAtGT(v time.Time) predicate.NarInfo

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

func LastAccessedAtGTE

func LastAccessedAtGTE(v time.Time) predicate.NarInfo

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

func LastAccessedAtIn

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

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

func LastAccessedAtIsNil

func LastAccessedAtIsNil() predicate.NarInfo

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

func LastAccessedAtLT

func LastAccessedAtLT(v time.Time) predicate.NarInfo

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

func LastAccessedAtLTE

func LastAccessedAtLTE(v time.Time) predicate.NarInfo

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

func LastAccessedAtNEQ

func LastAccessedAtNEQ(v time.Time) predicate.NarInfo

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

func LastAccessedAtNotIn

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

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

func LastAccessedAtNotNil

func LastAccessedAtNotNil() predicate.NarInfo

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

func NarHash

func NarHash(v string) predicate.NarInfo

NarHash applies equality check predicate on the "nar_hash" field. It's identical to NarHashEQ.

func NarHashContains

func NarHashContains(v string) predicate.NarInfo

NarHashContains applies the Contains predicate on the "nar_hash" field.

func NarHashContainsFold

func NarHashContainsFold(v string) predicate.NarInfo

NarHashContainsFold applies the ContainsFold predicate on the "nar_hash" field.

func NarHashEQ

func NarHashEQ(v string) predicate.NarInfo

NarHashEQ applies the EQ predicate on the "nar_hash" field.

func NarHashEqualFold

func NarHashEqualFold(v string) predicate.NarInfo

NarHashEqualFold applies the EqualFold predicate on the "nar_hash" field.

func NarHashGT

func NarHashGT(v string) predicate.NarInfo

NarHashGT applies the GT predicate on the "nar_hash" field.

func NarHashGTE

func NarHashGTE(v string) predicate.NarInfo

NarHashGTE applies the GTE predicate on the "nar_hash" field.

func NarHashHasPrefix

func NarHashHasPrefix(v string) predicate.NarInfo

NarHashHasPrefix applies the HasPrefix predicate on the "nar_hash" field.

func NarHashHasSuffix

func NarHashHasSuffix(v string) predicate.NarInfo

NarHashHasSuffix applies the HasSuffix predicate on the "nar_hash" field.

func NarHashIn

func NarHashIn(vs ...string) predicate.NarInfo

NarHashIn applies the In predicate on the "nar_hash" field.

func NarHashIsNil

func NarHashIsNil() predicate.NarInfo

NarHashIsNil applies the IsNil predicate on the "nar_hash" field.

func NarHashLT

func NarHashLT(v string) predicate.NarInfo

NarHashLT applies the LT predicate on the "nar_hash" field.

func NarHashLTE

func NarHashLTE(v string) predicate.NarInfo

NarHashLTE applies the LTE predicate on the "nar_hash" field.

func NarHashNEQ

func NarHashNEQ(v string) predicate.NarInfo

NarHashNEQ applies the NEQ predicate on the "nar_hash" field.

func NarHashNotIn

func NarHashNotIn(vs ...string) predicate.NarInfo

NarHashNotIn applies the NotIn predicate on the "nar_hash" field.

func NarHashNotNil

func NarHashNotNil() predicate.NarInfo

NarHashNotNil applies the NotNil predicate on the "nar_hash" field.

func NarSize

func NarSize(v int64) predicate.NarInfo

NarSize applies equality check predicate on the "nar_size" field. It's identical to NarSizeEQ.

func NarSizeEQ

func NarSizeEQ(v int64) predicate.NarInfo

NarSizeEQ applies the EQ predicate on the "nar_size" field.

func NarSizeGT

func NarSizeGT(v int64) predicate.NarInfo

NarSizeGT applies the GT predicate on the "nar_size" field.

func NarSizeGTE

func NarSizeGTE(v int64) predicate.NarInfo

NarSizeGTE applies the GTE predicate on the "nar_size" field.

func NarSizeIn

func NarSizeIn(vs ...int64) predicate.NarInfo

NarSizeIn applies the In predicate on the "nar_size" field.

func NarSizeIsNil

func NarSizeIsNil() predicate.NarInfo

NarSizeIsNil applies the IsNil predicate on the "nar_size" field.

func NarSizeLT

func NarSizeLT(v int64) predicate.NarInfo

NarSizeLT applies the LT predicate on the "nar_size" field.

func NarSizeLTE

func NarSizeLTE(v int64) predicate.NarInfo

NarSizeLTE applies the LTE predicate on the "nar_size" field.

func NarSizeNEQ

func NarSizeNEQ(v int64) predicate.NarInfo

NarSizeNEQ applies the NEQ predicate on the "nar_size" field.

func NarSizeNotIn

func NarSizeNotIn(vs ...int64) predicate.NarInfo

NarSizeNotIn applies the NotIn predicate on the "nar_size" field.

func NarSizeNotNil

func NarSizeNotNil() predicate.NarInfo

NarSizeNotNil applies the NotNil predicate on the "nar_size" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.NarInfo) predicate.NarInfo

Or groups predicates with the OR operator between them.

func StorePath

func StorePath(v string) predicate.NarInfo

StorePath applies equality check predicate on the "store_path" field. It's identical to StorePathEQ.

func StorePathContains

func StorePathContains(v string) predicate.NarInfo

StorePathContains applies the Contains predicate on the "store_path" field.

func StorePathContainsFold

func StorePathContainsFold(v string) predicate.NarInfo

StorePathContainsFold applies the ContainsFold predicate on the "store_path" field.

func StorePathEQ

func StorePathEQ(v string) predicate.NarInfo

StorePathEQ applies the EQ predicate on the "store_path" field.

func StorePathEqualFold

func StorePathEqualFold(v string) predicate.NarInfo

StorePathEqualFold applies the EqualFold predicate on the "store_path" field.

func StorePathGT

func StorePathGT(v string) predicate.NarInfo

StorePathGT applies the GT predicate on the "store_path" field.

func StorePathGTE

func StorePathGTE(v string) predicate.NarInfo

StorePathGTE applies the GTE predicate on the "store_path" field.

func StorePathHasPrefix

func StorePathHasPrefix(v string) predicate.NarInfo

StorePathHasPrefix applies the HasPrefix predicate on the "store_path" field.

func StorePathHasSuffix

func StorePathHasSuffix(v string) predicate.NarInfo

StorePathHasSuffix applies the HasSuffix predicate on the "store_path" field.

func StorePathIn

func StorePathIn(vs ...string) predicate.NarInfo

StorePathIn applies the In predicate on the "store_path" field.

func StorePathIsNil

func StorePathIsNil() predicate.NarInfo

StorePathIsNil applies the IsNil predicate on the "store_path" field.

func StorePathLT

func StorePathLT(v string) predicate.NarInfo

StorePathLT applies the LT predicate on the "store_path" field.

func StorePathLTE

func StorePathLTE(v string) predicate.NarInfo

StorePathLTE applies the LTE predicate on the "store_path" field.

func StorePathNEQ

func StorePathNEQ(v string) predicate.NarInfo

StorePathNEQ applies the NEQ predicate on the "store_path" field.

func StorePathNotIn

func StorePathNotIn(vs ...string) predicate.NarInfo

StorePathNotIn applies the NotIn predicate on the "store_path" field.

func StorePathNotNil

func StorePathNotNil() predicate.NarInfo

StorePathNotNil applies the NotNil predicate on the "store_path" field.

func System

func System(v string) predicate.NarInfo

System applies equality check predicate on the "system" field. It's identical to SystemEQ.

func SystemContains

func SystemContains(v string) predicate.NarInfo

SystemContains applies the Contains predicate on the "system" field.

func SystemContainsFold

func SystemContainsFold(v string) predicate.NarInfo

SystemContainsFold applies the ContainsFold predicate on the "system" field.

func SystemEQ

func SystemEQ(v string) predicate.NarInfo

SystemEQ applies the EQ predicate on the "system" field.

func SystemEqualFold

func SystemEqualFold(v string) predicate.NarInfo

SystemEqualFold applies the EqualFold predicate on the "system" field.

func SystemGT

func SystemGT(v string) predicate.NarInfo

SystemGT applies the GT predicate on the "system" field.

func SystemGTE

func SystemGTE(v string) predicate.NarInfo

SystemGTE applies the GTE predicate on the "system" field.

func SystemHasPrefix

func SystemHasPrefix(v string) predicate.NarInfo

SystemHasPrefix applies the HasPrefix predicate on the "system" field.

func SystemHasSuffix

func SystemHasSuffix(v string) predicate.NarInfo

SystemHasSuffix applies the HasSuffix predicate on the "system" field.

func SystemIn

func SystemIn(vs ...string) predicate.NarInfo

SystemIn applies the In predicate on the "system" field.

func SystemIsNil

func SystemIsNil() predicate.NarInfo

SystemIsNil applies the IsNil predicate on the "system" field.

func SystemLT

func SystemLT(v string) predicate.NarInfo

SystemLT applies the LT predicate on the "system" field.

func SystemLTE

func SystemLTE(v string) predicate.NarInfo

SystemLTE applies the LTE predicate on the "system" field.

func SystemNEQ

func SystemNEQ(v string) predicate.NarInfo

SystemNEQ applies the NEQ predicate on the "system" field.

func SystemNotIn

func SystemNotIn(vs ...string) predicate.NarInfo

SystemNotIn applies the NotIn predicate on the "system" field.

func SystemNotNil

func SystemNotNil() predicate.NarInfo

SystemNotNil applies the NotNil predicate on the "system" field.

func URL

func URL(v string) predicate.NarInfo

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.NarInfo

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.NarInfo

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.NarInfo

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.NarInfo

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.NarInfo

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.NarInfo

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.NarInfo

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.NarInfo

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.NarInfo

URLIn applies the In predicate on the "url" field.

func URLIsNil

func URLIsNil() predicate.NarInfo

URLIsNil applies the IsNil predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.NarInfo

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.NarInfo

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.NarInfo

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.NarInfo

URLNotIn applies the NotIn predicate on the "url" field.

func URLNotNil

func URLNotNil() predicate.NarInfo

URLNotNil applies the NotNil predicate on the "url" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.NarInfo

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.NarInfo

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.NarInfo

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.NarInfo

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.NarInfo

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.NarInfo

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.NarInfo

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.NarInfo

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.NarInfo

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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the NarInfo queries.

func ByCa

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

ByCa orders the results by the ca 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 ByDeriver

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

ByDeriver orders the results by the deriver field.

func ByFileHash

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

ByFileHash orders the results by the file_hash 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 ByNarHash

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

ByNarHash orders the results by the nar_hash 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 ByNarSize

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

ByNarSize orders the results by the nar_size field.

func ByReferences

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

ByReferences orders the results by references terms.

func ByReferencesCount

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

ByReferencesCount orders the results by references count.

func BySignatures

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

BySignatures orders the results by signatures terms.

func BySignaturesCount

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

BySignaturesCount orders the results by signatures count.

func ByStorePath

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

ByStorePath orders the results by the store_path field.

func BySystem

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

BySystem orders the results by the system field.

func ByURL

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

ByURL orders the results by the url field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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