Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TaskType) predicate.TaskType
- func Code(v string) predicate.TaskType
- func CodeContains(v string) predicate.TaskType
- func CodeContainsFold(v string) predicate.TaskType
- func CodeEQ(v string) predicate.TaskType
- func CodeEqualFold(v string) predicate.TaskType
- func CodeGT(v string) predicate.TaskType
- func CodeGTE(v string) predicate.TaskType
- func CodeHasPrefix(v string) predicate.TaskType
- func CodeHasSuffix(v string) predicate.TaskType
- func CodeIn(vs ...string) predicate.TaskType
- func CodeLT(v string) predicate.TaskType
- func CodeLTE(v string) predicate.TaskType
- func CodeNEQ(v string) predicate.TaskType
- func CodeNotIn(vs ...string) predicate.TaskType
- func HasTasks() predicate.TaskType
- func HasTasksWith(preds ...predicate.Task) predicate.TaskType
- func ID(id int) predicate.TaskType
- func IDEQ(id int) predicate.TaskType
- func IDGT(id int) predicate.TaskType
- func IDGTE(id int) predicate.TaskType
- func IDIn(ids ...int) predicate.TaskType
- func IDLT(id int) predicate.TaskType
- func IDLTE(id int) predicate.TaskType
- func IDNEQ(id int) predicate.TaskType
- func IDNotIn(ids ...int) predicate.TaskType
- func Not(p predicate.TaskType) predicate.TaskType
- func Or(predicates ...predicate.TaskType) predicate.TaskType
- func Title(v string) predicate.TaskType
- func TitleContains(v string) predicate.TaskType
- func TitleContainsFold(v string) predicate.TaskType
- func TitleEQ(v string) predicate.TaskType
- func TitleEqualFold(v string) predicate.TaskType
- func TitleGT(v string) predicate.TaskType
- func TitleGTE(v string) predicate.TaskType
- func TitleHasPrefix(v string) predicate.TaskType
- func TitleHasSuffix(v string) predicate.TaskType
- func TitleIn(vs ...string) predicate.TaskType
- func TitleLT(v string) predicate.TaskType
- func TitleLTE(v string) predicate.TaskType
- func TitleNEQ(v string) predicate.TaskType
- func TitleNotIn(vs ...string) predicate.TaskType
Constants ¶
const ( // Label holds the string label denoting the tasktype type in the database. Label = "task_type" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCode holds the string denoting the code field in the database. FieldCode = "code" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // Table holds the table name of the tasktype in the database. Table = "task_types" // TasksTable is the table the holds the tasks relation/edge. TasksTable = "tasks" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "tasks" // TasksColumn is the table column denoting the tasks relation/edge. TasksColumn = "task_type_tasks" )
Variables ¶
var ( // CodeValidator is a validator for the "code" field. It is called by the builders before save. CodeValidator func(string) error // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error )
var Columns = []string{ FieldID, FieldCode, FieldTitle, }
Columns holds all SQL columns for tasktype fields.
Functions ¶
func CodeContains ¶
CodeContains applies the Contains predicate on the "code" field.
func CodeContainsFold ¶
CodeContainsFold applies the ContainsFold predicate on the "code" field.
func CodeEqualFold ¶
CodeEqualFold applies the EqualFold predicate on the "code" field.
func CodeHasPrefix ¶
CodeHasPrefix applies the HasPrefix predicate on the "code" field.
func CodeHasSuffix ¶
CodeHasSuffix applies the HasSuffix predicate on the "code" field.
func HasTasksWith ¶
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
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.
Types ¶
This section is empty.