Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ScriptStats) predicate.ScriptStats
- func AverageRuntime(v int) predicate.ScriptStats
- func AverageRuntimeEQ(v int) predicate.ScriptStats
- func AverageRuntimeGT(v int) predicate.ScriptStats
- func AverageRuntimeGTE(v int) predicate.ScriptStats
- func AverageRuntimeIn(vs ...int) predicate.ScriptStats
- func AverageRuntimeLT(v int) predicate.ScriptStats
- func AverageRuntimeLTE(v int) predicate.ScriptStats
- func AverageRuntimeNEQ(v int) predicate.ScriptStats
- func AverageRuntimeNotIn(vs ...int) predicate.ScriptStats
- func ID(id int) predicate.ScriptStats
- func IDEQ(id int) predicate.ScriptStats
- func IDGT(id int) predicate.ScriptStats
- func IDGTE(id int) predicate.ScriptStats
- func IDIn(ids ...int) predicate.ScriptStats
- func IDLT(id int) predicate.ScriptStats
- func IDLTE(id int) predicate.ScriptStats
- func IDNEQ(id int) predicate.ScriptStats
- func IDNotIn(ids ...int) predicate.ScriptStats
- func LastRun(v time.Time) predicate.ScriptStats
- func LastRunEQ(v time.Time) predicate.ScriptStats
- func LastRunGT(v time.Time) predicate.ScriptStats
- func LastRunGTE(v time.Time) predicate.ScriptStats
- func LastRunIn(vs ...time.Time) predicate.ScriptStats
- func LastRunLT(v time.Time) predicate.ScriptStats
- func LastRunLTE(v time.Time) predicate.ScriptStats
- func LastRunNEQ(v time.Time) predicate.ScriptStats
- func LastRunNotIn(vs ...time.Time) predicate.ScriptStats
- func MaxRuntime(v int) predicate.ScriptStats
- func MaxRuntimeEQ(v int) predicate.ScriptStats
- func MaxRuntimeGT(v int) predicate.ScriptStats
- func MaxRuntimeGTE(v int) predicate.ScriptStats
- func MaxRuntimeIn(vs ...int) predicate.ScriptStats
- func MaxRuntimeLT(v int) predicate.ScriptStats
- func MaxRuntimeLTE(v int) predicate.ScriptStats
- func MaxRuntimeNEQ(v int) predicate.ScriptStats
- func MaxRuntimeNotIn(vs ...int) predicate.ScriptStats
- func MinRuntime(v int) predicate.ScriptStats
- func MinRuntimeEQ(v int) predicate.ScriptStats
- func MinRuntimeGT(v int) predicate.ScriptStats
- func MinRuntimeGTE(v int) predicate.ScriptStats
- func MinRuntimeIn(vs ...int) predicate.ScriptStats
- func MinRuntimeLT(v int) predicate.ScriptStats
- func MinRuntimeLTE(v int) predicate.ScriptStats
- func MinRuntimeNEQ(v int) predicate.ScriptStats
- func MinRuntimeNotIn(vs ...int) predicate.ScriptStats
- func Not(p predicate.ScriptStats) predicate.ScriptStats
- func Or(predicates ...predicate.ScriptStats) predicate.ScriptStats
- func ProjectID(v int) predicate.ScriptStats
- func ProjectIDEQ(v int) predicate.ScriptStats
- func ProjectIDGT(v int) predicate.ScriptStats
- func ProjectIDGTE(v int) predicate.ScriptStats
- func ProjectIDIn(vs ...int) predicate.ScriptStats
- func ProjectIDLT(v int) predicate.ScriptStats
- func ProjectIDLTE(v int) predicate.ScriptStats
- func ProjectIDNEQ(v int) predicate.ScriptStats
- func ProjectIDNotIn(vs ...int) predicate.ScriptStats
- func ScriptID(v int) predicate.ScriptStats
- func ScriptIDEQ(v int) predicate.ScriptStats
- func ScriptIDGT(v int) predicate.ScriptStats
- func ScriptIDGTE(v int) predicate.ScriptStats
- func ScriptIDIn(vs ...int) predicate.ScriptStats
- func ScriptIDLT(v int) predicate.ScriptStats
- func ScriptIDLTE(v int) predicate.ScriptStats
- func ScriptIDNEQ(v int) predicate.ScriptStats
- func ScriptIDNotIn(vs ...int) predicate.ScriptStats
- func SuccessRate(v int) predicate.ScriptStats
- func SuccessRateEQ(v int) predicate.ScriptStats
- func SuccessRateGT(v int) predicate.ScriptStats
- func SuccessRateGTE(v int) predicate.ScriptStats
- func SuccessRateIn(vs ...int) predicate.ScriptStats
- func SuccessRateLT(v int) predicate.ScriptStats
- func SuccessRateLTE(v int) predicate.ScriptStats
- func SuccessRateNEQ(v int) predicate.ScriptStats
- func SuccessRateNotIn(vs ...int) predicate.ScriptStats
- func TotalErrors(v int) predicate.ScriptStats
- func TotalErrorsEQ(v int) predicate.ScriptStats
- func TotalErrorsGT(v int) predicate.ScriptStats
- func TotalErrorsGTE(v int) predicate.ScriptStats
- func TotalErrorsIn(vs ...int) predicate.ScriptStats
- func TotalErrorsLT(v int) predicate.ScriptStats
- func TotalErrorsLTE(v int) predicate.ScriptStats
- func TotalErrorsNEQ(v int) predicate.ScriptStats
- func TotalErrorsNotIn(vs ...int) predicate.ScriptStats
- func TotalRuns(v int) predicate.ScriptStats
- func TotalRunsEQ(v int) predicate.ScriptStats
- func TotalRunsGT(v int) predicate.ScriptStats
- func TotalRunsGTE(v int) predicate.ScriptStats
- func TotalRunsIn(vs ...int) predicate.ScriptStats
- func TotalRunsLT(v int) predicate.ScriptStats
- func TotalRunsLTE(v int) predicate.ScriptStats
- func TotalRunsNEQ(v int) predicate.ScriptStats
- func TotalRunsNotIn(vs ...int) predicate.ScriptStats
- func TotalRuntime(v int) predicate.ScriptStats
- func TotalRuntimeEQ(v int) predicate.ScriptStats
- func TotalRuntimeGT(v int) predicate.ScriptStats
- func TotalRuntimeGTE(v int) predicate.ScriptStats
- func TotalRuntimeIn(vs ...int) predicate.ScriptStats
- func TotalRuntimeLT(v int) predicate.ScriptStats
- func TotalRuntimeLTE(v int) predicate.ScriptStats
- func TotalRuntimeNEQ(v int) predicate.ScriptStats
- func TotalRuntimeNotIn(vs ...int) predicate.ScriptStats
- func TotalSuccess(v int) predicate.ScriptStats
- func TotalSuccessEQ(v int) predicate.ScriptStats
- func TotalSuccessGT(v int) predicate.ScriptStats
- func TotalSuccessGTE(v int) predicate.ScriptStats
- func TotalSuccessIn(vs ...int) predicate.ScriptStats
- func TotalSuccessLT(v int) predicate.ScriptStats
- func TotalSuccessLTE(v int) predicate.ScriptStats
- func TotalSuccessNEQ(v int) predicate.ScriptStats
- func TotalSuccessNotIn(vs ...int) predicate.ScriptStats
- func ValidColumn(column string) bool
- type OrderOption
- func ByAverageRuntime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastRun(opts ...sql.OrderTermOption) OrderOption
- func ByMaxRuntime(opts ...sql.OrderTermOption) OrderOption
- func ByMinRuntime(opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByScriptID(opts ...sql.OrderTermOption) OrderOption
- func BySuccessRate(opts ...sql.OrderTermOption) OrderOption
- func ByTotalErrors(opts ...sql.OrderTermOption) OrderOption
- func ByTotalRuns(opts ...sql.OrderTermOption) OrderOption
- func ByTotalRuntime(opts ...sql.OrderTermOption) OrderOption
- func ByTotalSuccess(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the scriptstats type in the database. Label = "script_stats" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldScriptID holds the string denoting the script_id field in the database. FieldScriptID = "script_id" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldTotalRuns holds the string denoting the total_runs field in the database. FieldTotalRuns = "total_runs" // FieldTotalErrors holds the string denoting the total_errors field in the database. FieldTotalErrors = "total_errors" // FieldTotalSuccess holds the string denoting the total_success field in the database. FieldTotalSuccess = "total_success" // FieldAverageRuntime holds the string denoting the average_runtime field in the database. FieldAverageRuntime = "average_runtime" // FieldMinRuntime holds the string denoting the min_runtime field in the database. FieldMinRuntime = "min_runtime" // FieldMaxRuntime holds the string denoting the max_runtime field in the database. FieldMaxRuntime = "max_runtime" // FieldLastRun holds the string denoting the last_run field in the database. FieldLastRun = "last_run" // FieldTotalRuntime holds the string denoting the total_runtime field in the database. FieldTotalRuntime = "total_runtime" // FieldSuccessRate holds the string denoting the success_rate field in the database. FieldSuccessRate = "success_rate" // Table holds the table name of the scriptstats in the database. Table = "script_stats" )
Variables ¶
var Columns = []string{ FieldID, FieldScriptID, FieldProjectID, FieldTotalRuns, FieldTotalErrors, FieldTotalSuccess, FieldAverageRuntime, FieldMinRuntime, FieldMaxRuntime, FieldLastRun, FieldTotalRuntime, FieldSuccessRate, }
Columns holds all SQL columns for scriptstats fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ScriptStats) predicate.ScriptStats
And groups predicates with the AND operator between them.
func AverageRuntime ¶
func AverageRuntime(v int) predicate.ScriptStats
AverageRuntime applies equality check predicate on the "average_runtime" field. It's identical to AverageRuntimeEQ.
func AverageRuntimeEQ ¶
func AverageRuntimeEQ(v int) predicate.ScriptStats
AverageRuntimeEQ applies the EQ predicate on the "average_runtime" field.
func AverageRuntimeGT ¶
func AverageRuntimeGT(v int) predicate.ScriptStats
AverageRuntimeGT applies the GT predicate on the "average_runtime" field.
func AverageRuntimeGTE ¶
func AverageRuntimeGTE(v int) predicate.ScriptStats
AverageRuntimeGTE applies the GTE predicate on the "average_runtime" field.
func AverageRuntimeIn ¶
func AverageRuntimeIn(vs ...int) predicate.ScriptStats
AverageRuntimeIn applies the In predicate on the "average_runtime" field.
func AverageRuntimeLT ¶
func AverageRuntimeLT(v int) predicate.ScriptStats
AverageRuntimeLT applies the LT predicate on the "average_runtime" field.
func AverageRuntimeLTE ¶
func AverageRuntimeLTE(v int) predicate.ScriptStats
AverageRuntimeLTE applies the LTE predicate on the "average_runtime" field.
func AverageRuntimeNEQ ¶
func AverageRuntimeNEQ(v int) predicate.ScriptStats
AverageRuntimeNEQ applies the NEQ predicate on the "average_runtime" field.
func AverageRuntimeNotIn ¶
func AverageRuntimeNotIn(vs ...int) predicate.ScriptStats
AverageRuntimeNotIn applies the NotIn predicate on the "average_runtime" field.
func IDGTE ¶
func IDGTE(id int) predicate.ScriptStats
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ScriptStats
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ScriptStats
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ScriptStats
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ScriptStats
IDNotIn applies the NotIn predicate on the ID field.
func LastRun ¶
func LastRun(v time.Time) predicate.ScriptStats
LastRun applies equality check predicate on the "last_run" field. It's identical to LastRunEQ.
func LastRunEQ ¶
func LastRunEQ(v time.Time) predicate.ScriptStats
LastRunEQ applies the EQ predicate on the "last_run" field.
func LastRunGT ¶
func LastRunGT(v time.Time) predicate.ScriptStats
LastRunGT applies the GT predicate on the "last_run" field.
func LastRunGTE ¶
func LastRunGTE(v time.Time) predicate.ScriptStats
LastRunGTE applies the GTE predicate on the "last_run" field.
func LastRunIn ¶
func LastRunIn(vs ...time.Time) predicate.ScriptStats
LastRunIn applies the In predicate on the "last_run" field.
func LastRunLT ¶
func LastRunLT(v time.Time) predicate.ScriptStats
LastRunLT applies the LT predicate on the "last_run" field.
func LastRunLTE ¶
func LastRunLTE(v time.Time) predicate.ScriptStats
LastRunLTE applies the LTE predicate on the "last_run" field.
func LastRunNEQ ¶
func LastRunNEQ(v time.Time) predicate.ScriptStats
LastRunNEQ applies the NEQ predicate on the "last_run" field.
func LastRunNotIn ¶
func LastRunNotIn(vs ...time.Time) predicate.ScriptStats
LastRunNotIn applies the NotIn predicate on the "last_run" field.
func MaxRuntime ¶
func MaxRuntime(v int) predicate.ScriptStats
MaxRuntime applies equality check predicate on the "max_runtime" field. It's identical to MaxRuntimeEQ.
func MaxRuntimeEQ ¶
func MaxRuntimeEQ(v int) predicate.ScriptStats
MaxRuntimeEQ applies the EQ predicate on the "max_runtime" field.
func MaxRuntimeGT ¶
func MaxRuntimeGT(v int) predicate.ScriptStats
MaxRuntimeGT applies the GT predicate on the "max_runtime" field.
func MaxRuntimeGTE ¶
func MaxRuntimeGTE(v int) predicate.ScriptStats
MaxRuntimeGTE applies the GTE predicate on the "max_runtime" field.
func MaxRuntimeIn ¶
func MaxRuntimeIn(vs ...int) predicate.ScriptStats
MaxRuntimeIn applies the In predicate on the "max_runtime" field.
func MaxRuntimeLT ¶
func MaxRuntimeLT(v int) predicate.ScriptStats
MaxRuntimeLT applies the LT predicate on the "max_runtime" field.
func MaxRuntimeLTE ¶
func MaxRuntimeLTE(v int) predicate.ScriptStats
MaxRuntimeLTE applies the LTE predicate on the "max_runtime" field.
func MaxRuntimeNEQ ¶
func MaxRuntimeNEQ(v int) predicate.ScriptStats
MaxRuntimeNEQ applies the NEQ predicate on the "max_runtime" field.
func MaxRuntimeNotIn ¶
func MaxRuntimeNotIn(vs ...int) predicate.ScriptStats
MaxRuntimeNotIn applies the NotIn predicate on the "max_runtime" field.
func MinRuntime ¶
func MinRuntime(v int) predicate.ScriptStats
MinRuntime applies equality check predicate on the "min_runtime" field. It's identical to MinRuntimeEQ.
func MinRuntimeEQ ¶
func MinRuntimeEQ(v int) predicate.ScriptStats
MinRuntimeEQ applies the EQ predicate on the "min_runtime" field.
func MinRuntimeGT ¶
func MinRuntimeGT(v int) predicate.ScriptStats
MinRuntimeGT applies the GT predicate on the "min_runtime" field.
func MinRuntimeGTE ¶
func MinRuntimeGTE(v int) predicate.ScriptStats
MinRuntimeGTE applies the GTE predicate on the "min_runtime" field.
func MinRuntimeIn ¶
func MinRuntimeIn(vs ...int) predicate.ScriptStats
MinRuntimeIn applies the In predicate on the "min_runtime" field.
func MinRuntimeLT ¶
func MinRuntimeLT(v int) predicate.ScriptStats
MinRuntimeLT applies the LT predicate on the "min_runtime" field.
func MinRuntimeLTE ¶
func MinRuntimeLTE(v int) predicate.ScriptStats
MinRuntimeLTE applies the LTE predicate on the "min_runtime" field.
func MinRuntimeNEQ ¶
func MinRuntimeNEQ(v int) predicate.ScriptStats
MinRuntimeNEQ applies the NEQ predicate on the "min_runtime" field.
func MinRuntimeNotIn ¶
func MinRuntimeNotIn(vs ...int) predicate.ScriptStats
MinRuntimeNotIn applies the NotIn predicate on the "min_runtime" field.
func Not ¶
func Not(p predicate.ScriptStats) predicate.ScriptStats
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ScriptStats) predicate.ScriptStats
Or groups predicates with the OR operator between them.
func ProjectID ¶
func ProjectID(v int) predicate.ScriptStats
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶
func ProjectIDEQ(v int) predicate.ScriptStats
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDGT ¶
func ProjectIDGT(v int) predicate.ScriptStats
ProjectIDGT applies the GT predicate on the "project_id" field.
func ProjectIDGTE ¶
func ProjectIDGTE(v int) predicate.ScriptStats
ProjectIDGTE applies the GTE predicate on the "project_id" field.
func ProjectIDIn ¶
func ProjectIDIn(vs ...int) predicate.ScriptStats
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDLT ¶
func ProjectIDLT(v int) predicate.ScriptStats
ProjectIDLT applies the LT predicate on the "project_id" field.
func ProjectIDLTE ¶
func ProjectIDLTE(v int) predicate.ScriptStats
ProjectIDLTE applies the LTE predicate on the "project_id" field.
func ProjectIDNEQ ¶
func ProjectIDNEQ(v int) predicate.ScriptStats
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
func ProjectIDNotIn(vs ...int) predicate.ScriptStats
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func ScriptID ¶
func ScriptID(v int) predicate.ScriptStats
ScriptID applies equality check predicate on the "script_id" field. It's identical to ScriptIDEQ.
func ScriptIDEQ ¶
func ScriptIDEQ(v int) predicate.ScriptStats
ScriptIDEQ applies the EQ predicate on the "script_id" field.
func ScriptIDGT ¶
func ScriptIDGT(v int) predicate.ScriptStats
ScriptIDGT applies the GT predicate on the "script_id" field.
func ScriptIDGTE ¶
func ScriptIDGTE(v int) predicate.ScriptStats
ScriptIDGTE applies the GTE predicate on the "script_id" field.
func ScriptIDIn ¶
func ScriptIDIn(vs ...int) predicate.ScriptStats
ScriptIDIn applies the In predicate on the "script_id" field.
func ScriptIDLT ¶
func ScriptIDLT(v int) predicate.ScriptStats
ScriptIDLT applies the LT predicate on the "script_id" field.
func ScriptIDLTE ¶
func ScriptIDLTE(v int) predicate.ScriptStats
ScriptIDLTE applies the LTE predicate on the "script_id" field.
func ScriptIDNEQ ¶
func ScriptIDNEQ(v int) predicate.ScriptStats
ScriptIDNEQ applies the NEQ predicate on the "script_id" field.
func ScriptIDNotIn ¶
func ScriptIDNotIn(vs ...int) predicate.ScriptStats
ScriptIDNotIn applies the NotIn predicate on the "script_id" field.
func SuccessRate ¶
func SuccessRate(v int) predicate.ScriptStats
SuccessRate applies equality check predicate on the "success_rate" field. It's identical to SuccessRateEQ.
func SuccessRateEQ ¶
func SuccessRateEQ(v int) predicate.ScriptStats
SuccessRateEQ applies the EQ predicate on the "success_rate" field.
func SuccessRateGT ¶
func SuccessRateGT(v int) predicate.ScriptStats
SuccessRateGT applies the GT predicate on the "success_rate" field.
func SuccessRateGTE ¶
func SuccessRateGTE(v int) predicate.ScriptStats
SuccessRateGTE applies the GTE predicate on the "success_rate" field.
func SuccessRateIn ¶
func SuccessRateIn(vs ...int) predicate.ScriptStats
SuccessRateIn applies the In predicate on the "success_rate" field.
func SuccessRateLT ¶
func SuccessRateLT(v int) predicate.ScriptStats
SuccessRateLT applies the LT predicate on the "success_rate" field.
func SuccessRateLTE ¶
func SuccessRateLTE(v int) predicate.ScriptStats
SuccessRateLTE applies the LTE predicate on the "success_rate" field.
func SuccessRateNEQ ¶
func SuccessRateNEQ(v int) predicate.ScriptStats
SuccessRateNEQ applies the NEQ predicate on the "success_rate" field.
func SuccessRateNotIn ¶
func SuccessRateNotIn(vs ...int) predicate.ScriptStats
SuccessRateNotIn applies the NotIn predicate on the "success_rate" field.
func TotalErrors ¶
func TotalErrors(v int) predicate.ScriptStats
TotalErrors applies equality check predicate on the "total_errors" field. It's identical to TotalErrorsEQ.
func TotalErrorsEQ ¶
func TotalErrorsEQ(v int) predicate.ScriptStats
TotalErrorsEQ applies the EQ predicate on the "total_errors" field.
func TotalErrorsGT ¶
func TotalErrorsGT(v int) predicate.ScriptStats
TotalErrorsGT applies the GT predicate on the "total_errors" field.
func TotalErrorsGTE ¶
func TotalErrorsGTE(v int) predicate.ScriptStats
TotalErrorsGTE applies the GTE predicate on the "total_errors" field.
func TotalErrorsIn ¶
func TotalErrorsIn(vs ...int) predicate.ScriptStats
TotalErrorsIn applies the In predicate on the "total_errors" field.
func TotalErrorsLT ¶
func TotalErrorsLT(v int) predicate.ScriptStats
TotalErrorsLT applies the LT predicate on the "total_errors" field.
func TotalErrorsLTE ¶
func TotalErrorsLTE(v int) predicate.ScriptStats
TotalErrorsLTE applies the LTE predicate on the "total_errors" field.
func TotalErrorsNEQ ¶
func TotalErrorsNEQ(v int) predicate.ScriptStats
TotalErrorsNEQ applies the NEQ predicate on the "total_errors" field.
func TotalErrorsNotIn ¶
func TotalErrorsNotIn(vs ...int) predicate.ScriptStats
TotalErrorsNotIn applies the NotIn predicate on the "total_errors" field.
func TotalRuns ¶
func TotalRuns(v int) predicate.ScriptStats
TotalRuns applies equality check predicate on the "total_runs" field. It's identical to TotalRunsEQ.
func TotalRunsEQ ¶
func TotalRunsEQ(v int) predicate.ScriptStats
TotalRunsEQ applies the EQ predicate on the "total_runs" field.
func TotalRunsGT ¶
func TotalRunsGT(v int) predicate.ScriptStats
TotalRunsGT applies the GT predicate on the "total_runs" field.
func TotalRunsGTE ¶
func TotalRunsGTE(v int) predicate.ScriptStats
TotalRunsGTE applies the GTE predicate on the "total_runs" field.
func TotalRunsIn ¶
func TotalRunsIn(vs ...int) predicate.ScriptStats
TotalRunsIn applies the In predicate on the "total_runs" field.
func TotalRunsLT ¶
func TotalRunsLT(v int) predicate.ScriptStats
TotalRunsLT applies the LT predicate on the "total_runs" field.
func TotalRunsLTE ¶
func TotalRunsLTE(v int) predicate.ScriptStats
TotalRunsLTE applies the LTE predicate on the "total_runs" field.
func TotalRunsNEQ ¶
func TotalRunsNEQ(v int) predicate.ScriptStats
TotalRunsNEQ applies the NEQ predicate on the "total_runs" field.
func TotalRunsNotIn ¶
func TotalRunsNotIn(vs ...int) predicate.ScriptStats
TotalRunsNotIn applies the NotIn predicate on the "total_runs" field.
func TotalRuntime ¶
func TotalRuntime(v int) predicate.ScriptStats
TotalRuntime applies equality check predicate on the "total_runtime" field. It's identical to TotalRuntimeEQ.
func TotalRuntimeEQ ¶
func TotalRuntimeEQ(v int) predicate.ScriptStats
TotalRuntimeEQ applies the EQ predicate on the "total_runtime" field.
func TotalRuntimeGT ¶
func TotalRuntimeGT(v int) predicate.ScriptStats
TotalRuntimeGT applies the GT predicate on the "total_runtime" field.
func TotalRuntimeGTE ¶
func TotalRuntimeGTE(v int) predicate.ScriptStats
TotalRuntimeGTE applies the GTE predicate on the "total_runtime" field.
func TotalRuntimeIn ¶
func TotalRuntimeIn(vs ...int) predicate.ScriptStats
TotalRuntimeIn applies the In predicate on the "total_runtime" field.
func TotalRuntimeLT ¶
func TotalRuntimeLT(v int) predicate.ScriptStats
TotalRuntimeLT applies the LT predicate on the "total_runtime" field.
func TotalRuntimeLTE ¶
func TotalRuntimeLTE(v int) predicate.ScriptStats
TotalRuntimeLTE applies the LTE predicate on the "total_runtime" field.
func TotalRuntimeNEQ ¶
func TotalRuntimeNEQ(v int) predicate.ScriptStats
TotalRuntimeNEQ applies the NEQ predicate on the "total_runtime" field.
func TotalRuntimeNotIn ¶
func TotalRuntimeNotIn(vs ...int) predicate.ScriptStats
TotalRuntimeNotIn applies the NotIn predicate on the "total_runtime" field.
func TotalSuccess ¶
func TotalSuccess(v int) predicate.ScriptStats
TotalSuccess applies equality check predicate on the "total_success" field. It's identical to TotalSuccessEQ.
func TotalSuccessEQ ¶
func TotalSuccessEQ(v int) predicate.ScriptStats
TotalSuccessEQ applies the EQ predicate on the "total_success" field.
func TotalSuccessGT ¶
func TotalSuccessGT(v int) predicate.ScriptStats
TotalSuccessGT applies the GT predicate on the "total_success" field.
func TotalSuccessGTE ¶
func TotalSuccessGTE(v int) predicate.ScriptStats
TotalSuccessGTE applies the GTE predicate on the "total_success" field.
func TotalSuccessIn ¶
func TotalSuccessIn(vs ...int) predicate.ScriptStats
TotalSuccessIn applies the In predicate on the "total_success" field.
func TotalSuccessLT ¶
func TotalSuccessLT(v int) predicate.ScriptStats
TotalSuccessLT applies the LT predicate on the "total_success" field.
func TotalSuccessLTE ¶
func TotalSuccessLTE(v int) predicate.ScriptStats
TotalSuccessLTE applies the LTE predicate on the "total_success" field.
func TotalSuccessNEQ ¶
func TotalSuccessNEQ(v int) predicate.ScriptStats
TotalSuccessNEQ applies the NEQ predicate on the "total_success" field.
func TotalSuccessNotIn ¶
func TotalSuccessNotIn(vs ...int) predicate.ScriptStats
TotalSuccessNotIn applies the NotIn predicate on the "total_success" 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 ScriptStats queries.
func ByAverageRuntime ¶
func ByAverageRuntime(opts ...sql.OrderTermOption) OrderOption
ByAverageRuntime orders the results by the average_runtime field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastRun ¶
func ByLastRun(opts ...sql.OrderTermOption) OrderOption
ByLastRun orders the results by the last_run field.
func ByMaxRuntime ¶
func ByMaxRuntime(opts ...sql.OrderTermOption) OrderOption
ByMaxRuntime orders the results by the max_runtime field.
func ByMinRuntime ¶
func ByMinRuntime(opts ...sql.OrderTermOption) OrderOption
ByMinRuntime orders the results by the min_runtime field.
func ByProjectID ¶
func ByProjectID(opts ...sql.OrderTermOption) OrderOption
ByProjectID orders the results by the project_id field.
func ByScriptID ¶
func ByScriptID(opts ...sql.OrderTermOption) OrderOption
ByScriptID orders the results by the script_id field.
func BySuccessRate ¶
func BySuccessRate(opts ...sql.OrderTermOption) OrderOption
BySuccessRate orders the results by the success_rate field.
func ByTotalErrors ¶
func ByTotalErrors(opts ...sql.OrderTermOption) OrderOption
ByTotalErrors orders the results by the total_errors field.
func ByTotalRuns ¶
func ByTotalRuns(opts ...sql.OrderTermOption) OrderOption
ByTotalRuns orders the results by the total_runs field.
func ByTotalRuntime ¶
func ByTotalRuntime(opts ...sql.OrderTermOption) OrderOption
ByTotalRuntime orders the results by the total_runtime field.
func ByTotalSuccess ¶
func ByTotalSuccess(opts ...sql.OrderTermOption) OrderOption
ByTotalSuccess orders the results by the total_success field.