Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.VulnStatusIndex) predicate.VulnStatusIndex
- func HasStatus() predicate.VulnStatusIndex
- func HasStatusWith(preds ...predicate.VulnStatus) predicate.VulnStatusIndex
- func ID(id string) predicate.VulnStatusIndex
- func IDEQ(id string) predicate.VulnStatusIndex
- func IDGT(id string) predicate.VulnStatusIndex
- func IDGTE(id string) predicate.VulnStatusIndex
- func IDIn(ids ...string) predicate.VulnStatusIndex
- func IDLT(id string) predicate.VulnStatusIndex
- func IDLTE(id string) predicate.VulnStatusIndex
- func IDNEQ(id string) predicate.VulnStatusIndex
- func IDNotIn(ids ...string) predicate.VulnStatusIndex
- func Not(p predicate.VulnStatusIndex) predicate.VulnStatusIndex
- func Or(predicates ...predicate.VulnStatusIndex) predicate.VulnStatusIndex
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the vulnstatusindex type in the database. Label = "vuln_status_index" // FieldID holds the string denoting the id field in the database. FieldID = "id" // EdgeStatus holds the string denoting the status edge name in mutations. EdgeStatus = "status" // Table holds the table name of the vulnstatusindex in the database. Table = "vuln_status_indexes" // StatusTable is the table that holds the status relation/edge. StatusTable = "vuln_status" // StatusInverseTable is the table name for the VulnStatus entity. // It exists in this package in order to avoid circular dependency with the "vulnstatus" package. StatusInverseTable = "vuln_status" // StatusColumn is the table column denoting the status relation/edge. StatusColumn = "vuln_status_index_status" )
Variables ¶
var Columns = []string{ FieldID, }
Columns holds all SQL columns for vulnstatusindex fields.
var ForeignKeys = []string{
"repository_status",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "vuln_status_indexes" table and are not defined as standalone fields in the schema.
var ( // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
Functions ¶
func And ¶
func And(predicates ...predicate.VulnStatusIndex) predicate.VulnStatusIndex
And groups predicates with the AND operator between them.
func HasStatus ¶
func HasStatus() predicate.VulnStatusIndex
HasStatus applies the HasEdge predicate on the "status" edge.
func HasStatusWith ¶
func HasStatusWith(preds ...predicate.VulnStatus) predicate.VulnStatusIndex
HasStatusWith applies the HasEdge predicate on the "status" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id string) predicate.VulnStatusIndex
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.VulnStatusIndex
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.VulnStatusIndex
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.VulnStatusIndex
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.VulnStatusIndex
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.VulnStatusIndex
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.VulnStatusIndex
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.VulnStatusIndex
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.VulnStatusIndex) predicate.VulnStatusIndex
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.VulnStatusIndex) predicate.VulnStatusIndex
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.