Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NarInfo) predicate.NarInfo
- func Ca(v string) predicate.NarInfo
- func CaContains(v string) predicate.NarInfo
- func CaContainsFold(v string) predicate.NarInfo
- func CaEQ(v string) predicate.NarInfo
- func CaEqualFold(v string) predicate.NarInfo
- func CaGT(v string) predicate.NarInfo
- func CaGTE(v string) predicate.NarInfo
- func CaHasPrefix(v string) predicate.NarInfo
- func CaHasSuffix(v string) predicate.NarInfo
- func CaIn(vs ...string) predicate.NarInfo
- func CaIsNil() predicate.NarInfo
- func CaLT(v string) predicate.NarInfo
- func CaLTE(v string) predicate.NarInfo
- func CaNEQ(v string) predicate.NarInfo
- func CaNotIn(vs ...string) predicate.NarInfo
- func CaNotNil() predicate.NarInfo
- func Compression(v string) predicate.NarInfo
- func CompressionContains(v string) predicate.NarInfo
- func CompressionContainsFold(v string) predicate.NarInfo
- func CompressionEQ(v string) predicate.NarInfo
- func CompressionEqualFold(v string) predicate.NarInfo
- func CompressionGT(v string) predicate.NarInfo
- func CompressionGTE(v string) predicate.NarInfo
- func CompressionHasPrefix(v string) predicate.NarInfo
- func CompressionHasSuffix(v string) predicate.NarInfo
- func CompressionIn(vs ...string) predicate.NarInfo
- func CompressionIsNil() predicate.NarInfo
- func CompressionLT(v string) predicate.NarInfo
- func CompressionLTE(v string) predicate.NarInfo
- func CompressionNEQ(v string) predicate.NarInfo
- func CompressionNotIn(vs ...string) predicate.NarInfo
- func CompressionNotNil() predicate.NarInfo
- func CreatedAt(v time.Time) predicate.NarInfo
- func CreatedAtEQ(v time.Time) predicate.NarInfo
- func CreatedAtGT(v time.Time) predicate.NarInfo
- func CreatedAtGTE(v time.Time) predicate.NarInfo
- func CreatedAtIn(vs ...time.Time) predicate.NarInfo
- func CreatedAtLT(v time.Time) predicate.NarInfo
- func CreatedAtLTE(v time.Time) predicate.NarInfo
- func CreatedAtNEQ(v time.Time) predicate.NarInfo
- func CreatedAtNotIn(vs ...time.Time) predicate.NarInfo
- func Deriver(v string) predicate.NarInfo
- func DeriverContains(v string) predicate.NarInfo
- func DeriverContainsFold(v string) predicate.NarInfo
- func DeriverEQ(v string) predicate.NarInfo
- func DeriverEqualFold(v string) predicate.NarInfo
- func DeriverGT(v string) predicate.NarInfo
- func DeriverGTE(v string) predicate.NarInfo
- func DeriverHasPrefix(v string) predicate.NarInfo
- func DeriverHasSuffix(v string) predicate.NarInfo
- func DeriverIn(vs ...string) predicate.NarInfo
- func DeriverIsNil() predicate.NarInfo
- func DeriverLT(v string) predicate.NarInfo
- func DeriverLTE(v string) predicate.NarInfo
- func DeriverNEQ(v string) predicate.NarInfo
- func DeriverNotIn(vs ...string) predicate.NarInfo
- func DeriverNotNil() predicate.NarInfo
- func FileHash(v string) predicate.NarInfo
- func FileHashContains(v string) predicate.NarInfo
- func FileHashContainsFold(v string) predicate.NarInfo
- func FileHashEQ(v string) predicate.NarInfo
- func FileHashEqualFold(v string) predicate.NarInfo
- func FileHashGT(v string) predicate.NarInfo
- func FileHashGTE(v string) predicate.NarInfo
- func FileHashHasPrefix(v string) predicate.NarInfo
- func FileHashHasSuffix(v string) predicate.NarInfo
- func FileHashIn(vs ...string) predicate.NarInfo
- func FileHashIsNil() predicate.NarInfo
- func FileHashLT(v string) predicate.NarInfo
- func FileHashLTE(v string) predicate.NarInfo
- func FileHashNEQ(v string) predicate.NarInfo
- func FileHashNotIn(vs ...string) predicate.NarInfo
- func FileHashNotNil() predicate.NarInfo
- func FileSize(v int64) predicate.NarInfo
- func FileSizeEQ(v int64) predicate.NarInfo
- func FileSizeGT(v int64) predicate.NarInfo
- func FileSizeGTE(v int64) predicate.NarInfo
- func FileSizeIn(vs ...int64) predicate.NarInfo
- func FileSizeIsNil() predicate.NarInfo
- func FileSizeLT(v int64) predicate.NarInfo
- func FileSizeLTE(v int64) predicate.NarInfo
- func FileSizeNEQ(v int64) predicate.NarInfo
- func FileSizeNotIn(vs ...int64) predicate.NarInfo
- func FileSizeNotNil() predicate.NarInfo
- func HasNarInfoNarFiles() predicate.NarInfo
- func HasNarInfoNarFilesWith(preds ...predicate.NarInfoNarFile) predicate.NarInfo
- func HasReferences() predicate.NarInfo
- func HasReferencesWith(preds ...predicate.NarInfoReference) predicate.NarInfo
- func HasSignatures() predicate.NarInfo
- func HasSignaturesWith(preds ...predicate.NarInfoSignature) predicate.NarInfo
- func Hash(v string) predicate.NarInfo
- func HashContains(v string) predicate.NarInfo
- func HashContainsFold(v string) predicate.NarInfo
- func HashEQ(v string) predicate.NarInfo
- func HashEqualFold(v string) predicate.NarInfo
- func HashGT(v string) predicate.NarInfo
- func HashGTE(v string) predicate.NarInfo
- func HashHasPrefix(v string) predicate.NarInfo
- func HashHasSuffix(v string) predicate.NarInfo
- func HashIn(vs ...string) predicate.NarInfo
- func HashLT(v string) predicate.NarInfo
- func HashLTE(v string) predicate.NarInfo
- func HashNEQ(v string) predicate.NarInfo
- func HashNotIn(vs ...string) predicate.NarInfo
- func ID(id int) predicate.NarInfo
- func IDEQ(id int) predicate.NarInfo
- func IDGT(id int) predicate.NarInfo
- func IDGTE(id int) predicate.NarInfo
- func IDIn(ids ...int) predicate.NarInfo
- func IDLT(id int) predicate.NarInfo
- func IDLTE(id int) predicate.NarInfo
- func IDNEQ(id int) predicate.NarInfo
- func IDNotIn(ids ...int) predicate.NarInfo
- func LastAccessedAt(v time.Time) predicate.NarInfo
- func LastAccessedAtEQ(v time.Time) predicate.NarInfo
- func LastAccessedAtGT(v time.Time) predicate.NarInfo
- func LastAccessedAtGTE(v time.Time) predicate.NarInfo
- func LastAccessedAtIn(vs ...time.Time) predicate.NarInfo
- func LastAccessedAtIsNil() predicate.NarInfo
- func LastAccessedAtLT(v time.Time) predicate.NarInfo
- func LastAccessedAtLTE(v time.Time) predicate.NarInfo
- func LastAccessedAtNEQ(v time.Time) predicate.NarInfo
- func LastAccessedAtNotIn(vs ...time.Time) predicate.NarInfo
- func LastAccessedAtNotNil() predicate.NarInfo
- func NarHash(v string) predicate.NarInfo
- func NarHashContains(v string) predicate.NarInfo
- func NarHashContainsFold(v string) predicate.NarInfo
- func NarHashEQ(v string) predicate.NarInfo
- func NarHashEqualFold(v string) predicate.NarInfo
- func NarHashGT(v string) predicate.NarInfo
- func NarHashGTE(v string) predicate.NarInfo
- func NarHashHasPrefix(v string) predicate.NarInfo
- func NarHashHasSuffix(v string) predicate.NarInfo
- func NarHashIn(vs ...string) predicate.NarInfo
- func NarHashIsNil() predicate.NarInfo
- func NarHashLT(v string) predicate.NarInfo
- func NarHashLTE(v string) predicate.NarInfo
- func NarHashNEQ(v string) predicate.NarInfo
- func NarHashNotIn(vs ...string) predicate.NarInfo
- func NarHashNotNil() predicate.NarInfo
- func NarSize(v int64) predicate.NarInfo
- func NarSizeEQ(v int64) predicate.NarInfo
- func NarSizeGT(v int64) predicate.NarInfo
- func NarSizeGTE(v int64) predicate.NarInfo
- func NarSizeIn(vs ...int64) predicate.NarInfo
- func NarSizeIsNil() predicate.NarInfo
- func NarSizeLT(v int64) predicate.NarInfo
- func NarSizeLTE(v int64) predicate.NarInfo
- func NarSizeNEQ(v int64) predicate.NarInfo
- func NarSizeNotIn(vs ...int64) predicate.NarInfo
- func NarSizeNotNil() predicate.NarInfo
- func Not(p predicate.NarInfo) predicate.NarInfo
- func Or(predicates ...predicate.NarInfo) predicate.NarInfo
- func StorePath(v string) predicate.NarInfo
- func StorePathContains(v string) predicate.NarInfo
- func StorePathContainsFold(v string) predicate.NarInfo
- func StorePathEQ(v string) predicate.NarInfo
- func StorePathEqualFold(v string) predicate.NarInfo
- func StorePathGT(v string) predicate.NarInfo
- func StorePathGTE(v string) predicate.NarInfo
- func StorePathHasPrefix(v string) predicate.NarInfo
- func StorePathHasSuffix(v string) predicate.NarInfo
- func StorePathIn(vs ...string) predicate.NarInfo
- func StorePathIsNil() predicate.NarInfo
- func StorePathLT(v string) predicate.NarInfo
- func StorePathLTE(v string) predicate.NarInfo
- func StorePathNEQ(v string) predicate.NarInfo
- func StorePathNotIn(vs ...string) predicate.NarInfo
- func StorePathNotNil() predicate.NarInfo
- func System(v string) predicate.NarInfo
- func SystemContains(v string) predicate.NarInfo
- func SystemContainsFold(v string) predicate.NarInfo
- func SystemEQ(v string) predicate.NarInfo
- func SystemEqualFold(v string) predicate.NarInfo
- func SystemGT(v string) predicate.NarInfo
- func SystemGTE(v string) predicate.NarInfo
- func SystemHasPrefix(v string) predicate.NarInfo
- func SystemHasSuffix(v string) predicate.NarInfo
- func SystemIn(vs ...string) predicate.NarInfo
- func SystemIsNil() predicate.NarInfo
- func SystemLT(v string) predicate.NarInfo
- func SystemLTE(v string) predicate.NarInfo
- func SystemNEQ(v string) predicate.NarInfo
- func SystemNotIn(vs ...string) predicate.NarInfo
- func SystemNotNil() predicate.NarInfo
- func URL(v string) predicate.NarInfo
- func URLContains(v string) predicate.NarInfo
- func URLContainsFold(v string) predicate.NarInfo
- func URLEQ(v string) predicate.NarInfo
- func URLEqualFold(v string) predicate.NarInfo
- func URLGT(v string) predicate.NarInfo
- func URLGTE(v string) predicate.NarInfo
- func URLHasPrefix(v string) predicate.NarInfo
- func URLHasSuffix(v string) predicate.NarInfo
- func URLIn(vs ...string) predicate.NarInfo
- func URLIsNil() predicate.NarInfo
- func URLLT(v string) predicate.NarInfo
- func URLLTE(v string) predicate.NarInfo
- func URLNEQ(v string) predicate.NarInfo
- func URLNotIn(vs ...string) predicate.NarInfo
- func URLNotNil() predicate.NarInfo
- func UpdatedAt(v time.Time) predicate.NarInfo
- func UpdatedAtEQ(v time.Time) predicate.NarInfo
- func UpdatedAtGT(v time.Time) predicate.NarInfo
- func UpdatedAtGTE(v time.Time) predicate.NarInfo
- func UpdatedAtIn(vs ...time.Time) predicate.NarInfo
- func UpdatedAtIsNil() predicate.NarInfo
- func UpdatedAtLT(v time.Time) predicate.NarInfo
- func UpdatedAtLTE(v time.Time) predicate.NarInfo
- func UpdatedAtNEQ(v time.Time) predicate.NarInfo
- func UpdatedAtNotIn(vs ...time.Time) predicate.NarInfo
- func UpdatedAtNotNil() predicate.NarInfo
- func UpstreamURL(v string) predicate.NarInfo
- func UpstreamURLContains(v string) predicate.NarInfo
- func UpstreamURLContainsFold(v string) predicate.NarInfo
- func UpstreamURLEQ(v string) predicate.NarInfo
- func UpstreamURLEqualFold(v string) predicate.NarInfo
- func UpstreamURLGT(v string) predicate.NarInfo
- func UpstreamURLGTE(v string) predicate.NarInfo
- func UpstreamURLHasPrefix(v string) predicate.NarInfo
- func UpstreamURLHasSuffix(v string) predicate.NarInfo
- func UpstreamURLIn(vs ...string) predicate.NarInfo
- func UpstreamURLIsNil() predicate.NarInfo
- func UpstreamURLLT(v string) predicate.NarInfo
- func UpstreamURLLTE(v string) predicate.NarInfo
- func UpstreamURLNEQ(v string) predicate.NarInfo
- func UpstreamURLNotIn(vs ...string) predicate.NarInfo
- func UpstreamURLNotNil() predicate.NarInfo
- func ValidColumn(column string) bool
- type OrderOption
- func ByCa(opts ...sql.OrderTermOption) OrderOption
- func ByCompression(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeriver(opts ...sql.OrderTermOption) OrderOption
- func ByFileHash(opts ...sql.OrderTermOption) OrderOption
- func ByFileSize(opts ...sql.OrderTermOption) OrderOption
- func ByHash(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastAccessedAt(opts ...sql.OrderTermOption) OrderOption
- func ByNarHash(opts ...sql.OrderTermOption) OrderOption
- func ByNarInfoNarFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNarInfoNarFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByNarSize(opts ...sql.OrderTermOption) OrderOption
- func ByReferences(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByReferencesCount(opts ...sql.OrderTermOption) OrderOption
- func BySignatures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySignaturesCount(opts ...sql.OrderTermOption) OrderOption
- func ByStorePath(opts ...sql.OrderTermOption) OrderOption
- func BySystem(opts ...sql.OrderTermOption) OrderOption
- func ByURL(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpstreamURL(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" // FieldUpstreamURL holds the string denoting the upstream_url field in the database. FieldUpstreamURL = "upstream_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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldHash, FieldStorePath, FieldURL, FieldUpstreamURL, FieldCompression, FieldFileHash, FieldFileSize, FieldNarHash, FieldNarSize, FieldDeriver, FieldSystem, FieldCa, FieldLastAccessedAt, }
Columns holds all SQL columns for narinfo fields.
Functions ¶
func CaContains ¶
CaContains applies the Contains predicate on the "ca" field.
func CaContainsFold ¶
CaContainsFold applies the ContainsFold predicate on the "ca" field.
func CaEqualFold ¶
CaEqualFold applies the EqualFold predicate on the "ca" field.
func CaHasPrefix ¶
CaHasPrefix applies the HasPrefix predicate on the "ca" field.
func CaHasSuffix ¶
CaHasSuffix applies the HasSuffix predicate on the "ca" field.
func Compression ¶
Compression applies equality check predicate on the "compression" field. It's identical to CompressionEQ.
func CompressionContains ¶
CompressionContains applies the Contains predicate on the "compression" field.
func CompressionContainsFold ¶
CompressionContainsFold applies the ContainsFold predicate on the "compression" field.
func CompressionEQ ¶
CompressionEQ applies the EQ predicate on the "compression" field.
func CompressionEqualFold ¶
CompressionEqualFold applies the EqualFold predicate on the "compression" field.
func CompressionGT ¶
CompressionGT applies the GT predicate on the "compression" field.
func CompressionGTE ¶
CompressionGTE applies the GTE predicate on the "compression" field.
func CompressionHasPrefix ¶
CompressionHasPrefix applies the HasPrefix predicate on the "compression" field.
func CompressionHasSuffix ¶
CompressionHasSuffix applies the HasSuffix predicate on the "compression" field.
func CompressionIn ¶
CompressionIn applies the In predicate on the "compression" field.
func CompressionIsNil ¶
CompressionIsNil applies the IsNil predicate on the "compression" field.
func CompressionLT ¶
CompressionLT applies the LT predicate on the "compression" field.
func CompressionLTE ¶
CompressionLTE applies the LTE predicate on the "compression" field.
func CompressionNEQ ¶
CompressionNEQ applies the NEQ predicate on the "compression" field.
func CompressionNotIn ¶
CompressionNotIn applies the NotIn predicate on the "compression" field.
func CompressionNotNil ¶
CompressionNotNil applies the NotNil predicate on the "compression" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Deriver ¶
Deriver applies equality check predicate on the "deriver" field. It's identical to DeriverEQ.
func DeriverContains ¶
DeriverContains applies the Contains predicate on the "deriver" field.
func DeriverContainsFold ¶
DeriverContainsFold applies the ContainsFold predicate on the "deriver" field.
func DeriverEqualFold ¶
DeriverEqualFold applies the EqualFold predicate on the "deriver" field.
func DeriverGTE ¶
DeriverGTE applies the GTE predicate on the "deriver" field.
func DeriverHasPrefix ¶
DeriverHasPrefix applies the HasPrefix predicate on the "deriver" field.
func DeriverHasSuffix ¶
DeriverHasSuffix applies the HasSuffix predicate on the "deriver" field.
func DeriverIsNil ¶
DeriverIsNil applies the IsNil predicate on the "deriver" field.
func DeriverLTE ¶
DeriverLTE applies the LTE predicate on the "deriver" field.
func DeriverNEQ ¶
DeriverNEQ applies the NEQ predicate on the "deriver" field.
func DeriverNotIn ¶
DeriverNotIn applies the NotIn predicate on the "deriver" field.
func DeriverNotNil ¶
DeriverNotNil applies the NotNil predicate on the "deriver" field.
func FileHash ¶
FileHash applies equality check predicate on the "file_hash" field. It's identical to FileHashEQ.
func FileHashContains ¶
FileHashContains applies the Contains predicate on the "file_hash" field.
func FileHashContainsFold ¶
FileHashContainsFold applies the ContainsFold predicate on the "file_hash" field.
func FileHashEQ ¶
FileHashEQ applies the EQ predicate on the "file_hash" field.
func FileHashEqualFold ¶
FileHashEqualFold applies the EqualFold predicate on the "file_hash" field.
func FileHashGT ¶
FileHashGT applies the GT predicate on the "file_hash" field.
func FileHashGTE ¶
FileHashGTE applies the GTE predicate on the "file_hash" field.
func FileHashHasPrefix ¶
FileHashHasPrefix applies the HasPrefix predicate on the "file_hash" field.
func FileHashHasSuffix ¶
FileHashHasSuffix applies the HasSuffix predicate on the "file_hash" field.
func FileHashIn ¶
FileHashIn applies the In predicate on the "file_hash" field.
func FileHashIsNil ¶
FileHashIsNil applies the IsNil predicate on the "file_hash" field.
func FileHashLT ¶
FileHashLT applies the LT predicate on the "file_hash" field.
func FileHashLTE ¶
FileHashLTE applies the LTE predicate on the "file_hash" field.
func FileHashNEQ ¶
FileHashNEQ applies the NEQ predicate on the "file_hash" field.
func FileHashNotIn ¶
FileHashNotIn applies the NotIn predicate on the "file_hash" field.
func FileHashNotNil ¶
FileHashNotNil applies the NotNil predicate on the "file_hash" field.
func FileSize ¶
FileSize applies equality check predicate on the "file_size" field. It's identical to FileSizeEQ.
func FileSizeEQ ¶
FileSizeEQ applies the EQ predicate on the "file_size" field.
func FileSizeGT ¶
FileSizeGT applies the GT predicate on the "file_size" field.
func FileSizeGTE ¶
FileSizeGTE applies the GTE predicate on the "file_size" field.
func FileSizeIn ¶
FileSizeIn applies the In predicate on the "file_size" field.
func FileSizeIsNil ¶
FileSizeIsNil applies the IsNil predicate on the "file_size" field.
func FileSizeLT ¶
FileSizeLT applies the LT predicate on the "file_size" field.
func FileSizeLTE ¶
FileSizeLTE applies the LTE predicate on the "file_size" field.
func FileSizeNEQ ¶
FileSizeNEQ applies the NEQ predicate on the "file_size" field.
func FileSizeNotIn ¶
FileSizeNotIn applies the NotIn predicate on the "file_size" field.
func FileSizeNotNil ¶
FileSizeNotNil applies the NotNil predicate on the "file_size" field.
func HasNarInfoNarFiles ¶
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 ¶
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 ¶
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 HashContains ¶
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEqualFold ¶
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashHasPrefix ¶
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func LastAccessedAt ¶
LastAccessedAt applies equality check predicate on the "last_accessed_at" field. It's identical to LastAccessedAtEQ.
func LastAccessedAtEQ ¶
LastAccessedAtEQ applies the EQ predicate on the "last_accessed_at" field.
func LastAccessedAtGT ¶
LastAccessedAtGT applies the GT predicate on the "last_accessed_at" field.
func LastAccessedAtGTE ¶
LastAccessedAtGTE applies the GTE predicate on the "last_accessed_at" field.
func LastAccessedAtIn ¶
LastAccessedAtIn applies the In predicate on the "last_accessed_at" field.
func LastAccessedAtIsNil ¶
LastAccessedAtIsNil applies the IsNil predicate on the "last_accessed_at" field.
func LastAccessedAtLT ¶
LastAccessedAtLT applies the LT predicate on the "last_accessed_at" field.
func LastAccessedAtLTE ¶
LastAccessedAtLTE applies the LTE predicate on the "last_accessed_at" field.
func LastAccessedAtNEQ ¶
LastAccessedAtNEQ applies the NEQ predicate on the "last_accessed_at" field.
func LastAccessedAtNotIn ¶
LastAccessedAtNotIn applies the NotIn predicate on the "last_accessed_at" field.
func LastAccessedAtNotNil ¶
LastAccessedAtNotNil applies the NotNil predicate on the "last_accessed_at" field.
func NarHash ¶
NarHash applies equality check predicate on the "nar_hash" field. It's identical to NarHashEQ.
func NarHashContains ¶
NarHashContains applies the Contains predicate on the "nar_hash" field.
func NarHashContainsFold ¶
NarHashContainsFold applies the ContainsFold predicate on the "nar_hash" field.
func NarHashEqualFold ¶
NarHashEqualFold applies the EqualFold predicate on the "nar_hash" field.
func NarHashGTE ¶
NarHashGTE applies the GTE predicate on the "nar_hash" field.
func NarHashHasPrefix ¶
NarHashHasPrefix applies the HasPrefix predicate on the "nar_hash" field.
func NarHashHasSuffix ¶
NarHashHasSuffix applies the HasSuffix predicate on the "nar_hash" field.
func NarHashIsNil ¶
NarHashIsNil applies the IsNil predicate on the "nar_hash" field.
func NarHashLTE ¶
NarHashLTE applies the LTE predicate on the "nar_hash" field.
func NarHashNEQ ¶
NarHashNEQ applies the NEQ predicate on the "nar_hash" field.
func NarHashNotIn ¶
NarHashNotIn applies the NotIn predicate on the "nar_hash" field.
func NarHashNotNil ¶
NarHashNotNil applies the NotNil predicate on the "nar_hash" field.
func NarSize ¶
NarSize applies equality check predicate on the "nar_size" field. It's identical to NarSizeEQ.
func NarSizeGTE ¶
NarSizeGTE applies the GTE predicate on the "nar_size" field.
func NarSizeIsNil ¶
NarSizeIsNil applies the IsNil predicate on the "nar_size" field.
func NarSizeLTE ¶
NarSizeLTE applies the LTE predicate on the "nar_size" field.
func NarSizeNEQ ¶
NarSizeNEQ applies the NEQ predicate on the "nar_size" field.
func NarSizeNotIn ¶
NarSizeNotIn applies the NotIn predicate on the "nar_size" field.
func NarSizeNotNil ¶
NarSizeNotNil applies the NotNil predicate on the "nar_size" field.
func StorePath ¶
StorePath applies equality check predicate on the "store_path" field. It's identical to StorePathEQ.
func StorePathContains ¶
StorePathContains applies the Contains predicate on the "store_path" field.
func StorePathContainsFold ¶
StorePathContainsFold applies the ContainsFold predicate on the "store_path" field.
func StorePathEQ ¶
StorePathEQ applies the EQ predicate on the "store_path" field.
func StorePathEqualFold ¶
StorePathEqualFold applies the EqualFold predicate on the "store_path" field.
func StorePathGT ¶
StorePathGT applies the GT predicate on the "store_path" field.
func StorePathGTE ¶
StorePathGTE applies the GTE predicate on the "store_path" field.
func StorePathHasPrefix ¶
StorePathHasPrefix applies the HasPrefix predicate on the "store_path" field.
func StorePathHasSuffix ¶
StorePathHasSuffix applies the HasSuffix predicate on the "store_path" field.
func StorePathIn ¶
StorePathIn applies the In predicate on the "store_path" field.
func StorePathIsNil ¶
StorePathIsNil applies the IsNil predicate on the "store_path" field.
func StorePathLT ¶
StorePathLT applies the LT predicate on the "store_path" field.
func StorePathLTE ¶
StorePathLTE applies the LTE predicate on the "store_path" field.
func StorePathNEQ ¶
StorePathNEQ applies the NEQ predicate on the "store_path" field.
func StorePathNotIn ¶
StorePathNotIn applies the NotIn predicate on the "store_path" field.
func StorePathNotNil ¶
StorePathNotNil applies the NotNil predicate on the "store_path" field.
func System ¶
System applies equality check predicate on the "system" field. It's identical to SystemEQ.
func SystemContains ¶
SystemContains applies the Contains predicate on the "system" field.
func SystemContainsFold ¶
SystemContainsFold applies the ContainsFold predicate on the "system" field.
func SystemEqualFold ¶
SystemEqualFold applies the EqualFold predicate on the "system" field.
func SystemHasPrefix ¶
SystemHasPrefix applies the HasPrefix predicate on the "system" field.
func SystemHasSuffix ¶
SystemHasSuffix applies the HasSuffix predicate on the "system" field.
func SystemIsNil ¶
SystemIsNil applies the IsNil predicate on the "system" field.
func SystemNotIn ¶
SystemNotIn applies the NotIn predicate on the "system" field.
func SystemNotNil ¶
SystemNotNil applies the NotNil predicate on the "system" field.
func URLContains ¶
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEqualFold ¶
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLHasPrefix ¶
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpstreamURL ¶
UpstreamURL applies equality check predicate on the "upstream_url" field. It's identical to UpstreamURLEQ.
func UpstreamURLContains ¶
UpstreamURLContains applies the Contains predicate on the "upstream_url" field.
func UpstreamURLContainsFold ¶
UpstreamURLContainsFold applies the ContainsFold predicate on the "upstream_url" field.
func UpstreamURLEQ ¶
UpstreamURLEQ applies the EQ predicate on the "upstream_url" field.
func UpstreamURLEqualFold ¶
UpstreamURLEqualFold applies the EqualFold predicate on the "upstream_url" field.
func UpstreamURLGT ¶
UpstreamURLGT applies the GT predicate on the "upstream_url" field.
func UpstreamURLGTE ¶
UpstreamURLGTE applies the GTE predicate on the "upstream_url" field.
func UpstreamURLHasPrefix ¶
UpstreamURLHasPrefix applies the HasPrefix predicate on the "upstream_url" field.
func UpstreamURLHasSuffix ¶
UpstreamURLHasSuffix applies the HasSuffix predicate on the "upstream_url" field.
func UpstreamURLIn ¶
UpstreamURLIn applies the In predicate on the "upstream_url" field.
func UpstreamURLIsNil ¶
UpstreamURLIsNil applies the IsNil predicate on the "upstream_url" field.
func UpstreamURLLT ¶
UpstreamURLLT applies the LT predicate on the "upstream_url" field.
func UpstreamURLLTE ¶
UpstreamURLLTE applies the LTE predicate on the "upstream_url" field.
func UpstreamURLNEQ ¶
UpstreamURLNEQ applies the NEQ predicate on the "upstream_url" field.
func UpstreamURLNotIn ¶
UpstreamURLNotIn applies the NotIn predicate on the "upstream_url" field.
func UpstreamURLNotNil ¶
UpstreamURLNotNil applies the NotNil predicate on the "upstream_url" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.
func ByUpstreamURL ¶
func ByUpstreamURL(opts ...sql.OrderTermOption) OrderOption
ByUpstreamURL orders the results by the upstream_url field.