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.
ByID orders the results by the id field.
ByKey orders the results by the key field.
ByUserid orders the results by the userid 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.
Key applies equality check predicate on the "key" field.
KeyContains applies the Contains predicate on the "key" field.
KeyContainsFold applies the ContainsFold predicate on the "key" field.
KeyEQ applies the EQ predicate on the "key" field.
KeyEqualFold applies the EqualFold predicate on the "key" field.
KeyGT applies the GT predicate on the "key" field.
KeyGTE applies the GTE predicate on the "key" field.
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
KeyIn applies the In predicate on the "key" field.
KeyLT applies the LT predicate on the "key" field.
KeyLTE applies the LTE predicate on the "key" field.
KeyNEQ applies the NEQ predicate on the "key" field.
KeyNotIn applies the NotIn predicate on the "key" 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
FieldData holds the string denoting the data field in the database.
FieldID holds the string denoting the id field in the database.
FieldKey holds the string denoting the key field in the database.
FieldUserid holds the string denoting the userid field in the database.
Label holds the string label denoting the bundle type in the database.
Table holds the table name of the bundle in the database.
# Variables
Columns holds all SQL columns for bundle fields.
# Type aliases
OrderOption defines the ordering options for the Bundle queries.