timing

package
v0.0.0-...-6edac6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for timing fields.

Functions

func And

func And(predicates ...predicate.Timing) predicate.Timing

And groups list of predicates with the AND operator between them.

func Category

func Category(v string) predicate.Timing

Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.

func CategoryContains

func CategoryContains(v string) predicate.Timing

CategoryContains applies the Contains predicate on the "category" field.

func CategoryContainsFold

func CategoryContainsFold(v string) predicate.Timing

CategoryContainsFold applies the ContainsFold predicate on the "category" field.

func CategoryEQ

func CategoryEQ(v string) predicate.Timing

CategoryEQ applies the EQ predicate on the "category" field.

func CategoryEqualFold

func CategoryEqualFold(v string) predicate.Timing

CategoryEqualFold applies the EqualFold predicate on the "category" field.

func CategoryGT

func CategoryGT(v string) predicate.Timing

CategoryGT applies the GT predicate on the "category" field.

func CategoryGTE

func CategoryGTE(v string) predicate.Timing

CategoryGTE applies the GTE predicate on the "category" field.

func CategoryHasPrefix

func CategoryHasPrefix(v string) predicate.Timing

CategoryHasPrefix applies the HasPrefix predicate on the "category" field.

func CategoryHasSuffix

func CategoryHasSuffix(v string) predicate.Timing

CategoryHasSuffix applies the HasSuffix predicate on the "category" field.

func CategoryIn

func CategoryIn(vs ...string) predicate.Timing

CategoryIn applies the In predicate on the "category" field.

func CategoryLT

func CategoryLT(v string) predicate.Timing

CategoryLT applies the LT predicate on the "category" field.

func CategoryLTE

func CategoryLTE(v string) predicate.Timing

CategoryLTE applies the LTE predicate on the "category" field.

func CategoryNEQ

func CategoryNEQ(v string) predicate.Timing

CategoryNEQ applies the NEQ predicate on the "category" field.

func CategoryNotIn

func CategoryNotIn(vs ...string) predicate.Timing

CategoryNotIn applies the NotIn predicate on the "category" field.

func HasEvents

func HasEvents() predicate.Timing

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.Timing

HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.Timing

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Timing

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Timing

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Timing

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Timing

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Timing

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Timing

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Timing

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Timing

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Timing) predicate.Timing

Or groups list of predicates with the OR operator between them.

func TimingLabel

func TimingLabel(v string) predicate.Timing

TimingLabel applies equality check predicate on the "timing_label" field. It's identical to TimingLabelEQ.

func TimingLabelContains

func TimingLabelContains(v string) predicate.Timing

TimingLabelContains applies the Contains predicate on the "timing_label" field.

func TimingLabelContainsFold

func TimingLabelContainsFold(v string) predicate.Timing

TimingLabelContainsFold applies the ContainsFold predicate on the "timing_label" field.

func TimingLabelEQ

func TimingLabelEQ(v string) predicate.Timing

TimingLabelEQ applies the EQ predicate on the "timing_label" field.

func TimingLabelEqualFold

func TimingLabelEqualFold(v string) predicate.Timing

TimingLabelEqualFold applies the EqualFold predicate on the "timing_label" field.

func TimingLabelGT

func TimingLabelGT(v string) predicate.Timing

TimingLabelGT applies the GT predicate on the "timing_label" field.

func TimingLabelGTE

func TimingLabelGTE(v string) predicate.Timing

TimingLabelGTE applies the GTE predicate on the "timing_label" field.

func TimingLabelHasPrefix

func TimingLabelHasPrefix(v string) predicate.Timing

TimingLabelHasPrefix applies the HasPrefix predicate on the "timing_label" field.

func TimingLabelHasSuffix

func TimingLabelHasSuffix(v string) predicate.Timing

TimingLabelHasSuffix applies the HasSuffix predicate on the "timing_label" field.

func TimingLabelIn

func TimingLabelIn(vs ...string) predicate.Timing

TimingLabelIn applies the In predicate on the "timing_label" field.

func TimingLabelLT

func TimingLabelLT(v string) predicate.Timing

TimingLabelLT applies the LT predicate on the "timing_label" field.

func TimingLabelLTE

func TimingLabelLTE(v string) predicate.Timing

TimingLabelLTE applies the LTE predicate on the "timing_label" field.

func TimingLabelNEQ

func TimingLabelNEQ(v string) predicate.Timing

TimingLabelNEQ applies the NEQ predicate on the "timing_label" field.

func TimingLabelNotIn

func TimingLabelNotIn(vs ...string) predicate.Timing

