Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Receipt) predicate.Receipt
- func HasDirections() predicate.Receipt
- func HasDirectionsWith(preds ...predicate.Direction) predicate.Receipt
- func HasIngredients() predicate.Receipt
- func HasIngredientsWith(preds ...predicate.Ingredient) predicate.Receipt
- func ID(id int) predicate.Receipt
- func IDEQ(id int) predicate.Receipt
- func IDGT(id int) predicate.Receipt
- func IDGTE(id int) predicate.Receipt
- func IDIn(ids ...int) predicate.Receipt
- func IDLT(id int) predicate.Receipt
- func IDLTE(id int) predicate.Receipt
- func IDNEQ(id int) predicate.Receipt
- func IDNotIn(ids ...int) predicate.Receipt
- func Name(v string) predicate.Receipt
- func NameContains(v string) predicate.Receipt
- func NameContainsFold(v string) predicate.Receipt
- func NameEQ(v string) predicate.Receipt
- func NameEqualFold(v string) predicate.Receipt
- func NameGT(v string) predicate.Receipt
- func NameGTE(v string) predicate.Receipt
- func NameHasPrefix(v string) predicate.Receipt
- func NameHasSuffix(v string) predicate.Receipt
- func NameIn(vs ...string) predicate.Receipt
- func NameLT(v string) predicate.Receipt
- func NameLTE(v string) predicate.Receipt
- func NameNEQ(v string) predicate.Receipt
- func NameNotIn(vs ...string) predicate.Receipt
- func Not(p predicate.Receipt) predicate.Receipt
- func Or(predicates ...predicate.Receipt) predicate.Receipt
- func Portions(v int) predicate.Receipt
- func PortionsEQ(v int) predicate.Receipt
- func PortionsGT(v int) predicate.Receipt
- func PortionsGTE(v int) predicate.Receipt
- func PortionsIn(vs ...int) predicate.Receipt
- func PortionsLT(v int) predicate.Receipt
- func PortionsLTE(v int) predicate.Receipt
- func PortionsNEQ(v int) predicate.Receipt
- func PortionsNotIn(vs ...int) predicate.Receipt
Constants ¶
const ( // Label holds the string label denoting the receipt type in the database. Label = "receipt" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name vertex property in the database. FieldName = "name" // FieldPortions holds the string denoting the portions vertex property in the database. FieldPortions = "portions" // Table holds the table name of the receipt in the database. Table = "receipts" // IngredientsTable is the table the holds the ingredients relation/edge. IngredientsTable = "ingredients" // IngredientsInverseTable is the table name for the Ingredient entity. // It exists in this package in order to avoid circular dependency with the "ingredient" package. IngredientsInverseTable = "ingredients" // IngredientsColumn is the table column denoting the ingredients relation/edge. IngredientsColumn = "receipt_ingredient_id" // DirectionsTable is the table the holds the directions relation/edge. DirectionsTable = "directions" // DirectionsInverseTable is the table name for the Direction entity. // It exists in this package in order to avoid circular dependency with the "direction" package. DirectionsInverseTable = "directions" // DirectionsColumn is the table column denoting the directions relation/edge. DirectionsColumn = "receipt_direction_id" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldPortions, }
Columns holds all SQL columns are receipt fields.
Functions ¶
func HasDirections ¶
HasDirections applies the HasEdge predicate on the "directions" edge.
func HasDirectionsWith ¶
HasDirectionsWith applies the HasEdge predicate on the "directions" edge with a given conditions (other predicates).
func HasIngredients ¶
HasIngredients applies the HasEdge predicate on the "ingredients" edge.
func HasIngredientsWith ¶
func HasIngredientsWith(preds ...predicate.Ingredient) predicate.Receipt
HasIngredientsWith applies the HasEdge predicate on the "ingredients" edge with a given conditions (other predicates).
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 Portions ¶
Portions applies equality check predicate on the "portions" field. It's identical to PortionsEQ.
func PortionsEQ ¶
PortionsEQ applies the EQ predicate on the "portions" field.
func PortionsGT ¶
PortionsGT applies the GT predicate on the "portions" field.
func PortionsGTE ¶
PortionsGTE applies the GTE predicate on the "portions" field.
func PortionsIn ¶
PortionsIn applies the In predicate on the "portions" field.
func PortionsLT ¶
PortionsLT applies the LT predicate on the "portions" field.
func PortionsLTE ¶
PortionsLTE applies the LTE predicate on the "portions" field.
func PortionsNEQ ¶
PortionsNEQ applies the NEQ predicate on the "portions" field.
func PortionsNotIn ¶
PortionsNotIn applies the NotIn predicate on the "portions" field.
Types ¶
This section is empty.