package
0.0.0-20230719143739-37de26ce6741
Repository: https://github.com/gobench-io/gobench.git
Documentation: pkg.go.dev

# Functions

And groups list of predicates with the AND operator between them.
HasGroup applies the HasEdge predicate on the "group" edge.
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
HasMetrics applies the HasEdge predicate on the "metrics" edge.
HasMetricsWith applies the HasEdge predicate on the "metrics" edge with a given conditions (other predicates).
ID filters vertices based on their identifier.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Not applies the not operator on the given predicate.
Or groups list of predicates with the OR operator between them.
Title applies equality check predicate on the "title" field.
TitleContains applies the Contains predicate on the "title" field.
TitleContainsFold applies the ContainsFold predicate on the "title" field.
TitleEQ applies the EQ predicate on the "title" field.
TitleEqualFold applies the EqualFold predicate on the "title" field.
TitleGT applies the GT predicate on the "title" field.
TitleGTE applies the GTE predicate on the "title" field.
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
TitleIn applies the In predicate on the "title" field.
TitleLT applies the LT predicate on the "title" field.
TitleLTE applies the LTE predicate on the "title" field.
TitleNEQ applies the NEQ predicate on the "title" field.
TitleNotIn applies the NotIn predicate on the "title" field.
Unit applies equality check predicate on the "unit" field.
UnitContains applies the Contains predicate on the "unit" field.
UnitContainsFold applies the ContainsFold predicate on the "unit" field.
UnitEQ applies the EQ predicate on the "unit" field.
UnitEqualFold applies the EqualFold predicate on the "unit" field.
UnitGT applies the GT predicate on the "unit" field.
UnitGTE applies the GTE predicate on the "unit" field.
UnitHasPrefix applies the HasPrefix predicate on the "unit" field.
UnitHasSuffix applies the HasSuffix predicate on the "unit" field.
UnitIn applies the In predicate on the "unit" field.
UnitLT applies the LT predicate on the "unit" field.
UnitLTE applies the LTE predicate on the "unit" field.
UnitNEQ applies the NEQ predicate on the "unit" field.
UnitNotIn applies the NotIn predicate on the "unit" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

EdgeGroup holds the string denoting the group edge name in mutations.
EdgeMetrics holds the string denoting the metrics edge name in mutations.
FieldID holds the string denoting the id field in the database.
FieldTitle holds the string denoting the title field in the database.
FieldUnit holds the string denoting the unit field in the database.
GroupColumn is the table column denoting the group relation/edge.
GroupInverseTable is the table name for the Group entity.
GroupTable is the table the holds the group relation/edge.
Label holds the string label denoting the graph type in the database.
MetricsColumn is the table column denoting the metrics relation/edge.
MetricsInverseTable is the table name for the Metric entity.
MetricsTable is the table the holds the metrics relation/edge.
Table holds the table name of the graph in the database.

# Variables

Columns holds all SQL columns for graph fields.
ForeignKeys holds the SQL foreign-keys that are owned by the Graph type.