TimingLabelNotIn applies the NotIn predicate on the "timing_label" field.

func Unit

func Unit(v string) predicate.Timing

Unit applies equality check predicate on the "unit" field. It's identical to UnitEQ.

func UnitContains

func UnitContains(v string) predicate.Timing

UnitContains applies the Contains predicate on the "unit" field.

func UnitContainsFold

func UnitContainsFold(v string) predicate.Timing

UnitContainsFold applies the ContainsFold predicate on the "unit" field.

func UnitEQ

func UnitEQ(v string) predicate.Timing

UnitEQ applies the EQ predicate on the "unit" field.

func UnitEqualFold

func UnitEqualFold(v string) predicate.Timing

UnitEqualFold applies the EqualFold predicate on the "unit" field.

func UnitGT

func UnitGT(v string) predicate.Timing

UnitGT applies the GT predicate on the "unit" field.

func UnitGTE

func UnitGTE(v string) predicate.Timing

UnitGTE applies the GTE predicate on the "unit" field.

func UnitHasPrefix

func UnitHasPrefix(v string) predicate.Timing

UnitHasPrefix applies the HasPrefix predicate on the "unit" field.

func UnitHasSuffix

func UnitHasSuffix(v string) predicate.Timing

UnitHasSuffix applies the HasSuffix predicate on the "unit" field.

func UnitIn

func UnitIn(vs ...string) predicate.Timing

UnitIn applies the In predicate on the "unit" field.

func UnitLT

func UnitLT(v string) predicate.Timing

UnitLT applies the LT predicate on the "unit" field.

func UnitLTE

func UnitLTE(v string) predicate.Timing

UnitLTE applies the LTE predicate on the "unit" field.

func UnitNEQ

func UnitNEQ(v string) predicate.Timing

UnitNEQ applies the NEQ predicate on the "unit" field.

func UnitNotIn

func UnitNotIn(vs ...string) predicate.Timing

UnitNotIn applies the NotIn predicate on the "unit" field.

func Value

func Value(v float64) predicate.Timing

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueEQ

func ValueEQ(v float64) predicate.Timing

ValueEQ applies the EQ predicate on the "value" field.

func ValueGT

func ValueGT(v float64) predicate.Timing

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

func ValueGTE(v float64) predicate.Timing

ValueGTE applies the GTE predicate on the "value" field.

func ValueIn

func ValueIn(vs ...float64) predicate.Timing

ValueIn applies the In predicate on the "value" field.

func ValueLT

func ValueLT(v float64) predicate.Timing

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

func ValueLTE(v float64) predicate.Timing

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

func ValueNEQ(v float64) predicate.Timing

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...float64) predicate.Timing

ValueNotIn applies the NotIn predicate on the "value" field.

func Variable

func Variable(v string) predicate.Timing

Variable applies equality check predicate on the "variable" field. It's identical to VariableEQ.

func VariableContains

func VariableContains(v string) predicate.Timing

VariableContains applies the Contains predicate on the "variable" field.

func VariableContainsFold

func VariableContainsFold(v string) predicate.Timing

VariableContainsFold applies the ContainsFold predicate on the "variable" field.

func VariableEQ

func VariableEQ(v string) predicate.Timing

VariableEQ applies the EQ predicate on the "variable" field.

func VariableEqualFold

func VariableEqualFold(v string) predicate.Timing

VariableEqualFold applies the EqualFold predicate on the "variable" field.

func VariableGT

func VariableGT(v string) predicate.Timing

VariableGT applies the GT predicate on the "variable" field.

func VariableGTE

func VariableGTE(v string) predicate.Timing

VariableGTE applies the GTE predicate on the "variable" field.

func VariableHasPrefix

func VariableHasPrefix(v string) predicate.Timing

VariableHasPrefix applies the HasPrefix predicate on the "variable" field.

func VariableHasSuffix

func VariableHasSuffix(v string) predicate.Timing

VariableHasSuffix applies the HasSuffix predicate on the "variable" field.

func VariableIn

func VariableIn(vs ...string) predicate.Timing

VariableIn applies the In predicate on the "variable" field.

func VariableLT

func VariableLT(v string) predicate.Timing

VariableLT applies the LT predicate on the "variable" field.

func VariableLTE

func VariableLTE(v string) predicate.Timing

VariableLTE applies the LTE predicate on the "variable" field.

func VariableNEQ

func VariableNEQ(v string) predicate.Timing

VariableNEQ applies the NEQ predicate on the "variable" field.

func VariableNotIn

func VariableNotIn(vs ...string) predicate.Timing

VariableNotIn applies the NotIn predicate on the "variable" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL