Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Timing) predicate.Timing
- func Category(v string) predicate.Timing
- func CategoryContains(v string) predicate.Timing
- func CategoryContainsFold(v string) predicate.Timing
- func CategoryEQ(v string) predicate.Timing
- func CategoryEqualFold(v string) predicate.Timing
- func CategoryGT(v string) predicate.Timing
- func CategoryGTE(v string) predicate.Timing
- func CategoryHasPrefix(v string) predicate.Timing
- func CategoryHasSuffix(v string) predicate.Timing
- func CategoryIn(vs ...string) predicate.Timing
- func CategoryLT(v string) predicate.Timing
- func CategoryLTE(v string) predicate.Timing
- func CategoryNEQ(v string) predicate.Timing
- func CategoryNotIn(vs ...string) predicate.Timing
- func HasEvents() predicate.Timing
- func HasEventsWith(preds ...predicate.Event) predicate.Timing
- func ID(id int) predicate.Timing
- func IDEQ(id int) predicate.Timing
- func IDGT(id int) predicate.Timing
- func IDGTE(id int) predicate.Timing
- func IDIn(ids ...int) predicate.Timing
- func IDLT(id int) predicate.Timing
- func IDLTE(id int) predicate.Timing
- func IDNEQ(id int) predicate.Timing
- func IDNotIn(ids ...int) predicate.Timing
- func Not(p predicate.Timing) predicate.Timing
- func Or(predicates ...predicate.Timing) predicate.Timing
- func TimingLabel(v string) predicate.Timing
- func TimingLabelContains(v string) predicate.Timing
- func TimingLabelContainsFold(v string) predicate.Timing
- func TimingLabelEQ(v string) predicate.Timing
- func TimingLabelEqualFold(v string) predicate.Timing
- func TimingLabelGT(v string) predicate.Timing
- func TimingLabelGTE(v string) predicate.Timing
- func TimingLabelHasPrefix(v string) predicate.Timing
- func TimingLabelHasSuffix(v string) predicate.Timing
- func TimingLabelIn(vs ...string) predicate.Timing
- func TimingLabelLT(v string) predicate.Timing
- func TimingLabelLTE(v string) predicate.Timing
- func TimingLabelNEQ(v string) predicate.Timing
- func TimingLabelNotIn(vs ...string) predicate.Timing
- func Unit(v string) predicate.Timing
- func UnitContains(v string) predicate.Timing
- func UnitContainsFold(v string) predicate.Timing
- func UnitEQ(v string) predicate.Timing
- func UnitEqualFold(v string) predicate.Timing
- func UnitGT(v string) predicate.Timing
- func UnitGTE(v string) predicate.Timing
- func UnitHasPrefix(v string) predicate.Timing
- func UnitHasSuffix(v string) predicate.Timing
- func UnitIn(vs ...string) predicate.Timing
- func UnitLT(v string) predicate.Timing
- func UnitLTE(v string) predicate.Timing
- func UnitNEQ(v string) predicate.Timing
- func UnitNotIn(vs ...string) predicate.Timing
- func Value(v float64) predicate.Timing
- func ValueEQ(v float64) predicate.Timing
- func ValueGT(v float64) predicate.Timing
- func ValueGTE(v float64) predicate.Timing
- func ValueIn(vs ...float64) predicate.Timing
- func ValueLT(v float64) predicate.Timing
- func ValueLTE(v float64) predicate.Timing
- func ValueNEQ(v float64) predicate.Timing
- func ValueNotIn(vs ...float64) predicate.Timing
- func Variable(v string) predicate.Timing
- func VariableContains(v string) predicate.Timing
- func VariableContainsFold(v string) predicate.Timing
- func VariableEQ(v string) predicate.Timing
- func VariableEqualFold(v string) predicate.Timing
- func VariableGT(v string) predicate.Timing
- func VariableGTE(v string) predicate.Timing
- func VariableHasPrefix(v string) predicate.Timing
- func VariableHasSuffix(v string) predicate.Timing
- func VariableIn(vs ...string) predicate.Timing
- func VariableLT(v string) predicate.Timing
- func VariableLTE(v string) predicate.Timing
- func VariableNEQ(v string) predicate.Timing
- func VariableNotIn(vs ...string) predicate.Timing
Constants ¶
const ( // Label holds the string label denoting the timing type in the database. Label = "timing" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCategory holds the string denoting the category field in the database. FieldCategory = "category" // FieldTimingLabel holds the string denoting the timing_label field in the database. FieldTimingLabel = "label" // FieldUnit holds the string denoting the unit field in the database. FieldUnit = "unit" // FieldVariable holds the string denoting the variable field in the database. FieldVariable = "variable" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the timing in the database. Table = "timings" // EventsTable is the table the holds the events relation/edge. EventsTable = "events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "event_timing" )
Variables ¶
var Columns = []string{ FieldID, FieldCategory, FieldTimingLabel, FieldUnit, FieldVariable, FieldValue, }
Columns holds all SQL columns for timing fields.
Functions ¶
func Category ¶
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶
CategoryIn applies the In predicate on the "category" field.
func CategoryLT ¶
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶
CategoryNotIn applies the NotIn predicate on the "category" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func TimingLabel ¶
TimingLabel applies equality check predicate on the "timing_label" field. It's identical to TimingLabelEQ.
func TimingLabelContains ¶
TimingLabelContains applies the Contains predicate on the "timing_label" field.
func TimingLabelContainsFold ¶
TimingLabelContainsFold applies the ContainsFold predicate on the "timing_label" field.
func TimingLabelEQ ¶
TimingLabelEQ applies the EQ predicate on the "timing_label" field.
func TimingLabelEqualFold ¶
TimingLabelEqualFold applies the EqualFold predicate on the "timing_label" field.
func TimingLabelGT ¶
TimingLabelGT applies the GT predicate on the "timing_label" field.
func TimingLabelGTE ¶
TimingLabelGTE applies the GTE predicate on the "timing_label" field.
func TimingLabelHasPrefix ¶
TimingLabelHasPrefix applies the HasPrefix predicate on the "timing_label" field.
func TimingLabelHasSuffix ¶
TimingLabelHasSuffix applies the HasSuffix predicate on the "timing_label" field.
func TimingLabelIn ¶
TimingLabelIn applies the In predicate on the "timing_label" field.
func TimingLabelLT ¶
TimingLabelLT applies the LT predicate on the "timing_label" field.
func TimingLabelLTE ¶
TimingLabelLTE applies the LTE predicate on the "timing_label" field.
func TimingLabelNEQ ¶
TimingLabelNEQ applies the NEQ predicate on the "timing_label" field.
func TimingLabelNotIn ¶
TimingLabelNotIn applies the NotIn predicate on the "timing_label" field.
func UnitContains ¶
UnitContains applies the Contains predicate on the "unit" field.
func UnitContainsFold ¶
UnitContainsFold applies the ContainsFold predicate on the "unit" field.
func UnitEqualFold ¶
UnitEqualFold applies the EqualFold predicate on the "unit" field.
func UnitHasPrefix ¶
UnitHasPrefix applies the HasPrefix predicate on the "unit" field.
func UnitHasSuffix ¶
UnitHasSuffix applies the HasSuffix predicate on the "unit" field.
func Value ¶
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueNotIn ¶
ValueNotIn applies the NotIn predicate on the "value" field.
func Variable ¶
Variable applies equality check predicate on the "variable" field. It's identical to VariableEQ.
func VariableContains ¶
VariableContains applies the Contains predicate on the "variable" field.
func VariableContainsFold ¶
VariableContainsFold applies the ContainsFold predicate on the "variable" field.
func VariableEQ ¶
VariableEQ applies the EQ predicate on the "variable" field.
func VariableEqualFold ¶
VariableEqualFold applies the EqualFold predicate on the "variable" field.
func VariableGT ¶
VariableGT applies the GT predicate on the "variable" field.
func VariableGTE ¶
VariableGTE applies the GTE predicate on the "variable" field.
func VariableHasPrefix ¶
VariableHasPrefix applies the HasPrefix predicate on the "variable" field.
func VariableHasSuffix ¶
VariableHasSuffix applies the HasSuffix predicate on the "variable" field.
func VariableIn ¶
VariableIn applies the In predicate on the "variable" field.
func VariableLT ¶
VariableLT applies the LT predicate on the "variable" field.
func VariableLTE ¶
VariableLTE applies the LTE predicate on the "variable" field.
func VariableNEQ ¶
VariableNEQ applies the NEQ predicate on the "variable" field.
func VariableNotIn ¶
VariableNotIn applies the NotIn predicate on the "variable" field.
Types ¶
This section is empty.