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.
ByCalLimit orders the results by the cal_limit field.
ByDefaultActiveCal orders the results by the default_active_cal field.
ByID orders the results by the id field.
ByUserid orders the results by the userid field.
CalLimit applies equality check predicate on the "cal_limit" field.
CalLimitEQ applies the EQ predicate on the "cal_limit" field.
CalLimitGT applies the GT predicate on the "cal_limit" field.
CalLimitGTE applies the GTE predicate on the "cal_limit" field.
CalLimitIn applies the In predicate on the "cal_limit" field.
CalLimitLT applies the LT predicate on the "cal_limit" field.
CalLimitLTE applies the LTE predicate on the "cal_limit" field.
CalLimitNEQ applies the NEQ predicate on the "cal_limit" field.
CalLimitNotIn applies the NotIn predicate on the "cal_limit" field.
DefaultActiveCal applies equality check predicate on the "default_active_cal" field.
DefaultActiveCalEQ applies the EQ predicate on the "default_active_cal" field.
DefaultActiveCalGT applies the GT predicate on the "default_active_cal" field.
DefaultActiveCalGTE applies the GTE predicate on the "default_active_cal" field.
DefaultActiveCalIn applies the In predicate on the "default_active_cal" field.
DefaultActiveCalLT applies the LT predicate on the "default_active_cal" field.
DefaultActiveCalLTE applies the LTE predicate on the "default_active_cal" field.
DefaultActiveCalNEQ applies the NEQ predicate on the "default_active_cal" field.
DefaultActiveCalNotIn applies the NotIn predicate on the "default_active_cal" field.
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.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
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
FieldCalLimit holds the string denoting the cal_limit field in the database.
FieldDefaultActiveCal holds the string denoting the default_active_cal field in the database.
FieldID holds the string denoting the id field in the database.
FieldUserid holds the string denoting the userid field in the database.
Label holds the string label denoting the usersettings type in the database.
Table holds the table name of the usersettings in the database.
# Variables
Columns holds all SQL columns for usersettings fields.
# Type aliases
OrderOption defines the ordering options for the UserSettings queries.