Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.IndicatorParams) predicate.IndicatorParams
- func HasIndicator() predicate.IndicatorParams
- func HasIndicatorWith(preds ...predicate.Indicator) predicate.IndicatorParams
- func ID(id int) predicate.IndicatorParams
- func IDEQ(id int) predicate.IndicatorParams
- func IDGT(id int) predicate.IndicatorParams
- func IDGTE(id int) predicate.IndicatorParams
- func IDIn(ids ...int) predicate.IndicatorParams
- func IDLT(id int) predicate.IndicatorParams
- func IDLTE(id int) predicate.IndicatorParams
- func IDNEQ(id int) predicate.IndicatorParams
- func IDNotIn(ids ...int) predicate.IndicatorParams
- func Not(p predicate.IndicatorParams) predicate.IndicatorParams
- func Or(predicates ...predicate.IndicatorParams) predicate.IndicatorParams
- func ValidColumn(column string) bool
- func ValueMappingIsNil() predicate.IndicatorParams
- func ValueMappingNotNil() predicate.IndicatorParams
Constants ¶
const ( // Label holds the string label denoting the indicatorparams type in the database. Label = "indicator_params" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldValueMapping holds the string denoting the value_mapping field in the database. FieldValueMapping = "value_mapping" // FieldValueParams holds the string denoting the value_params field in the database. FieldValueParams = "value_params" // EdgeIndicator holds the string denoting the indicator edge name in mutations. EdgeIndicator = "indicator" // Table holds the table name of the indicatorparams in the database. Table = "indicator_params" // IndicatorTable is the table the holds the indicator relation/edge. IndicatorTable = "indicator_params" // IndicatorInverseTable is the table name for the Indicator entity. // It exists in this package in order to avoid circular dependency with the "indicator" package. IndicatorInverseTable = "indicators" // IndicatorColumn is the table column denoting the indicator relation/edge. IndicatorColumn = "indicator_indicator_params" )
Variables ¶
var Columns = []string{ FieldID, FieldValueMapping, FieldValueParams, }
Columns holds all SQL columns for indicatorparams fields.
var ForeignKeys = []string{
"indicator_indicator_params",
}
ForeignKeys holds the SQL foreign-keys that are owned by the IndicatorParams type.
Functions ¶
func And ¶
func And(predicates ...predicate.IndicatorParams) predicate.IndicatorParams
And groups predicates with the AND operator between them.
func HasIndicator ¶
func HasIndicator() predicate.IndicatorParams
HasIndicator applies the HasEdge predicate on the "indicator" edge.
func HasIndicatorWith ¶
func HasIndicatorWith(preds ...predicate.Indicator) predicate.IndicatorParams
HasIndicatorWith applies the HasEdge predicate on the "indicator" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.IndicatorParams
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.IndicatorParams
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.IndicatorParams
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.IndicatorParams
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.IndicatorParams
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.IndicatorParams
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.IndicatorParams
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.IndicatorParams
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.IndicatorParams) predicate.IndicatorParams
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.IndicatorParams) predicate.IndicatorParams
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ValueMappingIsNil ¶
func ValueMappingIsNil() predicate.IndicatorParams
ValueMappingIsNil applies the IsNil predicate on the "value_mapping" field.
func ValueMappingNotNil ¶
func ValueMappingNotNil() predicate.IndicatorParams
ValueMappingNotNil applies the NotNil predicate on the "value_mapping" field.
Types ¶
This section is empty.