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 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 HasSuppliers() predicate.Node
- func HasSuppliersWith(preds ...predicate.Person) predicate.Node
- func HasToNodes() predicate.Node
- func HasToNodesWith(preds ...predicate.Node) predicate.Node
- func ID(id string) predicate.Node
- func IDContainsFold(id string) predicate.Node
- func IDEQ(id string) predicate.Node
- func IDEqualFold(id string) predicate.Node
- func IDGT(id string) predicate.Node
- func IDGTE(id string) predicate.Node
- func IDIn(ids ...string) predicate.Node
- func IDLT(id string) predicate.Node
- func IDLTE(id string) predicate.Node
- func IDNEQ(id string) predicate.Node
- func IDNotIn(ids ...string) 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 Not(p predicate.Node) predicate.Node
- func Or(predicates ...predicate.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 ByBuildDate(opts ...sql.OrderTermOption) OrderOption
- func ByComment(opts ...sql.OrderTermOption) OrderOption
- func ByCopyright(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(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 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 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" // 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" // 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" // EdgeIdentifiers holds the string denoting the identifiers edge name in mutations. EdgeIdentifiers = "identifiers" // EdgeHashes holds the string denoting the hashes edge name in mutations. EdgeHashes = "hashes" // 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" // 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" // SuppliersTable is the table that holds the suppliers relation/edge. SuppliersTable = "persons" // 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" // SuppliersColumn is the table column denoting the suppliers relation/edge. SuppliersColumn = "node_suppliers" // OriginatorsTable is the table that holds the originators relation/edge. OriginatorsTable = "persons" // 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" // OriginatorsColumn is the table column denoting the originators relation/edge. OriginatorsColumn = "node_id" // ExternalReferencesTable is the table that holds the external_references relation/edge. ExternalReferencesTable = "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" // ExternalReferencesColumn is the table column denoting the external_references relation/edge. ExternalReferencesColumn = "node_id" // IdentifiersTable is the table that holds the identifiers relation/edge. IdentifiersTable = "identifiers_entries" // 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" // IdentifiersColumn is the table column denoting the identifiers relation/edge. IdentifiersColumn = "node_id" // HashesTable is the table that holds the hashes relation/edge. HashesTable = "hashes_entries" // 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" // HashesColumn is the table column denoting the hashes relation/edge. HashesColumn = "node_id" // PrimaryPurposeTable is the table that holds the primary_purpose relation/edge. PrimaryPurposeTable = "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" // PrimaryPurposeColumn is the table column denoting the primary_purpose relation/edge. PrimaryPurposeColumn = "node_id" // 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" // 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 ( // 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"} // 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 Columns = []string{ FieldID, 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.
var ( // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
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 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 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 IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
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 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 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 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 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 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.