package
0.0.0-20220131121932-de83243c5bef
Repository: https://github.com/danieltitkov/crud-api-service-sample.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
CreateTime applies equality check predicate on the "create_time" field.
CreateTimeEQ applies the EQ predicate on the "create_time" field.
CreateTimeGT applies the GT predicate on the "create_time" field.
CreateTimeGTE applies the GTE predicate on the "create_time" field.
CreateTimeIn applies the In predicate on the "create_time" field.
CreateTimeLT applies the LT predicate on the "create_time" field.
CreateTimeLTE applies the LTE predicate on the "create_time" field.
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
Description applies equality check predicate on the "description" field.
DescriptionContains applies the Contains predicate on the "description" field.
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
DescriptionEQ applies the EQ predicate on the "description" field.
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
DescriptionGT applies the GT predicate on the "description" field.
DescriptionGTE applies the GTE predicate on the "description" field.
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
DescriptionIn applies the In predicate on the "description" field.
DescriptionIsNil applies the IsNil predicate on the "description" field.
DescriptionLT applies the LT predicate on the "description" field.
DescriptionLTE applies the LTE predicate on the "description" field.
DescriptionNEQ applies the NEQ predicate on the "description" field.
DescriptionNotIn applies the NotIn predicate on the "description" field.
DescriptionNotNil applies the NotNil predicate on the "description" field.
DoughEQ applies the EQ predicate on the "dough" field.
DoughIn applies the In predicate on the "dough" field.
DoughNEQ applies the NEQ predicate on the "dough" field.
DoughNotIn applies the NotIn predicate on the "dough" field.
DoughValidator is a validator for the "dough" field enum values.
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.
Price applies equality check predicate on the "price" field.
PriceEQ applies the EQ predicate on the "price" field.
PriceGT applies the GT predicate on the "price" field.
PriceGTE applies the GTE predicate on the "price" field.
PriceIn applies the In predicate on the "price" field.
PriceLT applies the LT predicate on the "price" field.
PriceLTE applies the LTE predicate on the "price" field.
PriceNEQ applies the NEQ predicate on the "price" field.
PriceNotIn applies the NotIn predicate on the "price" field.
Title applies equality check predicate on the "title" field.
TitleContains applies the Contains predicate on the "title" field.
TitleContainsFold applies the ContainsFold predicate on the "title" field.
TitleEQ applies the EQ predicate on the "title" field.
TitleEqualFold applies the EqualFold predicate on the "title" field.
TitleGT applies the GT predicate on the "title" field.
TitleGTE applies the GTE predicate on the "title" field.
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
TitleIn applies the In predicate on the "title" field.
TitleLT applies the LT predicate on the "title" field.
TitleLTE applies the LTE predicate on the "title" field.
TitleNEQ applies the NEQ predicate on the "title" field.
TitleNotIn applies the NotIn predicate on the "title" field.
UpdateTime applies equality check predicate on the "update_time" field.
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
UpdateTimeGT applies the GT predicate on the "update_time" field.
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
UpdateTimeIn applies the In predicate on the "update_time" field.
UpdateTimeLT applies the LT predicate on the "update_time" field.
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

DoughThick is the default value of the Dough enum.
Dough values.
Dough values.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldDescription holds the string denoting the description field in the database.
FieldDough holds the string denoting the dough field in the database.
FieldID holds the string denoting the id field in the database.
FieldPrice holds the string denoting the price field in the database.
FieldTitle holds the string denoting the title field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
Label holds the string label denoting the pizza type in the database.
Table holds the table name of the pizza in the database.

# Variables

Columns holds all SQL columns for pizza fields.
DefaultCreateTime holds the default value on creation for the "create_time" field.
DefaultUpdateTime holds the default value on creation for the "update_time" field.
DescriptionValidator is a validator for the "description" field.
PriceValidator is a validator for the "price" field.
TitleValidator is a validator for the "title" field.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.

# Type aliases

Dough defines the type for the "dough" enum field.