Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EvaluationStat) predicate.EvaluationStat
- func Count(v int64) predicate.EvaluationStat
- func CountEQ(v int64) predicate.EvaluationStat
- func CountGT(v int64) predicate.EvaluationStat
- func CountGTE(v int64) predicate.EvaluationStat
- func CountIn(vs ...int64) predicate.EvaluationStat
- func CountIsNil() predicate.EvaluationStat
- func CountLT(v int64) predicate.EvaluationStat
- func CountLTE(v int64) predicate.EvaluationStat
- func CountNEQ(v int64) predicate.EvaluationStat
- func CountNotIn(vs ...int64) predicate.EvaluationStat
- func CountNotNil() predicate.EvaluationStat
- func HasBuildGraphMetrics() predicate.EvaluationStat
- func HasBuildGraphMetricsWith(preds ...predicate.BuildGraphMetrics) predicate.EvaluationStat
- func ID(id int) predicate.EvaluationStat
- func IDEQ(id int) predicate.EvaluationStat
- func IDGT(id int) predicate.EvaluationStat
- func IDGTE(id int) predicate.EvaluationStat
- func IDIn(ids ...int) predicate.EvaluationStat
- func IDLT(id int) predicate.EvaluationStat
- func IDLTE(id int) predicate.EvaluationStat
- func IDNEQ(id int) predicate.EvaluationStat
- func IDNotIn(ids ...int) predicate.EvaluationStat
- func Not(p predicate.EvaluationStat) predicate.EvaluationStat
- func Or(predicates ...predicate.EvaluationStat) predicate.EvaluationStat
- func SkyfunctionName(v string) predicate.EvaluationStat
- func SkyfunctionNameContains(v string) predicate.EvaluationStat
- func SkyfunctionNameContainsFold(v string) predicate.EvaluationStat
- func SkyfunctionNameEQ(v string) predicate.EvaluationStat
- func SkyfunctionNameEqualFold(v string) predicate.EvaluationStat
- func SkyfunctionNameGT(v string) predicate.EvaluationStat
- func SkyfunctionNameGTE(v string) predicate.EvaluationStat
- func SkyfunctionNameHasPrefix(v string) predicate.EvaluationStat
- func SkyfunctionNameHasSuffix(v string) predicate.EvaluationStat
- func SkyfunctionNameIn(vs ...string) predicate.EvaluationStat
- func SkyfunctionNameIsNil() predicate.EvaluationStat
- func SkyfunctionNameLT(v string) predicate.EvaluationStat
- func SkyfunctionNameLTE(v string) predicate.EvaluationStat
- func SkyfunctionNameNEQ(v string) predicate.EvaluationStat
- func SkyfunctionNameNotIn(vs ...string) predicate.EvaluationStat
- func SkyfunctionNameNotNil() predicate.EvaluationStat
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the evaluationstat type in the database. Label = "evaluation_stat" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSkyfunctionName holds the string denoting the skyfunction_name field in the database. FieldSkyfunctionName = "skyfunction_name" // FieldCount holds the string denoting the count field in the database. FieldCount = "count" // EdgeBuildGraphMetrics holds the string denoting the build_graph_metrics edge name in mutations. EdgeBuildGraphMetrics = "build_graph_metrics" // Table holds the table name of the evaluationstat in the database. Table = "evaluation_stats" // BuildGraphMetricsTable is the table that holds the build_graph_metrics relation/edge. BuildGraphMetricsTable = "evaluation_stats" // BuildGraphMetricsInverseTable is the table name for the BuildGraphMetrics entity. // It exists in this package in order to avoid circular dependency with the "buildgraphmetrics" package. BuildGraphMetricsInverseTable = "build_graph_metrics" // BuildGraphMetricsColumn is the table column denoting the build_graph_metrics relation/edge. BuildGraphMetricsColumn = "build_graph_metrics_evaluated_values" )
Variables ¶
var Columns = []string{ FieldID, FieldSkyfunctionName, FieldCount, }
Columns holds all SQL columns for evaluationstat fields.
var ForeignKeys = []string{
"build_graph_metrics_evaluated_values",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "evaluation_stats" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.EvaluationStat) predicate.EvaluationStat
And groups predicates with the AND operator between them.
func Count ¶
func Count(v int64) predicate.EvaluationStat
Count applies equality check predicate on the "count" field. It's identical to CountEQ.
func CountEQ ¶
func CountEQ(v int64) predicate.EvaluationStat
CountEQ applies the EQ predicate on the "count" field.
func CountGT ¶
func CountGT(v int64) predicate.EvaluationStat
CountGT applies the GT predicate on the "count" field.
func CountGTE ¶
func CountGTE(v int64) predicate.EvaluationStat
CountGTE applies the GTE predicate on the "count" field.
func CountIn ¶
func CountIn(vs ...int64) predicate.EvaluationStat
CountIn applies the In predicate on the "count" field.
func CountIsNil ¶
func CountIsNil() predicate.EvaluationStat
CountIsNil applies the IsNil predicate on the "count" field.
func CountLT ¶
func CountLT(v int64) predicate.EvaluationStat
CountLT applies the LT predicate on the "count" field.
func CountLTE ¶
func CountLTE(v int64) predicate.EvaluationStat
CountLTE applies the LTE predicate on the "count" field.
func CountNEQ ¶
func CountNEQ(v int64) predicate.EvaluationStat
CountNEQ applies the NEQ predicate on the "count" field.
func CountNotIn ¶
func CountNotIn(vs ...int64) predicate.EvaluationStat
CountNotIn applies the NotIn predicate on the "count" field.
func CountNotNil ¶
func CountNotNil() predicate.EvaluationStat
CountNotNil applies the NotNil predicate on the "count" field.
func HasBuildGraphMetrics ¶
func HasBuildGraphMetrics() predicate.EvaluationStat
HasBuildGraphMetrics applies the HasEdge predicate on the "build_graph_metrics" edge.
func HasBuildGraphMetricsWith ¶
func HasBuildGraphMetricsWith(preds ...predicate.BuildGraphMetrics) predicate.EvaluationStat
HasBuildGraphMetricsWith applies the HasEdge predicate on the "build_graph_metrics" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.EvaluationStat
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.EvaluationStat
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.EvaluationStat
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.EvaluationStat
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.EvaluationStat
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.EvaluationStat
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.EvaluationStat
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.EvaluationStat
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.EvaluationStat) predicate.EvaluationStat
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.EvaluationStat) predicate.EvaluationStat
Or groups predicates with the OR operator between them.
func SkyfunctionName ¶
func SkyfunctionName(v string) predicate.EvaluationStat
SkyfunctionName applies equality check predicate on the "skyfunction_name" field. It's identical to SkyfunctionNameEQ.
func SkyfunctionNameContains ¶
func SkyfunctionNameContains(v string) predicate.EvaluationStat
SkyfunctionNameContains applies the Contains predicate on the "skyfunction_name" field.
func SkyfunctionNameContainsFold ¶
func SkyfunctionNameContainsFold(v string) predicate.EvaluationStat
SkyfunctionNameContainsFold applies the ContainsFold predicate on the "skyfunction_name" field.
func SkyfunctionNameEQ ¶
func SkyfunctionNameEQ(v string) predicate.EvaluationStat
SkyfunctionNameEQ applies the EQ predicate on the "skyfunction_name" field.
func SkyfunctionNameEqualFold ¶
func SkyfunctionNameEqualFold(v string) predicate.EvaluationStat
SkyfunctionNameEqualFold applies the EqualFold predicate on the "skyfunction_name" field.
func SkyfunctionNameGT ¶
func SkyfunctionNameGT(v string) predicate.EvaluationStat
SkyfunctionNameGT applies the GT predicate on the "skyfunction_name" field.
func SkyfunctionNameGTE ¶
func SkyfunctionNameGTE(v string) predicate.EvaluationStat
SkyfunctionNameGTE applies the GTE predicate on the "skyfunction_name" field.
func SkyfunctionNameHasPrefix ¶
func SkyfunctionNameHasPrefix(v string) predicate.EvaluationStat
SkyfunctionNameHasPrefix applies the HasPrefix predicate on the "skyfunction_name" field.
func SkyfunctionNameHasSuffix ¶
func SkyfunctionNameHasSuffix(v string) predicate.EvaluationStat
SkyfunctionNameHasSuffix applies the HasSuffix predicate on the "skyfunction_name" field.
func SkyfunctionNameIn ¶
func SkyfunctionNameIn(vs ...string) predicate.EvaluationStat
SkyfunctionNameIn applies the In predicate on the "skyfunction_name" field.
func SkyfunctionNameIsNil ¶
func SkyfunctionNameIsNil() predicate.EvaluationStat
SkyfunctionNameIsNil applies the IsNil predicate on the "skyfunction_name" field.
func SkyfunctionNameLT ¶
func SkyfunctionNameLT(v string) predicate.EvaluationStat
SkyfunctionNameLT applies the LT predicate on the "skyfunction_name" field.
func SkyfunctionNameLTE ¶
func SkyfunctionNameLTE(v string) predicate.EvaluationStat
SkyfunctionNameLTE applies the LTE predicate on the "skyfunction_name" field.
func SkyfunctionNameNEQ ¶
func SkyfunctionNameNEQ(v string) predicate.EvaluationStat
SkyfunctionNameNEQ applies the NEQ predicate on the "skyfunction_name" field.
func SkyfunctionNameNotIn ¶
func SkyfunctionNameNotIn(vs ...string) predicate.EvaluationStat
SkyfunctionNameNotIn applies the NotIn predicate on the "skyfunction_name" field.
func SkyfunctionNameNotNil ¶
func SkyfunctionNameNotNil() predicate.EvaluationStat
SkyfunctionNameNotNil applies the NotNil predicate on the "skyfunction_name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the EvaluationStat queries.
func ByBuildGraphMetricsField ¶
func ByBuildGraphMetricsField(field string, opts ...sql.OrderTermOption) OrderOption
ByBuildGraphMetricsField orders the results by build_graph_metrics field.
func ByCount ¶
func ByCount(opts ...sql.OrderTermOption) OrderOption
ByCount orders the results by the count field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func BySkyfunctionName ¶
func BySkyfunctionName(opts ...sql.OrderTermOption) OrderOption
BySkyfunctionName orders the results by the skyfunction_name field.