Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Bench) predicate.Bench
- func Arch(v string) predicate.Bench
- func ArchContains(v string) predicate.Bench
- func ArchContainsFold(v string) predicate.Bench
- func ArchEQ(v string) predicate.Bench
- func ArchEqualFold(v string) predicate.Bench
- func ArchGT(v string) predicate.Bench
- func ArchGTE(v string) predicate.Bench
- func ArchHasPrefix(v string) predicate.Bench
- func ArchHasSuffix(v string) predicate.Bench
- func ArchIn(vs ...string) predicate.Bench
- func ArchLT(v string) predicate.Bench
- func ArchLTE(v string) predicate.Bench
- func ArchNEQ(v string) predicate.Bench
- func ArchNotIn(vs ...string) predicate.Bench
- func CPU(v string) predicate.Bench
- func CPUContains(v string) predicate.Bench
- func CPUContainsFold(v string) predicate.Bench
- func CPUEQ(v string) predicate.Bench
- func CPUEqualFold(v string) predicate.Bench
- func CPUGT(v string) predicate.Bench
- func CPUGTE(v string) predicate.Bench
- func CPUHasPrefix(v string) predicate.Bench
- func CPUHasSuffix(v string) predicate.Bench
- func CPUIn(vs ...string) predicate.Bench
- func CPULT(v string) predicate.Bench
- func CPULTE(v string) predicate.Bench
- func CPUNEQ(v string) predicate.Bench
- func CPUNotIn(vs ...string) predicate.Bench
- func HasBenchResult() predicate.Bench
- func HasBenchResultWith(preds ...predicate.BenchResult) predicate.Bench
- func ID(id int) predicate.Bench
- func IDEQ(id int) predicate.Bench
- func IDGT(id int) predicate.Bench
- func IDGTE(id int) predicate.Bench
- func IDIn(ids ...int) predicate.Bench
- func IDLT(id int) predicate.Bench
- func IDLTE(id int) predicate.Bench
- func IDNEQ(id int) predicate.Bench
- func IDNotIn(ids ...int) predicate.Bench
- func Not(p predicate.Bench) predicate.Bench
- func Or(predicates ...predicate.Bench) predicate.Bench
- func Os(v string) predicate.Bench
- func OsContains(v string) predicate.Bench
- func OsContainsFold(v string) predicate.Bench
- func OsEQ(v string) predicate.Bench
- func OsEqualFold(v string) predicate.Bench
- func OsGT(v string) predicate.Bench
- func OsGTE(v string) predicate.Bench
- func OsHasPrefix(v string) predicate.Bench
- func OsHasSuffix(v string) predicate.Bench
- func OsIn(vs ...string) predicate.Bench
- func OsLT(v string) predicate.Bench
- func OsLTE(v string) predicate.Bench
- func OsNEQ(v string) predicate.Bench
- func OsNotIn(vs ...string) predicate.Bench
- func Package(v string) predicate.Bench
- func PackageContains(v string) predicate.Bench
- func PackageContainsFold(v string) predicate.Bench
- func PackageEQ(v string) predicate.Bench
- func PackageEqualFold(v string) predicate.Bench
- func PackageGT(v string) predicate.Bench
- func PackageGTE(v string) predicate.Bench
- func PackageHasPrefix(v string) predicate.Bench
- func PackageHasSuffix(v string) predicate.Bench
- func PackageIn(vs ...string) predicate.Bench
- func PackageLT(v string) predicate.Bench
- func PackageLTE(v string) predicate.Bench
- func PackageNEQ(v string) predicate.Bench
- func PackageNotIn(vs ...string) predicate.Bench
- func Pass(v bool) predicate.Bench
- func PassEQ(v bool) predicate.Bench
- func PassNEQ(v bool) predicate.Bench
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the bench type in the database. Label = "bench" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldOs holds the string denoting the os field in the database. FieldOs = "os" // FieldArch holds the string denoting the arch field in the database. FieldArch = "arch" // FieldCPU holds the string denoting the cpu field in the database. FieldCPU = "cpu" // FieldPackage holds the string denoting the package field in the database. FieldPackage = "package" // FieldPass holds the string denoting the pass field in the database. FieldPass = "pass" // EdgeBenchResult holds the string denoting the bench_result edge name in mutations. EdgeBenchResult = "bench_result" // Table holds the table name of the bench in the database. Table = "benches" // BenchResultTable is the table that holds the bench_result relation/edge. BenchResultTable = "bench_results" // BenchResultInverseTable is the table name for the BenchResult entity. // It exists in this package in order to avoid circular dependency with the "benchresult" package. BenchResultInverseTable = "bench_results" // BenchResultColumn is the table column denoting the bench_result relation/edge. BenchResultColumn = "bench_bench_result" )
Variables ¶
var Columns = []string{ FieldID, FieldOs, FieldArch, FieldCPU, FieldPackage, FieldPass, }
Columns holds all SQL columns for bench fields.
Functions ¶
func ArchContains ¶
ArchContains applies the Contains predicate on the "arch" field.
func ArchContainsFold ¶
ArchContainsFold applies the ContainsFold predicate on the "arch" field.
func ArchEqualFold ¶
ArchEqualFold applies the EqualFold predicate on the "arch" field.
func ArchHasPrefix ¶
ArchHasPrefix applies the HasPrefix predicate on the "arch" field.
func ArchHasSuffix ¶
ArchHasSuffix applies the HasSuffix predicate on the "arch" field.
func CPUContains ¶
CPUContains applies the Contains predicate on the "cpu" field.
func CPUContainsFold ¶
CPUContainsFold applies the ContainsFold predicate on the "cpu" field.
func CPUEqualFold ¶
CPUEqualFold applies the EqualFold predicate on the "cpu" field.
func CPUHasPrefix ¶
CPUHasPrefix applies the HasPrefix predicate on the "cpu" field.
func CPUHasSuffix ¶
CPUHasSuffix applies the HasSuffix predicate on the "cpu" field.
func HasBenchResult ¶
HasBenchResult applies the HasEdge predicate on the "bench_result" edge.
func HasBenchResultWith ¶
func HasBenchResultWith(preds ...predicate.BenchResult) predicate.Bench
HasBenchResultWith applies the HasEdge predicate on the "bench_result" edge with a given conditions (other predicates).
func OsContains ¶
OsContains applies the Contains predicate on the "os" field.
func OsContainsFold ¶
OsContainsFold applies the ContainsFold predicate on the "os" field.
func OsEqualFold ¶
OsEqualFold applies the EqualFold predicate on the "os" field.
func OsHasPrefix ¶
OsHasPrefix applies the HasPrefix predicate on the "os" field.
func OsHasSuffix ¶
OsHasSuffix applies the HasSuffix predicate on the "os" field.
func Package ¶
Package applies equality check predicate on the "package" field. It's identical to PackageEQ.
func PackageContains ¶
PackageContains applies the Contains predicate on the "package" field.
func PackageContainsFold ¶
PackageContainsFold applies the ContainsFold predicate on the "package" field.
func PackageEqualFold ¶
PackageEqualFold applies the EqualFold predicate on the "package" field.
func PackageGTE ¶
PackageGTE applies the GTE predicate on the "package" field.
func PackageHasPrefix ¶
PackageHasPrefix applies the HasPrefix predicate on the "package" field.
func PackageHasSuffix ¶
PackageHasSuffix applies the HasSuffix predicate on the "package" field.
func PackageLTE ¶
PackageLTE applies the LTE predicate on the "package" field.
func PackageNEQ ¶
PackageNEQ applies the NEQ predicate on the "package" field.
func PackageNotIn ¶
PackageNotIn applies the NotIn predicate on the "package" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.