Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ScaleItem) predicate.ScaleItem
- func HasItem() predicate.ScaleItem
- func HasItemWith(preds ...predicate.Item) predicate.ScaleItem
- func HasScale() predicate.ScaleItem
- func HasScaleWith(preds ...predicate.Scale) predicate.ScaleItem
- func ItemID(v uuid.UUID) predicate.ScaleItem
- func ItemIDEQ(v uuid.UUID) predicate.ScaleItem
- func ItemIDIn(vs ...uuid.UUID) predicate.ScaleItem
- func ItemIDNEQ(v uuid.UUID) predicate.ScaleItem
- func ItemIDNotIn(vs ...uuid.UUID) predicate.ScaleItem
- func Not(p predicate.ScaleItem) predicate.ScaleItem
- func Or(predicates ...predicate.ScaleItem) predicate.ScaleItem
- func Reverse(v bool) predicate.ScaleItem
- func ReverseEQ(v bool) predicate.ScaleItem
- func ReverseNEQ(v bool) predicate.ScaleItem
- func ScaleID(v uuid.UUID) predicate.ScaleItem
- func ScaleIDEQ(v uuid.UUID) predicate.ScaleItem
- func ScaleIDIn(vs ...uuid.UUID) predicate.ScaleItem
- func ScaleIDNEQ(v uuid.UUID) predicate.ScaleItem
- func ScaleIDNotIn(vs ...uuid.UUID) predicate.ScaleItem
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the scaleitem type in the database. Label = "scale_item" // FieldReverse holds the string denoting the reverse field in the database. FieldReverse = "reverse" // FieldScaleID holds the string denoting the scale_id field in the database. FieldScaleID = "scale_id" // FieldItemID holds the string denoting the item_id field in the database. FieldItemID = "item_id" // EdgeItem holds the string denoting the item edge name in mutations. EdgeItem = "item" // EdgeScale holds the string denoting the scale edge name in mutations. EdgeScale = "scale" // ItemFieldID holds the string denoting the ID field of the Item. ItemFieldID = "id" // ScaleFieldID holds the string denoting the ID field of the Scale. ScaleFieldID = "id" // Table holds the table name of the scaleitem in the database. Table = "scale_items" // ItemTable is the table that holds the item relation/edge. ItemTable = "scale_items" // ItemInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. ItemInverseTable = "items" // ItemColumn is the table column denoting the item relation/edge. ItemColumn = "item_id" // ScaleTable is the table that holds the scale relation/edge. ScaleTable = "scale_items" // ScaleInverseTable is the table name for the Scale entity. // It exists in this package in order to avoid circular dependency with the "scale" package. ScaleInverseTable = "scales" // ScaleColumn is the table column denoting the scale relation/edge. ScaleColumn = "scale_id" )
Variables ¶
var Columns = []string{ FieldReverse, FieldScaleID, FieldItemID, }
Columns holds all SQL columns for scaleitem fields.
var ( // DefaultReverse holds the default value on creation for the "reverse" field. DefaultReverse bool )
Functions ¶
func HasItemWith ¶
HasItemWith applies the HasEdge predicate on the "item" edge with a given conditions (other predicates).
func HasScaleWith ¶
HasScaleWith applies the HasEdge predicate on the "scale" edge with a given conditions (other predicates).
func ItemID ¶
ItemID applies equality check predicate on the "item_id" field. It's identical to ItemIDEQ.
func ItemIDNotIn ¶
ItemIDNotIn applies the NotIn predicate on the "item_id" field.
func Reverse ¶
Reverse applies equality check predicate on the "reverse" field. It's identical to ReverseEQ.
func ReverseNEQ ¶
ReverseNEQ applies the NEQ predicate on the "reverse" field.
func ScaleID ¶
ScaleID applies equality check predicate on the "scale_id" field. It's identical to ScaleIDEQ.
func ScaleIDNEQ ¶
ScaleIDNEQ applies the NEQ predicate on the "scale_id" field.
func ScaleIDNotIn ¶
ScaleIDNotIn applies the NotIn predicate on the "scale_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.