Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Recipe) predicate.Recipe
- func ID(id uuid.UUID) predicate.Recipe
- func IDEQ(id uuid.UUID) predicate.Recipe
- func IDGT(id uuid.UUID) predicate.Recipe
- func IDGTE(id uuid.UUID) predicate.Recipe
- func IDIn(ids ...uuid.UUID) predicate.Recipe
- func IDLT(id uuid.UUID) predicate.Recipe
- func IDLTE(id uuid.UUID) predicate.Recipe
- func IDNEQ(id uuid.UUID) predicate.Recipe
- func IDNotIn(ids ...uuid.UUID) predicate.Recipe
- func Not(p predicate.Recipe) predicate.Recipe
- func Or(predicates ...predicate.Recipe) predicate.Recipe
- func Planned(v bool) predicate.Recipe
- func PlannedEQ(v bool) predicate.Recipe
- func PlannedNEQ(v bool) predicate.Recipe
- func Title(v string) predicate.Recipe
- func TitleContains(v string) predicate.Recipe
- func TitleContainsFold(v string) predicate.Recipe
- func TitleEQ(v string) predicate.Recipe
- func TitleEqualFold(v string) predicate.Recipe
- func TitleGT(v string) predicate.Recipe
- func TitleGTE(v string) predicate.Recipe
- func TitleHasPrefix(v string) predicate.Recipe
- func TitleHasSuffix(v string) predicate.Recipe
- func TitleIn(vs ...string) predicate.Recipe
- func TitleLT(v string) predicate.Recipe
- func TitleLTE(v string) predicate.Recipe
- func TitleNEQ(v string) predicate.Recipe
- func TitleNotIn(vs ...string) predicate.Recipe
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the recipe type in the database. Label = "recipe" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldPlanned holds the string denoting the planned field in the database. FieldPlanned = "planned" // Table holds the table name of the recipe in the database. Table = "recipes" )
Variables ¶
var Columns = []string{ FieldID, FieldTitle, FieldPlanned, }
Columns holds all SQL columns for recipe fields.
var ( // DefaultPlanned holds the default value on creation for the "planned" field. DefaultPlanned bool )
Functions ¶
func Planned ¶
Planned applies equality check predicate on the "planned" field. It's identical to PlannedEQ.
func PlannedNEQ ¶
PlannedNEQ applies the NEQ predicate on the "planned" field.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.