Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Task) predicate.Task
- func ID(id string) predicate.Task
- func IDEQ(id string) predicate.Task
- func IDGT(id string) predicate.Task
- func IDGTE(id string) predicate.Task
- func IDIn(ids ...string) predicate.Task
- func IDLT(id string) predicate.Task
- func IDLTE(id string) predicate.Task
- func IDNEQ(id string) predicate.Task
- func IDNotIn(ids ...string) predicate.Task
- func Not(p predicate.Task) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func Priority(v schema.Priority) predicate.Task
- func PriorityEQ(v schema.Priority) predicate.Task
- func PriorityGT(v schema.Priority) predicate.Task
- func PriorityGTE(v schema.Priority) predicate.Task
- func PriorityIn(vs ...schema.Priority) predicate.Task
- func PriorityLT(v schema.Priority) predicate.Task
- func PriorityLTE(v schema.Priority) predicate.Task
- func PriorityNEQ(v schema.Priority) predicate.Task
- func PriorityNotIn(vs ...schema.Priority) predicate.Task
Constants ¶
View Source
const ( // Label holds the string label denoting the task type in the database. Label = "task" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPriority holds the string denoting the priority field in the database. FieldPriority = "priority" )
Variables ¶
View Source
var ( // DefaultPriority holds the default value on creation for the priority field. DefaultPriority schema.Priority // PriorityValidator is a validator for the "priority" field. It is called by the builders before save. PriorityValidator func(int) error )
Functions ¶
func Priority ¶
Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.
func PriorityEQ ¶
PriorityEQ applies the EQ predicate on the "priority" field.
func PriorityGT ¶
PriorityGT applies the GT predicate on the "priority" field.
func PriorityGTE ¶
PriorityGTE applies the GTE predicate on the "priority" field.
func PriorityIn ¶
PriorityIn applies the In predicate on the "priority" field.
func PriorityLT ¶
PriorityLT applies the LT predicate on the "priority" field.
func PriorityLTE ¶
PriorityLTE applies the LTE predicate on the "priority" field.
func PriorityNEQ ¶
PriorityNEQ applies the NEQ predicate on the "priority" field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.