Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ReleaseVulnerability) predicate.ReleaseVulnerability
- func HasComponent() predicate.ReleaseVulnerability
- func HasComponentWith(preds ...predicate.ReleaseComponent) predicate.ReleaseVulnerability
- func HasRelease() predicate.ReleaseVulnerability
- func HasReleaseWith(preds ...predicate.Release) predicate.ReleaseVulnerability
- func HasReviews() predicate.ReleaseVulnerability
- func HasReviewsWith(preds ...predicate.VulnerabilityReview) predicate.ReleaseVulnerability
- func HasScan() predicate.ReleaseVulnerability
- func HasScanWith(preds ...predicate.CodeScan) predicate.ReleaseVulnerability
- func HasVulnerability() predicate.ReleaseVulnerability
- func HasVulnerabilityWith(preds ...predicate.Vulnerability) predicate.ReleaseVulnerability
- func ID(id int) predicate.ReleaseVulnerability
- func IDEQ(id int) predicate.ReleaseVulnerability
- func IDGT(id int) predicate.ReleaseVulnerability
- func IDGTE(id int) predicate.ReleaseVulnerability
- func IDIn(ids ...int) predicate.ReleaseVulnerability
- func IDLT(id int) predicate.ReleaseVulnerability
- func IDLTE(id int) predicate.ReleaseVulnerability
- func IDNEQ(id int) predicate.ReleaseVulnerability
- func IDNotIn(ids ...int) predicate.ReleaseVulnerability
- func Not(p predicate.ReleaseVulnerability) predicate.ReleaseVulnerability
- func Or(predicates ...predicate.ReleaseVulnerability) predicate.ReleaseVulnerability
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the releasevulnerability type in the database. Label = "release_vulnerability" // FieldID holds the string denoting the id field in the database. FieldID = "id" // EdgeVulnerability holds the string denoting the vulnerability edge name in mutations. EdgeVulnerability = "vulnerability" // EdgeComponent holds the string denoting the component edge name in mutations. EdgeComponent = "component" // EdgeRelease holds the string denoting the release edge name in mutations. EdgeRelease = "release" // EdgeReviews holds the string denoting the reviews edge name in mutations. EdgeReviews = "reviews" // EdgeScan holds the string denoting the scan edge name in mutations. EdgeScan = "scan" // Table holds the table name of the releasevulnerability in the database. Table = "release_vulnerability" // VulnerabilityTable is the table that holds the vulnerability relation/edge. VulnerabilityTable = "release_vulnerability" // VulnerabilityInverseTable is the table name for the Vulnerability entity. // It exists in this package in order to avoid circular dependency with the "vulnerability" package. VulnerabilityInverseTable = "vulnerability" // VulnerabilityColumn is the table column denoting the vulnerability relation/edge. VulnerabilityColumn = "release_vulnerability_vulnerability" // ComponentTable is the table that holds the component relation/edge. ComponentTable = "release_vulnerability" // ComponentInverseTable is the table name for the ReleaseComponent entity. // It exists in this package in order to avoid circular dependency with the "releasecomponent" package. ComponentInverseTable = "release_component" // ComponentColumn is the table column denoting the component relation/edge. ComponentColumn = "release_vulnerability_component" // ReleaseTable is the table that holds the release relation/edge. ReleaseTable = "release_vulnerability" // ReleaseInverseTable is the table name for the Release entity. // It exists in this package in order to avoid circular dependency with the "release" package. ReleaseInverseTable = "release" // ReleaseColumn is the table column denoting the release relation/edge. ReleaseColumn = "release_vulnerability_release" // ReviewsTable is the table that holds the reviews relation/edge. The primary key declared below. ReviewsTable = "release_vulnerability_reviews" // ReviewsInverseTable is the table name for the VulnerabilityReview entity. // It exists in this package in order to avoid circular dependency with the "vulnerabilityreview" package. ReviewsInverseTable = "vulnerability_review" // ScanTable is the table that holds the scan relation/edge. ScanTable = "release_vulnerability" // ScanInverseTable is the table name for the CodeScan entity. // It exists in this package in order to avoid circular dependency with the "codescan" package. ScanInverseTable = "code_scan" // ScanColumn is the table column denoting the scan relation/edge. ScanColumn = "release_vulnerability_scan" )
Variables ¶
var Columns = []string{ FieldID, }
Columns holds all SQL columns for releasevulnerability fields.
var ForeignKeys = []string{
"release_vulnerability_vulnerability",
"release_vulnerability_component",
"release_vulnerability_release",
"release_vulnerability_scan",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "release_vulnerability" table and are not defined as standalone fields in the schema.
var ( // ReviewsPrimaryKey and ReviewsColumn2 are the table columns denoting the // primary key for the reviews relation (M2M). ReviewsPrimaryKey = []string{"release_vulnerability_id", "vulnerability_review_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.ReleaseVulnerability) predicate.ReleaseVulnerability
And groups predicates with the AND operator between them.
func HasComponent ¶
func HasComponent() predicate.ReleaseVulnerability
HasComponent applies the HasEdge predicate on the "component" edge.
func HasComponentWith ¶
func HasComponentWith(preds ...predicate.ReleaseComponent) predicate.ReleaseVulnerability
HasComponentWith applies the HasEdge predicate on the "component" edge with a given conditions (other predicates).
func HasRelease ¶
func HasRelease() predicate.ReleaseVulnerability
HasRelease applies the HasEdge predicate on the "release" edge.
func HasReleaseWith ¶
func HasReleaseWith(preds ...predicate.Release) predicate.ReleaseVulnerability
HasReleaseWith applies the HasEdge predicate on the "release" edge with a given conditions (other predicates).
func HasReviews ¶
func HasReviews() predicate.ReleaseVulnerability
HasReviews applies the HasEdge predicate on the "reviews" edge.
func HasReviewsWith ¶
func HasReviewsWith(preds ...predicate.VulnerabilityReview) predicate.ReleaseVulnerability
HasReviewsWith applies the HasEdge predicate on the "reviews" edge with a given conditions (other predicates).
func HasScan ¶
func HasScan() predicate.ReleaseVulnerability
HasScan applies the HasEdge predicate on the "scan" edge.
func HasScanWith ¶
func HasScanWith(preds ...predicate.CodeScan) predicate.ReleaseVulnerability
HasScanWith applies the HasEdge predicate on the "scan" edge with a given conditions (other predicates).
func HasVulnerability ¶
func HasVulnerability() predicate.ReleaseVulnerability
HasVulnerability applies the HasEdge predicate on the "vulnerability" edge.
func HasVulnerabilityWith ¶
func HasVulnerabilityWith(preds ...predicate.Vulnerability) predicate.ReleaseVulnerability
HasVulnerabilityWith applies the HasEdge predicate on the "vulnerability" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.ReleaseVulnerability
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.ReleaseVulnerability
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.ReleaseVulnerability
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.ReleaseVulnerability
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ReleaseVulnerability
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.ReleaseVulnerability
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ReleaseVulnerability
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ReleaseVulnerability
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ReleaseVulnerability
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ReleaseVulnerability) predicate.ReleaseVulnerability
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ReleaseVulnerability) predicate.ReleaseVulnerability
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.