Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Node) predicate.Node
- func BuildDate(v time.Time) predicate.Node
- func BuildDateEQ(v time.Time) predicate.Node
- func BuildDateGT(v time.Time) predicate.Node
- func BuildDateGTE(v time.Time) predicate.Node
- func BuildDateIn(vs ...time.Time) predicate.Node
- func BuildDateLT(v time.Time) predicate.Node
- func BuildDateLTE(v time.Time) predicate.Node
- func BuildDateNEQ(v time.Time) predicate.Node
- func BuildDateNotIn(vs ...time.Time) predicate.Node
- func Comment(v string) predicate.Node
- func CommentContains(v string) predicate.Node
- func CommentContainsFold(v string) predicate.Node
- func CommentEQ(v string) predicate.Node
- func CommentEqualFold(v string) predicate.Node
- func CommentGT(v string) predicate.Node
- func CommentGTE(v string) predicate.Node
- func CommentHasPrefix(v string) predicate.Node
- func CommentHasSuffix(v string) predicate.Node
- func CommentIn(vs ...string) predicate.Node
- func CommentLT(v string) predicate.Node
- func CommentLTE(v string) predicate.Node
- func CommentNEQ(v string) predicate.Node
- func CommentNotIn(vs ...string) predicate.Node
- func Copyright(v string) predicate.Node
- func CopyrightContains(v string) predicate.Node
- func CopyrightContainsFold(v string) predicate.Node
- func CopyrightEQ(v string) predicate.Node
- func CopyrightEqualFold(v string) predicate.Node
- func CopyrightGT(v string) predicate.Node
- func CopyrightGTE(v string) predicate.Node
- func CopyrightHasPrefix(v string) predicate.Node
- func CopyrightHasSuffix(v string) predicate.Node
- func CopyrightIn(vs ...string) predicate.Node
- func CopyrightLT(v string) predicate.Node
- func CopyrightLTE(v string) predicate.Node
- func CopyrightNEQ(v string) predicate.Node
- func CopyrightNotIn(vs ...string) predicate.Node
- func Description(v string) predicate.Node
- func DescriptionContains(v string) predicate.Node
- func DescriptionContainsFold(v string) predicate.Node
- func DescriptionEQ(v string) predicate.Node
- func DescriptionEqualFold(v string) predicate.Node
- func DescriptionGT(v string) predicate.Node
- func DescriptionGTE(v string) predicate.Node
- func DescriptionHasPrefix(v string) predicate.Node
- func DescriptionHasSuffix(v string) predicate.Node
- func DescriptionIn(vs ...string) predicate.Node
- func DescriptionLT(v string) predicate.Node
- func DescriptionLTE(v string) predicate.Node
- func DescriptionNEQ(v string) predicate.Node
- func DescriptionNotIn(vs ...string) predicate.Node
- func FileName(v string) predicate.Node
- func FileNameContains(v string) predicate.Node
- func FileNameContainsFold(v string) predicate.Node
- func FileNameEQ(v string) predicate.Node
- func FileNameEqualFold(v string) predicate.Node
- func FileNameGT(v string) predicate.Node
- func FileNameGTE(v string) predicate.Node
- func FileNameHasPrefix(v string) predicate.Node
- func FileNameHasSuffix(v string) predicate.Node
- func FileNameIn(vs ...string) predicate.Node
- func FileNameLT(v string) predicate.Node
- func FileNameLTE(v string) predicate.Node
- func FileNameNEQ(v string) predicate.Node
- func FileNameNotIn(vs ...string) predicate.Node
- func HasAnnotations() predicate.Node
- func HasAnnotationsWith(preds ...predicate.Annotation) predicate.Node
- func HasDocuments() predicate.Node
- func HasDocumentsWith(preds ...predicate.Document) predicate.Node
- func HasEdgeTypes() predicate.Node
- func HasEdgeTypesWith(preds ...predicate.EdgeType) predicate.Node
- func HasExternalReferences() predicate.Node
- func HasExternalReferencesWith(preds ...predicate.ExternalReference) predicate.Node
- func HasHashes() predicate.Node
- func HasHashesWith(preds ...predicate.HashesEntry) predicate.Node
- func HasIdentifiers() predicate.Node
- func HasIdentifiersWith(preds ...predicate.IdentifiersEntry) predicate.Node
- func HasNodeLists() predicate.Node
- func HasNodeListsWith(preds ...predicate.NodeList) predicate.Node
- func HasNodes() predicate.Node
- func HasNodesWith(preds ...predicate.Node) predicate.Node
- func HasOriginators() predicate.Node
- func HasOriginatorsWith(preds ...predicate.Person) predicate.Node
- func HasPrimaryPurpose() predicate.Node
- func HasPrimaryPurposeWith(preds ...predicate.Purpose) predicate.Node
- func HasProperties() predicate.Node
- func HasPropertiesWith(preds ...predicate.Property) predicate.Node
- func HasSuppliers() predicate.Node
- func HasSuppliersWith(preds ...predicate.Person) predicate.Node
- func HasToNodes() predicate.Node
- func HasToNodesWith(preds ...predicate.Node) predicate.Node
- func ID(id uuid.UUID) predicate.Node
- func IDEQ(id uuid.UUID) predicate.Node
- func IDGT(id uuid.UUID) predicate.Node
- func IDGTE(id uuid.UUID) predicate.Node
- func IDIn(ids ...uuid.UUID) predicate.Node
- func IDLT(id uuid.UUID) predicate.Node
- func IDLTE(id uuid.UUID) predicate.Node
- func IDNEQ(id uuid.UUID) predicate.Node
- func IDNotIn(ids ...uuid.UUID) predicate.Node
- func LicenseComments(v string) predicate.Node
- func LicenseCommentsContains(v string) predicate.Node
- func LicenseCommentsContainsFold(v string) predicate.Node
- func LicenseCommentsEQ(v string) predicate.Node
- func LicenseCommentsEqualFold(v string) predicate.Node
- func LicenseCommentsGT(v string) predicate.Node
- func LicenseCommentsGTE(v string) predicate.Node
- func LicenseCommentsHasPrefix(v string) predicate.Node
- func LicenseCommentsHasSuffix(v string) predicate.Node
- func LicenseCommentsIn(vs ...string) predicate.Node
- func LicenseCommentsLT(v string) predicate.Node
- func LicenseCommentsLTE(v string) predicate.Node
- func LicenseCommentsNEQ(v string) predicate.Node
- func LicenseCommentsNotIn(vs ...string) predicate.Node
- func LicenseConcluded(v string) predicate.Node
- func LicenseConcludedContains(v string) predicate.Node
- func LicenseConcludedContainsFold(v string) predicate.Node
- func LicenseConcludedEQ(v string) predicate.Node
- func LicenseConcludedEqualFold(v string) predicate.Node
- func LicenseConcludedGT(v string) predicate.Node
- func LicenseConcludedGTE(v string) predicate.Node
- func LicenseConcludedHasPrefix(v string) predicate.Node
- func LicenseConcludedHasSuffix(v string) predicate.Node
- func LicenseConcludedIn(vs ...string) predicate.Node
- func LicenseConcludedLT(v string) predicate.Node
- func LicenseConcludedLTE(v string) predicate.Node
- func LicenseConcludedNEQ(v string) predicate.Node
- func LicenseConcludedNotIn(vs ...string) predicate.Node
- func Name(v string) predicate.Node
- func NameContains(v string) predicate.Node
- func NameContainsFold(v string) predicate.Node
- func NameEQ(v string) predicate.Node
- func NameEqualFold(v string) predicate.Node
- func NameGT(v string) predicate.Node
- func NameGTE(v string) predicate.Node
- func NameHasPrefix(v string) predicate.Node
- func NameHasSuffix(v string) predicate.Node
- func NameIn(vs ...string) predicate.Node
- func NameLT(v string) predicate.Node
- func NameLTE(v string) predicate.Node
- func NameNEQ(v string) predicate.Node
- func NameNotIn(vs ...string) predicate.Node
- func NativeID(v string) predicate.Node
- func NativeIDContains(v string) predicate.Node
- func NativeIDContainsFold(v string) predicate.Node
- func NativeIDEQ(v string) predicate.Node
- func NativeIDEqualFold(v string) predicate.Node
- func NativeIDGT(v string) predicate.Node
- func NativeIDGTE(v string) predicate.Node
- func NativeIDHasPrefix(v string) predicate.Node
- func NativeIDHasSuffix(v string) predicate.Node
- func NativeIDIn(vs ...string) predicate.Node
- func NativeIDLT(v string) predicate.Node
- func NativeIDLTE(v string) predicate.Node
- func NativeIDNEQ(v string) predicate.Node
- func NativeIDNotIn(vs ...string) predicate.Node
- func Not(p predicate.Node) predicate.Node
- func Or(predicates ...predicate.Node) predicate.Node
- func ProtoMessage(v *sbom.Node) predicate.Node
- func ProtoMessageEQ(v *sbom.Node) predicate.Node
- func ProtoMessageGT(v *sbom.Node) predicate.Node
- func ProtoMessageGTE(v *sbom.Node) predicate.Node
- func ProtoMessageIn(vs ...*sbom.Node) predicate.Node
- func ProtoMessageLT(v *sbom.Node) predicate.Node
- func ProtoMessageLTE(v *sbom.Node) predicate.Node
- func ProtoMessageNEQ(v *sbom.Node) predicate.Node
- func ProtoMessageNotIn(vs ...*sbom.Node) predicate.Node
- func ReleaseDate(v time.Time) predicate.Node
- func ReleaseDateEQ(v time.Time) predicate.Node
- func ReleaseDateGT(v time.Time) predicate.Node
- func ReleaseDateGTE(v time.Time) predicate.Node
- func ReleaseDateIn(vs ...time.Time) predicate.Node
- func ReleaseDateLT(v time.Time) predicate.Node
- func ReleaseDateLTE(v time.Time) predicate.Node
- func ReleaseDateNEQ(v time.Time) predicate.Node
- func ReleaseDateNotIn(vs ...time.Time) predicate.Node
- func SourceInfo(v string) predicate.Node
- func SourceInfoContains(v string) predicate.Node
- func SourceInfoContainsFold(v string) predicate.Node
- func SourceInfoEQ(v string) predicate.Node
- func SourceInfoEqualFold(v string) predicate.Node
- func SourceInfoGT(v string) predicate.Node
- func SourceInfoGTE(v string) predicate.Node
- func SourceInfoHasPrefix(v string) predicate.Node
- func SourceInfoHasSuffix(v string) predicate.Node
- func SourceInfoIn(vs ...string) predicate.Node
- func SourceInfoLT(v string) predicate.Node
- func SourceInfoLTE(v string) predicate.Node
- func SourceInfoNEQ(v string) predicate.Node
- func SourceInfoNotIn(vs ...string) predicate.Node
- func Summary(v string) predicate.Node
- func SummaryContains(v string) predicate.Node
- func SummaryContainsFold(v string) predicate.Node
- func SummaryEQ(v string) predicate.Node
- func SummaryEqualFold(v string) predicate.Node
- func SummaryGT(v string) predicate.Node
- func SummaryGTE(v string) predicate.Node
- func SummaryHasPrefix(v string) predicate.Node
- func SummaryHasSuffix(v string) predicate.Node
- func SummaryIn(vs ...string) predicate.Node
- func SummaryLT(v string) predicate.Node
- func SummaryLTE(v string) predicate.Node
- func SummaryNEQ(v string) predicate.Node
- func SummaryNotIn(vs ...string) predicate.Node
- func TypeEQ(v Type) predicate.Node
- func TypeIn(vs ...Type) predicate.Node
- func TypeNEQ(v Type) predicate.Node
- func TypeNotIn(vs ...Type) predicate.Node
- func TypeValidator(_type Type) error
- func URLDownload(v string) predicate.Node
- func URLDownloadContains(v string) predicate.Node
- func URLDownloadContainsFold(v string) predicate.Node
- func URLDownloadEQ(v string) predicate.Node
- func URLDownloadEqualFold(v string) predicate.Node
- func URLDownloadGT(v string) predicate.Node
- func URLDownloadGTE(v string) predicate.Node
- func URLDownloadHasPrefix(v string) predicate.Node
- func URLDownloadHasSuffix(v string) predicate.Node
- func URLDownloadIn(vs ...string) predicate.Node
- func URLDownloadLT(v string) predicate.Node
- func URLDownloadLTE(v string) predicate.Node
- func URLDownloadNEQ(v string) predicate.Node
- func URLDownloadNotIn(vs ...string) predicate.Node
- func URLHome(v string) predicate.Node
- func URLHomeContains(v string) predicate.Node
- func URLHomeContainsFold(v string) predicate.Node
- func URLHomeEQ(v string) predicate.Node
- func URLHomeEqualFold(v string) predicate.Node
- func URLHomeGT(v string) predicate.Node
- func URLHomeGTE(v string) predicate.Node
- func URLHomeHasPrefix(v string) predicate.Node
- func URLHomeHasSuffix(v string) predicate.Node
- func URLHomeIn(vs ...string) predicate.Node
- func URLHomeLT(v string) predicate.Node
- func URLHomeLTE(v string) predicate.Node
- func URLHomeNEQ(v string) predicate.Node
- func URLHomeNotIn(vs ...string) predicate.Node
- func ValidColumn(column string) bool
- func ValidUntilDate(v time.Time) predicate.Node
- func ValidUntilDateEQ(v time.Time) predicate.Node
- func ValidUntilDateGT(v time.Time) predicate.Node
- func ValidUntilDateGTE(v time.Time) predicate.Node
- func ValidUntilDateIn(vs ...time.Time) predicate.Node
- func ValidUntilDateLT(v time.Time) predicate.Node
- func ValidUntilDateLTE(v time.Time) predicate.Node
- func ValidUntilDateNEQ(v time.Time) predicate.Node
- func ValidUntilDateNotIn(vs ...time.Time) predicate.Node
- func Version(v string) predicate.Node
- func VersionContains(v string) predicate.Node
- func VersionContainsFold(v string) predicate.Node
- func VersionEQ(v string) predicate.Node
- func VersionEqualFold(v string) predicate.Node
- func VersionGT(v string) predicate.Node
- func VersionGTE(v string) predicate.Node
- func VersionHasPrefix(v string) predicate.Node
- func VersionHasSuffix(v string) predicate.Node
- func VersionIn(vs ...string) predicate.Node
- func VersionLT(v string) predicate.Node
- func VersionLTE(v string) predicate.Node
- func VersionNEQ(v string) predicate.Node
- func VersionNotIn(vs ...string) predicate.Node
- type OrderOption
- func ByAnnotations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAnnotationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByBuildDate(opts ...sql.OrderTermOption) OrderOption
- func ByComment(opts ...sql.OrderTermOption) OrderOption
- func ByCopyright(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDocuments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDocumentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByEdgeTypes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEdgeTypesCount(opts ...sql.OrderTermOption) OrderOption
- func ByExternalReferences(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByExternalReferencesCount(opts ...sql.OrderTermOption) OrderOption
- func ByFileName(opts ...sql.OrderTermOption) OrderOption
- func ByHashes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByHashesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdentifiers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIdentifiersCount(opts ...sql.OrderTermOption) OrderOption
- func ByLicenseComments(opts ...sql.OrderTermOption) OrderOption
- func ByLicenseConcluded(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNativeID(opts ...sql.OrderTermOption) OrderOption
- func ByNodeLists(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNodeListsCount(opts ...sql.OrderTermOption) OrderOption
- func ByNodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNodesCount(opts ...sql.OrderTermOption) OrderOption
- func ByOriginators(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOriginatorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPrimaryPurpose(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPrimaryPurposeCount(opts ...sql.OrderTermOption) OrderOption
- func ByProperties(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPropertiesCount(opts ...sql.OrderTermOption) OrderOption
- func ByReleaseDate(opts ...sql.OrderTermOption) OrderOption
- func BySourceInfo(opts ...sql.OrderTermOption) OrderOption
- func BySummary(opts ...sql.OrderTermOption) OrderOption
- func BySuppliers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySuppliersCount(opts ...sql.OrderTermOption) OrderOption
- func ByToNodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByToNodesCount(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByURLDownload(opts ...sql.OrderTermOption) OrderOption
- func ByURLHome(opts ...sql.OrderTermOption) OrderOption
- func ByValidUntilDate(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- type Type
Constants ¶
const ( // Label holds the string label denoting the node type in the database. Label = "node" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldProtoMessage holds the string denoting the proto_message field in the database. FieldProtoMessage = "proto_message" // FieldNativeID holds the string denoting the native_id field in the database. FieldNativeID = "native_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldFileName holds the string denoting the file_name field in the database. FieldFileName = "file_name" // FieldURLHome holds the string denoting the url_home field in the database. FieldURLHome = "url_home" // FieldURLDownload holds the string denoting the url_download field in the database. FieldURLDownload = "url_download" // FieldLicenses holds the string denoting the licenses field in the database. FieldLicenses = "licenses" // FieldLicenseConcluded holds the string denoting the license_concluded field in the database. FieldLicenseConcluded = "license_concluded" // FieldLicenseComments holds the string denoting the license_comments field in the database. FieldLicenseComments = "license_comments" // FieldCopyright holds the string denoting the copyright field in the database. FieldCopyright = "copyright" // FieldSourceInfo holds the string denoting the source_info field in the database. FieldSourceInfo = "source_info" // FieldComment holds the string denoting the comment field in the database. FieldComment = "comment" // FieldSummary holds the string denoting the summary field in the database. FieldSummary = "summary" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldReleaseDate holds the string denoting the release_date field in the database. FieldReleaseDate = "release_date" // FieldBuildDate holds the string denoting the build_date field in the database. FieldBuildDate = "build_date" // FieldValidUntilDate holds the string denoting the valid_until_date field in the database. FieldValidUntilDate = "valid_until_date" // FieldAttribution holds the string denoting the attribution field in the database. FieldAttribution = "attribution" // FieldFileTypes holds the string denoting the file_types field in the database. FieldFileTypes = "file_types" // EdgeAnnotations holds the string denoting the annotations edge name in mutations. EdgeAnnotations = "annotations" // EdgeSuppliers holds the string denoting the suppliers edge name in mutations. EdgeSuppliers = "suppliers" // EdgeOriginators holds the string denoting the originators edge name in mutations. EdgeOriginators = "originators" // EdgeExternalReferences holds the string denoting the external_references edge name in mutations. EdgeExternalReferences = "external_references" // EdgePrimaryPurpose holds the string denoting the primary_purpose edge name in mutations. EdgePrimaryPurpose = "primary_purpose" // EdgeToNodes holds the string denoting the to_nodes edge name in mutations. EdgeToNodes = "to_nodes" // EdgeNodes holds the string denoting the nodes edge name in mutations. EdgeNodes = "nodes" // EdgeHashes holds the string denoting the hashes edge name in mutations. EdgeHashes = "hashes" // EdgeIdentifiers holds the string denoting the identifiers edge name in mutations. EdgeIdentifiers = "identifiers" // EdgeProperties holds the string denoting the properties edge name in mutations. EdgeProperties = "properties" // EdgeDocuments holds the string denoting the documents edge name in mutations. EdgeDocuments = "documents" // EdgeNodeLists holds the string denoting the node_lists edge name in mutations. EdgeNodeLists = "node_lists" // EdgeEdgeTypes holds the string denoting the edge_types edge name in mutations. EdgeEdgeTypes = "edge_types" // Table holds the table name of the node in the database. Table = "nodes" // AnnotationsTable is the table that holds the annotations relation/edge. AnnotationsTable = "annotations" // AnnotationsInverseTable is the table name for the Annotation entity. // It exists in this package in order to avoid circular dependency with the "annotation" package. AnnotationsInverseTable = "annotations" // AnnotationsColumn is the table column denoting the annotations relation/edge. AnnotationsColumn = "node_id" // SuppliersTable is the table that holds the suppliers relation/edge. The primary key declared below. SuppliersTable = "node_suppliers" // SuppliersInverseTable is the table name for the Person entity. // It exists in this package in order to avoid circular dependency with the "person" package. SuppliersInverseTable = "persons" // OriginatorsTable is the table that holds the originators relation/edge. The primary key declared below. OriginatorsTable = "node_originators" // OriginatorsInverseTable is the table name for the Person entity. // It exists in this package in order to avoid circular dependency with the "person" package. OriginatorsInverseTable = "persons" // ExternalReferencesTable is the table that holds the external_references relation/edge. The primary key declared below. ExternalReferencesTable = "node_external_references" // ExternalReferencesInverseTable is the table name for the ExternalReference entity. // It exists in this package in order to avoid circular dependency with the "externalreference" package. ExternalReferencesInverseTable = "external_references" // PrimaryPurposeTable is the table that holds the primary_purpose relation/edge. The primary key declared below. PrimaryPurposeTable = "node_primary_purposes" // PrimaryPurposeInverseTable is the table name for the Purpose entity. // It exists in this package in order to avoid circular dependency with the "purpose" package. PrimaryPurposeInverseTable = "purposes" // ToNodesTable is the table that holds the to_nodes relation/edge. The primary key declared below. ToNodesTable = "edge_types" // NodesTable is the table that holds the nodes relation/edge. The primary key declared below. NodesTable = "edge_types" // HashesTable is the table that holds the hashes relation/edge. The primary key declared below. HashesTable = "node_hashes" // HashesInverseTable is the table name for the HashesEntry entity. // It exists in this package in order to avoid circular dependency with the "hashesentry" package. HashesInverseTable = "hashes_entries" // IdentifiersTable is the table that holds the identifiers relation/edge. The primary key declared below. IdentifiersTable = "node_identifiers" // IdentifiersInverseTable is the table name for the IdentifiersEntry entity. // It exists in this package in order to avoid circular dependency with the "identifiersentry" package. IdentifiersInverseTable = "identifiers_entries" // PropertiesTable is the table that holds the properties relation/edge. The primary key declared below. PropertiesTable = "node_properties" // PropertiesInverseTable is the table name for the Property entity. // It exists in this package in order to avoid circular dependency with the "property" package. PropertiesInverseTable = "properties" // DocumentsTable is the table that holds the documents relation/edge. The primary key declared below. DocumentsTable = "document_nodes" // DocumentsInverseTable is the table name for the Document entity. // It exists in this package in order to avoid circular dependency with the "document" package. DocumentsInverseTable = "documents" // NodeListsTable is the table that holds the node_lists relation/edge. The primary key declared below. NodeListsTable = "node_list_nodes" // NodeListsInverseTable is the table name for the NodeList entity. // It exists in this package in order to avoid circular dependency with the "nodelist" package. NodeListsInverseTable = "node_lists" // EdgeTypesTable is the table that holds the edge_types relation/edge. EdgeTypesTable = "edge_types" // EdgeTypesInverseTable is the table name for the EdgeType entity. // It exists in this package in order to avoid circular dependency with the "edgetype" package. EdgeTypesInverseTable = "edge_types" // EdgeTypesColumn is the table column denoting the edge_types relation/edge. EdgeTypesColumn = "to_node_id" )
Variables ¶
var ( // SuppliersPrimaryKey and SuppliersColumn2 are the table columns denoting the // primary key for the suppliers relation (M2M). SuppliersPrimaryKey = []string{"node_id", "person_id"} // OriginatorsPrimaryKey and OriginatorsColumn2 are the table columns denoting the // primary key for the originators relation (M2M). OriginatorsPrimaryKey = []string{"node_id", "person_id"} // ExternalReferencesPrimaryKey and ExternalReferencesColumn2 are the table columns denoting the // primary key for the external_references relation (M2M). ExternalReferencesPrimaryKey = []string{"node_id", "external_reference_id"} // PrimaryPurposePrimaryKey and PrimaryPurposeColumn2 are the table columns denoting the // primary key for the primary_purpose relation (M2M). PrimaryPurposePrimaryKey = []string{"node_id", "purpose_id"} // ToNodesPrimaryKey and ToNodesColumn2 are the table columns denoting the // primary key for the to_nodes relation (M2M). ToNodesPrimaryKey = []string{"node_id", "to_node_id"} // NodesPrimaryKey and NodesColumn2 are the table columns denoting the // primary key for the nodes relation (M2M). NodesPrimaryKey = []string{"node_id", "to_node_id"} // HashesPrimaryKey and HashesColumn2 are the table columns denoting the // primary key for the hashes relation (M2M). HashesPrimaryKey = []string{"node_id", "hash_entry_id"} // IdentifiersPrimaryKey and IdentifiersColumn2 are the table columns denoting the // primary key for the identifiers relation (M2M). IdentifiersPrimaryKey = []string{"node_id", "identifier_entry_id"} // PropertiesPrimaryKey and PropertiesColumn2 are the table columns denoting the // primary key for the properties relation (M2M). PropertiesPrimaryKey = []string{"node_id", "property_id"} // DocumentsPrimaryKey and DocumentsColumn2 are the table columns denoting the // primary key for the documents relation (M2M). DocumentsPrimaryKey = []string{"document_id", "node_id"} // NodeListsPrimaryKey and NodeListsColumn2 are the table columns denoting the // primary key for the node_lists relation (M2M). NodeListsPrimaryKey = []string{"node_list_id", "node_id"} )
var ( Hooks [1]ent.Hook // NativeIDValidator is a validator for the "native_id" field. It is called by the builders before save. NativeIDValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/protobom/storage/internal/backends/ent/runtime"
var Columns = []string{ FieldID, FieldProtoMessage, FieldNativeID, FieldType, FieldName, FieldVersion, FieldFileName, FieldURLHome, FieldURLDownload, FieldLicenses, FieldLicenseConcluded, FieldLicenseComments, FieldCopyright, FieldSourceInfo, FieldComment, FieldSummary, FieldDescription, FieldReleaseDate, FieldBuildDate, FieldValidUntilDate, FieldAttribution, FieldFileTypes, }
Columns holds all SQL columns for node fields.
Functions ¶
func BuildDate ¶
BuildDate applies equality check predicate on the "build_date" field. It's identical to BuildDateEQ.
func BuildDateEQ ¶
BuildDateEQ applies the EQ predicate on the "build_date" field.
func BuildDateGT ¶
BuildDateGT applies the GT predicate on the "build_date" field.
func BuildDateGTE ¶
BuildDateGTE applies the GTE predicate on the "build_date" field.
func BuildDateIn ¶
BuildDateIn applies the In predicate on the "build_date" field.
func BuildDateLT ¶
BuildDateLT applies the LT predicate on the "build_date" field.
func BuildDateLTE ¶
BuildDateLTE applies the LTE predicate on the "build_date" field.
func BuildDateNEQ ¶
BuildDateNEQ applies the NEQ predicate on the "build_date" field.
func BuildDateNotIn ¶
BuildDateNotIn applies the NotIn predicate on the "build_date" field.
func Comment ¶
Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.
func CommentContains ¶
CommentContains applies the Contains predicate on the "comment" field.
func CommentContainsFold ¶
CommentContainsFold applies the ContainsFold predicate on the "comment" field.
func CommentEqualFold ¶
CommentEqualFold applies the EqualFold predicate on the "comment" field.
func CommentGTE ¶
CommentGTE applies the GTE predicate on the "comment" field.
func CommentHasPrefix ¶
CommentHasPrefix applies the HasPrefix predicate on the "comment" field.
func CommentHasSuffix ¶
CommentHasSuffix applies the HasSuffix predicate on the "comment" field.
func CommentLTE ¶
CommentLTE applies the LTE predicate on the "comment" field.
func CommentNEQ ¶
CommentNEQ applies the NEQ predicate on the "comment" field.
func CommentNotIn ¶
CommentNotIn applies the NotIn predicate on the "comment" field.
func Copyright ¶
Copyright applies equality check predicate on the "copyright" field. It's identical to CopyrightEQ.
func CopyrightContains ¶
CopyrightContains applies the Contains predicate on the "copyright" field.
func CopyrightContainsFold ¶
CopyrightContainsFold applies the ContainsFold predicate on the "copyright" field.
func CopyrightEQ ¶
CopyrightEQ applies the EQ predicate on the "copyright" field.
func CopyrightEqualFold ¶
CopyrightEqualFold applies the EqualFold predicate on the "copyright" field.
func CopyrightGT ¶
CopyrightGT applies the GT predicate on the "copyright" field.
func CopyrightGTE ¶
CopyrightGTE applies the GTE predicate on the "copyright" field.
func CopyrightHasPrefix ¶
CopyrightHasPrefix applies the HasPrefix predicate on the "copyright" field.
func CopyrightHasSuffix ¶
CopyrightHasSuffix applies the HasSuffix predicate on the "copyright" field.
func CopyrightIn ¶
CopyrightIn applies the In predicate on the "copyright" field.
func CopyrightLT ¶
CopyrightLT applies the LT predicate on the "copyright" field.
func CopyrightLTE ¶
CopyrightLTE applies the LTE predicate on the "copyright" field.
func CopyrightNEQ ¶
CopyrightNEQ applies the NEQ predicate on the "copyright" field.
func CopyrightNotIn ¶
CopyrightNotIn applies the NotIn predicate on the "copyright" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func FileName ¶
FileName applies equality check predicate on the "file_name" field. It's identical to FileNameEQ.
func FileNameContains ¶
FileNameContains applies the Contains predicate on the "file_name" field.
func FileNameContainsFold ¶
FileNameContainsFold applies the ContainsFold predicate on the "file_name" field.
func FileNameEQ ¶
FileNameEQ applies the EQ predicate on the "file_name" field.
func FileNameEqualFold ¶
FileNameEqualFold applies the EqualFold predicate on the "file_name" field.
func FileNameGT ¶
FileNameGT applies the GT predicate on the "file_name" field.
func FileNameGTE ¶
FileNameGTE applies the GTE predicate on the "file_name" field.
func FileNameHasPrefix ¶
FileNameHasPrefix applies the HasPrefix predicate on the "file_name" field.
func FileNameHasSuffix ¶
FileNameHasSuffix applies the HasSuffix predicate on the "file_name" field.
func FileNameIn ¶
FileNameIn applies the In predicate on the "file_name" field.
func FileNameLT ¶
FileNameLT applies the LT predicate on the "file_name" field.
func FileNameLTE ¶
FileNameLTE applies the LTE predicate on the "file_name" field.
func FileNameNEQ ¶
FileNameNEQ applies the NEQ predicate on the "file_name" field.
func FileNameNotIn ¶
FileNameNotIn applies the NotIn predicate on the "file_name" field.
func HasAnnotations ¶ added in v0.2.0
HasAnnotations applies the HasEdge predicate on the "annotations" edge.
func HasAnnotationsWith ¶ added in v0.2.0
func HasAnnotationsWith(preds ...predicate.Annotation) predicate.Node
HasAnnotationsWith applies the HasEdge predicate on the "annotations" edge with a given conditions (other predicates).
func HasDocuments ¶ added in v0.2.0
HasDocuments applies the HasEdge predicate on the "documents" edge.
func HasDocumentsWith ¶ added in v0.2.0
HasDocumentsWith applies the HasEdge predicate on the "documents" edge with a given conditions (other predicates).
func HasEdgeTypes ¶
HasEdgeTypes applies the HasEdge predicate on the "edge_types" edge.
func HasEdgeTypesWith ¶
HasEdgeTypesWith applies the HasEdge predicate on the "edge_types" edge with a given conditions (other predicates).
func HasExternalReferences ¶
HasExternalReferences applies the HasEdge predicate on the "external_references" edge.
func HasExternalReferencesWith ¶
func HasExternalReferencesWith(preds ...predicate.ExternalReference) predicate.Node
HasExternalReferencesWith applies the HasEdge predicate on the "external_references" edge with a given conditions (other predicates).
func HasHashesWith ¶
func HasHashesWith(preds ...predicate.HashesEntry) predicate.Node
HasHashesWith applies the HasEdge predicate on the "hashes" edge with a given conditions (other predicates).
func HasIdentifiers ¶
HasIdentifiers applies the HasEdge predicate on the "identifiers" edge.
func HasIdentifiersWith ¶
func HasIdentifiersWith(preds ...predicate.IdentifiersEntry) predicate.Node
HasIdentifiersWith applies the HasEdge predicate on the "identifiers" edge with a given conditions (other predicates).
func HasNodeLists ¶ added in v0.1.4
HasNodeLists applies the HasEdge predicate on the "node_lists" edge.
func HasNodeListsWith ¶ added in v0.1.4
HasNodeListsWith applies the HasEdge predicate on the "node_lists" edge with a given conditions (other predicates).
func HasNodesWith ¶
HasNodesWith applies the HasEdge predicate on the "nodes" edge with a given conditions (other predicates).
func HasOriginators ¶
HasOriginators applies the HasEdge predicate on the "originators" edge.
func HasOriginatorsWith ¶
HasOriginatorsWith applies the HasEdge predicate on the "originators" edge with a given conditions (other predicates).
func HasPrimaryPurpose ¶
HasPrimaryPurpose applies the HasEdge predicate on the "primary_purpose" edge.
func HasPrimaryPurposeWith ¶
HasPrimaryPurposeWith applies the HasEdge predicate on the "primary_purpose" edge with a given conditions (other predicates).
func HasProperties ¶ added in v0.2.0
HasProperties applies the HasEdge predicate on the "properties" edge.
func HasPropertiesWith ¶ added in v0.2.0
HasPropertiesWith applies the HasEdge predicate on the "properties" edge with a given conditions (other predicates).
func HasSuppliers ¶
HasSuppliers applies the HasEdge predicate on the "suppliers" edge.
func HasSuppliersWith ¶
HasSuppliersWith applies the HasEdge predicate on the "suppliers" edge with a given conditions (other predicates).
func HasToNodes ¶
HasToNodes applies the HasEdge predicate on the "to_nodes" edge.
func HasToNodesWith ¶
HasToNodesWith applies the HasEdge predicate on the "to_nodes" edge with a given conditions (other predicates).
func LicenseComments ¶
LicenseComments applies equality check predicate on the "license_comments" field. It's identical to LicenseCommentsEQ.
func LicenseCommentsContains ¶
LicenseCommentsContains applies the Contains predicate on the "license_comments" field.
func LicenseCommentsContainsFold ¶
LicenseCommentsContainsFold applies the ContainsFold predicate on the "license_comments" field.
func LicenseCommentsEQ ¶
LicenseCommentsEQ applies the EQ predicate on the "license_comments" field.
func LicenseCommentsEqualFold ¶
LicenseCommentsEqualFold applies the EqualFold predicate on the "license_comments" field.
func LicenseCommentsGT ¶
LicenseCommentsGT applies the GT predicate on the "license_comments" field.
func LicenseCommentsGTE ¶
LicenseCommentsGTE applies the GTE predicate on the "license_comments" field.
func LicenseCommentsHasPrefix ¶
LicenseCommentsHasPrefix applies the HasPrefix predicate on the "license_comments" field.
func LicenseCommentsHasSuffix ¶
LicenseCommentsHasSuffix applies the HasSuffix predicate on the "license_comments" field.
func LicenseCommentsIn ¶
LicenseCommentsIn applies the In predicate on the "license_comments" field.
func LicenseCommentsLT ¶
LicenseCommentsLT applies the LT predicate on the "license_comments" field.
func LicenseCommentsLTE ¶
LicenseCommentsLTE applies the LTE predicate on the "license_comments" field.
func LicenseCommentsNEQ ¶
LicenseCommentsNEQ applies the NEQ predicate on the "license_comments" field.
func LicenseCommentsNotIn ¶
LicenseCommentsNotIn applies the NotIn predicate on the "license_comments" field.
func LicenseConcluded ¶
LicenseConcluded applies equality check predicate on the "license_concluded" field. It's identical to LicenseConcludedEQ.
func LicenseConcludedContains ¶
LicenseConcludedContains applies the Contains predicate on the "license_concluded" field.
func LicenseConcludedContainsFold ¶
LicenseConcludedContainsFold applies the ContainsFold predicate on the "license_concluded" field.
func LicenseConcludedEQ ¶
LicenseConcludedEQ applies the EQ predicate on the "license_concluded" field.
func LicenseConcludedEqualFold ¶
LicenseConcludedEqualFold applies the EqualFold predicate on the "license_concluded" field.
func LicenseConcludedGT ¶
LicenseConcludedGT applies the GT predicate on the "license_concluded" field.
func LicenseConcludedGTE ¶
LicenseConcludedGTE applies the GTE predicate on the "license_concluded" field.
func LicenseConcludedHasPrefix ¶
LicenseConcludedHasPrefix applies the HasPrefix predicate on the "license_concluded" field.
func LicenseConcludedHasSuffix ¶
LicenseConcludedHasSuffix applies the HasSuffix predicate on the "license_concluded" field.
func LicenseConcludedIn ¶
LicenseConcludedIn applies the In predicate on the "license_concluded" field.
func LicenseConcludedLT ¶
LicenseConcludedLT applies the LT predicate on the "license_concluded" field.
func LicenseConcludedLTE ¶
LicenseConcludedLTE applies the LTE predicate on the "license_concluded" field.
func LicenseConcludedNEQ ¶
LicenseConcludedNEQ applies the NEQ predicate on the "license_concluded" field.
func LicenseConcludedNotIn ¶
LicenseConcludedNotIn applies the NotIn predicate on the "license_concluded" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NativeID ¶ added in v0.2.0
NativeID applies equality check predicate on the "native_id" field. It's identical to NativeIDEQ.
func NativeIDContains ¶ added in v0.2.0
NativeIDContains applies the Contains predicate on the "native_id" field.
func NativeIDContainsFold ¶ added in v0.2.0
NativeIDContainsFold applies the ContainsFold predicate on the "native_id" field.
func NativeIDEQ ¶ added in v0.2.0
NativeIDEQ applies the EQ predicate on the "native_id" field.
func NativeIDEqualFold ¶ added in v0.2.0
NativeIDEqualFold applies the EqualFold predicate on the "native_id" field.
func NativeIDGT ¶ added in v0.2.0
NativeIDGT applies the GT predicate on the "native_id" field.
func NativeIDGTE ¶ added in v0.2.0
NativeIDGTE applies the GTE predicate on the "native_id" field.
func NativeIDHasPrefix ¶ added in v0.2.0
NativeIDHasPrefix applies the HasPrefix predicate on the "native_id" field.
func NativeIDHasSuffix ¶ added in v0.2.0
NativeIDHasSuffix applies the HasSuffix predicate on the "native_id" field.
func NativeIDIn ¶ added in v0.2.0
NativeIDIn applies the In predicate on the "native_id" field.
func NativeIDLT ¶ added in v0.2.0
NativeIDLT applies the LT predicate on the "native_id" field.
func NativeIDLTE ¶ added in v0.2.0
NativeIDLTE applies the LTE predicate on the "native_id" field.
func NativeIDNEQ ¶ added in v0.2.0
NativeIDNEQ applies the NEQ predicate on the "native_id" field.
func NativeIDNotIn ¶ added in v0.2.0
NativeIDNotIn applies the NotIn predicate on the "native_id" field.
func ProtoMessage ¶ added in v0.2.0
ProtoMessage applies equality check predicate on the "proto_message" field. It's identical to ProtoMessageEQ.
func ProtoMessageEQ ¶ added in v0.2.0
ProtoMessageEQ applies the EQ predicate on the "proto_message" field.
func ProtoMessageGT ¶ added in v0.2.0
ProtoMessageGT applies the GT predicate on the "proto_message" field.
func ProtoMessageGTE ¶ added in v0.2.0
ProtoMessageGTE applies the GTE predicate on the "proto_message" field.
func ProtoMessageIn ¶ added in v0.2.0
ProtoMessageIn applies the In predicate on the "proto_message" field.
func ProtoMessageLT ¶ added in v0.2.0
ProtoMessageLT applies the LT predicate on the "proto_message" field.
func ProtoMessageLTE ¶ added in v0.2.0
ProtoMessageLTE applies the LTE predicate on the "proto_message" field.
func ProtoMessageNEQ ¶ added in v0.2.0
ProtoMessageNEQ applies the NEQ predicate on the "proto_message" field.
func ProtoMessageNotIn ¶ added in v0.2.0
ProtoMessageNotIn applies the NotIn predicate on the "proto_message" field.
func ReleaseDate ¶
ReleaseDate applies equality check predicate on the "release_date" field. It's identical to ReleaseDateEQ.
func ReleaseDateEQ ¶
ReleaseDateEQ applies the EQ predicate on the "release_date" field.
func ReleaseDateGT ¶
ReleaseDateGT applies the GT predicate on the "release_date" field.
func ReleaseDateGTE ¶
ReleaseDateGTE applies the GTE predicate on the "release_date" field.
func ReleaseDateIn ¶
ReleaseDateIn applies the In predicate on the "release_date" field.
func ReleaseDateLT ¶
ReleaseDateLT applies the LT predicate on the "release_date" field.
func ReleaseDateLTE ¶
ReleaseDateLTE applies the LTE predicate on the "release_date" field.
func ReleaseDateNEQ ¶
ReleaseDateNEQ applies the NEQ predicate on the "release_date" field.
func ReleaseDateNotIn ¶
ReleaseDateNotIn applies the NotIn predicate on the "release_date" field.
func SourceInfo ¶
SourceInfo applies equality check predicate on the "source_info" field. It's identical to SourceInfoEQ.
func SourceInfoContains ¶
SourceInfoContains applies the Contains predicate on the "source_info" field.
func SourceInfoContainsFold ¶
SourceInfoContainsFold applies the ContainsFold predicate on the "source_info" field.
func SourceInfoEQ ¶
SourceInfoEQ applies the EQ predicate on the "source_info" field.
func SourceInfoEqualFold ¶
SourceInfoEqualFold applies the EqualFold predicate on the "source_info" field.
func SourceInfoGT ¶
SourceInfoGT applies the GT predicate on the "source_info" field.
func SourceInfoGTE ¶
SourceInfoGTE applies the GTE predicate on the "source_info" field.
func SourceInfoHasPrefix ¶
SourceInfoHasPrefix applies the HasPrefix predicate on the "source_info" field.
func SourceInfoHasSuffix ¶
SourceInfoHasSuffix applies the HasSuffix predicate on the "source_info" field.
func SourceInfoIn ¶
SourceInfoIn applies the In predicate on the "source_info" field.
func SourceInfoLT ¶
SourceInfoLT applies the LT predicate on the "source_info" field.
func SourceInfoLTE ¶
SourceInfoLTE applies the LTE predicate on the "source_info" field.
func SourceInfoNEQ ¶
SourceInfoNEQ applies the NEQ predicate on the "source_info" field.
func SourceInfoNotIn ¶
SourceInfoNotIn applies the NotIn predicate on the "source_info" field.
func Summary ¶
Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.
func SummaryContains ¶
SummaryContains applies the Contains predicate on the "summary" field.
func SummaryContainsFold ¶
SummaryContainsFold applies the ContainsFold predicate on the "summary" field.
func SummaryEqualFold ¶
SummaryEqualFold applies the EqualFold predicate on the "summary" field.
func SummaryGTE ¶
SummaryGTE applies the GTE predicate on the "summary" field.
func SummaryHasPrefix ¶
SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.
func SummaryHasSuffix ¶
SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.
func SummaryLTE ¶
SummaryLTE applies the LTE predicate on the "summary" field.
func SummaryNEQ ¶
SummaryNEQ applies the NEQ predicate on the "summary" field.
func SummaryNotIn ¶
SummaryNotIn applies the NotIn predicate on the "summary" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func URLDownload ¶
URLDownload applies equality check predicate on the "url_download" field. It's identical to URLDownloadEQ.
func URLDownloadContains ¶
URLDownloadContains applies the Contains predicate on the "url_download" field.
func URLDownloadContainsFold ¶
URLDownloadContainsFold applies the ContainsFold predicate on the "url_download" field.
func URLDownloadEQ ¶
URLDownloadEQ applies the EQ predicate on the "url_download" field.
func URLDownloadEqualFold ¶
URLDownloadEqualFold applies the EqualFold predicate on the "url_download" field.
func URLDownloadGT ¶
URLDownloadGT applies the GT predicate on the "url_download" field.
func URLDownloadGTE ¶
URLDownloadGTE applies the GTE predicate on the "url_download" field.
func URLDownloadHasPrefix ¶
URLDownloadHasPrefix applies the HasPrefix predicate on the "url_download" field.
func URLDownloadHasSuffix ¶
URLDownloadHasSuffix applies the HasSuffix predicate on the "url_download" field.
func URLDownloadIn ¶
URLDownloadIn applies the In predicate on the "url_download" field.
func URLDownloadLT ¶
URLDownloadLT applies the LT predicate on the "url_download" field.
func URLDownloadLTE ¶
URLDownloadLTE applies the LTE predicate on the "url_download" field.
func URLDownloadNEQ ¶
URLDownloadNEQ applies the NEQ predicate on the "url_download" field.
func URLDownloadNotIn ¶
URLDownloadNotIn applies the NotIn predicate on the "url_download" field.
func URLHome ¶
URLHome applies equality check predicate on the "url_home" field. It's identical to URLHomeEQ.
func URLHomeContains ¶
URLHomeContains applies the Contains predicate on the "url_home" field.
func URLHomeContainsFold ¶
URLHomeContainsFold applies the ContainsFold predicate on the "url_home" field.
func URLHomeEqualFold ¶
URLHomeEqualFold applies the EqualFold predicate on the "url_home" field.
func URLHomeGTE ¶
URLHomeGTE applies the GTE predicate on the "url_home" field.
func URLHomeHasPrefix ¶
URLHomeHasPrefix applies the HasPrefix predicate on the "url_home" field.
func URLHomeHasSuffix ¶
URLHomeHasSuffix applies the HasSuffix predicate on the "url_home" field.
func URLHomeLTE ¶
URLHomeLTE applies the LTE predicate on the "url_home" field.
func URLHomeNEQ ¶
URLHomeNEQ applies the NEQ predicate on the "url_home" field.
func URLHomeNotIn ¶
URLHomeNotIn applies the NotIn predicate on the "url_home" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ValidUntilDate ¶
ValidUntilDate applies equality check predicate on the "valid_until_date" field. It's identical to ValidUntilDateEQ.
func ValidUntilDateEQ ¶
ValidUntilDateEQ applies the EQ predicate on the "valid_until_date" field.
func ValidUntilDateGT ¶
ValidUntilDateGT applies the GT predicate on the "valid_until_date" field.
func ValidUntilDateGTE ¶
ValidUntilDateGTE applies the GTE predicate on the "valid_until_date" field.
func ValidUntilDateIn ¶
ValidUntilDateIn applies the In predicate on the "valid_until_date" field.
func ValidUntilDateLT ¶
ValidUntilDateLT applies the LT predicate on the "valid_until_date" field.
func ValidUntilDateLTE ¶
ValidUntilDateLTE applies the LTE predicate on the "valid_until_date" field.
func ValidUntilDateNEQ ¶
ValidUntilDateNEQ applies the NEQ predicate on the "valid_until_date" field.
func ValidUntilDateNotIn ¶
ValidUntilDateNotIn applies the NotIn predicate on the "valid_until_date" field.
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Node queries.
func ByAnnotations ¶ added in v0.2.0
func ByAnnotations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAnnotations orders the results by annotations terms.
func ByAnnotationsCount ¶ added in v0.2.0
func ByAnnotationsCount(opts ...sql.OrderTermOption) OrderOption
ByAnnotationsCount orders the results by annotations count.
func ByBuildDate ¶
func ByBuildDate(opts ...sql.OrderTermOption) OrderOption
ByBuildDate orders the results by the build_date field.
func ByComment ¶
func ByComment(opts ...sql.OrderTermOption) OrderOption
ByComment orders the results by the comment field.
func ByCopyright ¶
func ByCopyright(opts ...sql.OrderTermOption) OrderOption
ByCopyright orders the results by the copyright field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDocuments ¶ added in v0.2.0
func ByDocuments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByDocuments orders the results by documents terms.
func ByDocumentsCount ¶ added in v0.2.0
func ByDocumentsCount(opts ...sql.OrderTermOption) OrderOption
ByDocumentsCount orders the results by documents count.
func ByEdgeTypes ¶
func ByEdgeTypes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEdgeTypes orders the results by edge_types terms.
func ByEdgeTypesCount ¶
func ByEdgeTypesCount(opts ...sql.OrderTermOption) OrderOption
ByEdgeTypesCount orders the results by edge_types count.
func ByExternalReferences ¶
func ByExternalReferences(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByExternalReferences orders the results by external_references terms.
func ByExternalReferencesCount ¶
func ByExternalReferencesCount(opts ...sql.OrderTermOption) OrderOption
ByExternalReferencesCount orders the results by external_references count.
func ByFileName ¶
func ByFileName(opts ...sql.OrderTermOption) OrderOption
ByFileName orders the results by the file_name field.
func ByHashes ¶
func ByHashes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByHashes orders the results by hashes terms.
func ByHashesCount ¶
func ByHashesCount(opts ...sql.OrderTermOption) OrderOption
ByHashesCount orders the results by hashes count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdentifiers ¶
func ByIdentifiers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIdentifiers orders the results by identifiers terms.
func ByIdentifiersCount ¶
func ByIdentifiersCount(opts ...sql.OrderTermOption) OrderOption
ByIdentifiersCount orders the results by identifiers count.
func ByLicenseComments ¶
func ByLicenseComments(opts ...sql.OrderTermOption) OrderOption
ByLicenseComments orders the results by the license_comments field.
func ByLicenseConcluded ¶
func ByLicenseConcluded(opts ...sql.OrderTermOption) OrderOption
ByLicenseConcluded orders the results by the license_concluded field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNativeID ¶ added in v0.2.0
func ByNativeID(opts ...sql.OrderTermOption) OrderOption
ByNativeID orders the results by the native_id field.
func ByNodeLists ¶ added in v0.1.4
func ByNodeLists(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNodeLists orders the results by node_lists terms.
func ByNodeListsCount ¶ added in v0.1.4
func ByNodeListsCount(opts ...sql.OrderTermOption) OrderOption
ByNodeListsCount orders the results by node_lists count.
func ByNodes ¶
func ByNodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNodes orders the results by nodes terms.
func ByNodesCount ¶
func ByNodesCount(opts ...sql.OrderTermOption) OrderOption
ByNodesCount orders the results by nodes count.
func ByOriginators ¶
func ByOriginators(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOriginators orders the results by originators terms.
func ByOriginatorsCount ¶
func ByOriginatorsCount(opts ...sql.OrderTermOption) OrderOption
ByOriginatorsCount orders the results by originators count.
func ByPrimaryPurpose ¶
func ByPrimaryPurpose(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrimaryPurpose orders the results by primary_purpose terms.
func ByPrimaryPurposeCount ¶
func ByPrimaryPurposeCount(opts ...sql.OrderTermOption) OrderOption
ByPrimaryPurposeCount orders the results by primary_purpose count.
func ByProperties ¶ added in v0.2.0
func ByProperties(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProperties orders the results by properties terms.
func ByPropertiesCount ¶ added in v0.2.0
func ByPropertiesCount(opts ...sql.OrderTermOption) OrderOption
ByPropertiesCount orders the results by properties count.
func ByReleaseDate ¶
func ByReleaseDate(opts ...sql.OrderTermOption) OrderOption
ByReleaseDate orders the results by the release_date field.
func BySourceInfo ¶
func BySourceInfo(opts ...sql.OrderTermOption) OrderOption
BySourceInfo orders the results by the source_info field.
func BySummary ¶
func BySummary(opts ...sql.OrderTermOption) OrderOption
BySummary orders the results by the summary field.
func BySuppliers ¶
func BySuppliers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySuppliers orders the results by suppliers terms.
func BySuppliersCount ¶
func BySuppliersCount(opts ...sql.OrderTermOption) OrderOption
BySuppliersCount orders the results by suppliers count.
func ByToNodes ¶
func ByToNodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByToNodes orders the results by to_nodes terms.
func ByToNodesCount ¶
func ByToNodesCount(opts ...sql.OrderTermOption) OrderOption
ByToNodesCount orders the results by to_nodes count.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByURLDownload ¶
func ByURLDownload(opts ...sql.OrderTermOption) OrderOption
ByURLDownload orders the results by the url_download field.
func ByURLHome ¶
func ByURLHome(opts ...sql.OrderTermOption) OrderOption
ByURLHome orders the results by the url_home field.
func ByValidUntilDate ¶
func ByValidUntilDate(opts ...sql.OrderTermOption) OrderOption
ByValidUntilDate orders the results by the valid_until_date field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.