package
0.0.0-20241223183755-35153810ea79
Repository: https://github.com/devldavydov/myfood.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByFoodField orders the results by food field.
ByFoodweight orders the results by the foodweight field.
ByID orders the results by the id field.
ByMeal orders the results by the meal field.
ByTimestamp orders the results by the timestamp field.
ByUserid orders the results by the userid field.
Foodweight applies equality check predicate on the "foodweight" field.
FoodweightEQ applies the EQ predicate on the "foodweight" field.
FoodweightGT applies the GT predicate on the "foodweight" field.
FoodweightGTE applies the GTE predicate on the "foodweight" field.
FoodweightIn applies the In predicate on the "foodweight" field.
FoodweightLT applies the LT predicate on the "foodweight" field.
FoodweightLTE applies the LTE predicate on the "foodweight" field.
FoodweightNEQ applies the NEQ predicate on the "foodweight" field.
FoodweightNotIn applies the NotIn predicate on the "foodweight" field.
HasFood applies the HasEdge predicate on the "food" edge.
HasFoodWith applies the HasEdge predicate on the "food" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Meal applies equality check predicate on the "meal" field.
MealEQ applies the EQ predicate on the "meal" field.
MealGT applies the GT predicate on the "meal" field.
MealGTE applies the GTE predicate on the "meal" field.
MealIn applies the In predicate on the "meal" field.
MealLT applies the LT predicate on the "meal" field.
MealLTE applies the LTE predicate on the "meal" field.
MealNEQ applies the NEQ predicate on the "meal" field.
MealNotIn applies the NotIn predicate on the "meal" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Timestamp applies equality check predicate on the "timestamp" field.
TimestampEQ applies the EQ predicate on the "timestamp" field.
TimestampGT applies the GT predicate on the "timestamp" field.
TimestampGTE applies the GTE predicate on the "timestamp" field.
TimestampIn applies the In predicate on the "timestamp" field.
TimestampLT applies the LT predicate on the "timestamp" field.
TimestampLTE applies the LTE predicate on the "timestamp" field.
TimestampNEQ applies the NEQ predicate on the "timestamp" field.
TimestampNotIn applies the NotIn predicate on the "timestamp" field.
Userid applies equality check predicate on the "userid" field.
UseridEQ applies the EQ predicate on the "userid" field.
UseridGT applies the GT predicate on the "userid" field.
UseridGTE applies the GTE predicate on the "userid" field.
UseridIn applies the In predicate on the "userid" field.
UseridLT applies the LT predicate on the "userid" field.
UseridLTE applies the LTE predicate on the "userid" field.
UseridNEQ applies the NEQ predicate on the "userid" field.
UseridNotIn applies the NotIn predicate on the "userid" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

EdgeFood holds the string denoting the food edge name in mutations.
FieldFoodweight holds the string denoting the foodweight field in the database.
FieldID holds the string denoting the id field in the database.
FieldMeal holds the string denoting the meal field in the database.
FieldTimestamp holds the string denoting the timestamp field in the database.
FieldUserid holds the string denoting the userid field in the database.
FoodColumn is the table column denoting the food relation/edge.
FoodInverseTable is the table name for the Food entity.
FoodTable is the table that holds the food relation/edge.
Label holds the string label denoting the journal type in the database.
Table holds the table name of the journal in the database.

# Variables

Columns holds all SQL columns for journal fields.
ForeignKeys holds the SQL foreign-keys that are owned by the "journals" table and are not defined as standalone fields in the schema.

# Type aliases

OrderOption defines the ordering options for the Journal queries.