timingbreakdown

package
v0.0.0-...-abb76f0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the timingbreakdown type in the database.
	Label = "timing_breakdown"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldTime holds the string denoting the time field in the database.
	FieldTime = "time"
	// EdgeExecutionInfo holds the string denoting the execution_info edge name in mutations.
	EdgeExecutionInfo = "execution_info"
	// EdgeChild holds the string denoting the child edge name in mutations.
	EdgeChild = "child"
	// Table holds the table name of the timingbreakdown in the database.
	Table = "timing_breakdowns"
	// ExecutionInfoTable is the table that holds the execution_info relation/edge.
	ExecutionInfoTable = "timing_breakdowns"
	// ExecutionInfoInverseTable is the table name for the ExectionInfo entity.
	// It exists in this package in order to avoid circular dependency with the "exectioninfo" package.
	ExecutionInfoInverseTable = "exection_infos"
	// ExecutionInfoColumn is the table column denoting the execution_info relation/edge.
	ExecutionInfoColumn = "exection_info_timing_breakdown"
	// ChildTable is the table that holds the child relation/edge.
	ChildTable = "timing_childs"
	// ChildInverseTable is the table name for the TimingChild entity.
	// It exists in this package in order to avoid circular dependency with the "timingchild" package.
	ChildInverseTable = "timing_childs"
	// ChildColumn is the table column denoting the child relation/edge.
	ChildColumn = "timing_breakdown_child"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldName,
	FieldTime,
}

Columns holds all SQL columns for timingbreakdown fields.

View Source
var ForeignKeys = []string{
	"exection_info_timing_breakdown",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "timing_breakdowns" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func HasChild

func HasChild() predicate.TimingBreakdown

HasChild applies the HasEdge predicate on the "child" edge.

func HasChildWith

func HasChildWith(preds ...predicate.TimingChild) predicate.TimingBreakdown

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

func HasExecutionInfo

func HasExecutionInfo() predicate.TimingBreakdown

HasExecutionInfo applies the HasEdge predicate on the "execution_info" edge.

func HasExecutionInfoWith

func HasExecutionInfoWith(preds ...predicate.ExectionInfo) predicate.TimingBreakdown

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.TimingBreakdown

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.TimingBreakdown

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.TimingBreakdown

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.TimingBreakdown

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.TimingBreakdown

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.TimingBreakdown

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.TimingBreakdown

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.TimingBreakdown

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.TimingBreakdown

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.TimingBreakdown

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.TimingBreakdown

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.TimingBreakdown

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.TimingBreakdown

NameIn applies the In predicate on the "name" field.

func NameIsNil

func NameIsNil() predicate.TimingBreakdown

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.TimingBreakdown

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.TimingBreakdown

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.TimingBreakdown

NameNotIn applies the NotIn predicate on the "name" field.

func NameNotNil

func NameNotNil() predicate.TimingBreakdown

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Time

Time applies equality check predicate on the "time" field. It's identical to TimeEQ.

func TimeContains

func TimeContains(v string) predicate.TimingBreakdown

TimeContains applies the Contains predicate on the "time" field.

func TimeContainsFold

func TimeContainsFold(v string) predicate.TimingBreakdown

TimeContainsFold applies the ContainsFold predicate on the "time" field.

func TimeEQ

TimeEQ applies the EQ predicate on the "time" field.

func TimeEqualFold

func TimeEqualFold(v string) predicate.TimingBreakdown

TimeEqualFold applies the EqualFold predicate on the "time" field.

func TimeGT

TimeGT applies the GT predicate on the "time" field.

func TimeGTE

func TimeGTE(v string) predicate.TimingBreakdown

TimeGTE applies the GTE predicate on the "time" field.

func TimeHasPrefix

func TimeHasPrefix(v string) predicate.TimingBreakdown

TimeHasPrefix applies the HasPrefix predicate on the "time" field.

func TimeHasSuffix

func TimeHasSuffix(v string) predicate.TimingBreakdown

TimeHasSuffix applies the HasSuffix predicate on the "time" field.

func TimeIn

func TimeIn(vs ...string) predicate.TimingBreakdown

TimeIn applies the In predicate on the "time" field.

func TimeIsNil

func TimeIsNil() predicate.TimingBreakdown

TimeIsNil applies the IsNil predicate on the "time" field.

func TimeLT

TimeLT applies the LT predicate on the "time" field.

func TimeLTE

func TimeLTE(v string) predicate.TimingBreakdown

TimeLTE applies the LTE predicate on the "time" field.

func TimeNEQ

func TimeNEQ(v string) predicate.TimingBreakdown

TimeNEQ applies the NEQ predicate on the "time" field.

func TimeNotIn

func TimeNotIn(vs ...string) predicate.TimingBreakdown

TimeNotIn applies the NotIn predicate on the "time" field.

func TimeNotNil

func TimeNotNil() predicate.TimingBreakdown

TimeNotNil applies the NotNil predicate on the "time" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the TimingBreakdown queries.

func ByChild

func ByChild(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByChild orders the results by child terms.

func ByChildCount

func ByChildCount(opts ...sql.OrderTermOption) OrderOption

ByChildCount orders the results by child count.

func ByExecutionInfoField

func ByExecutionInfoField(field string, opts ...sql.OrderTermOption) OrderOption

ByExecutionInfoField orders the results by execution_info field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByTime

func ByTime(opts ...sql.OrderTermOption) OrderOption

ByTime orders the results by the time field.

Jump to

Keyboard shortcuts

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