bench

package
v0.0.0-...-56b00f8 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for bench fields.

Functions

func And

func And(predicates ...predicate.Bench) predicate.Bench

And groups predicates with the AND operator between them.

func Arch

func Arch(v string) predicate.Bench

Arch applies equality check predicate on the "arch" field. It's identical to ArchEQ.

func ArchContains

func ArchContains(v string) predicate.Bench

ArchContains applies the Contains predicate on the "arch" field.

func ArchContainsFold

func ArchContainsFold(v string) predicate.Bench

ArchContainsFold applies the ContainsFold predicate on the "arch" field.

func ArchEQ

func ArchEQ(v string) predicate.Bench

ArchEQ applies the EQ predicate on the "arch" field.

func ArchEqualFold

func ArchEqualFold(v string) predicate.Bench

ArchEqualFold applies the EqualFold predicate on the "arch" field.

func ArchGT

func ArchGT(v string) predicate.Bench

ArchGT applies the GT predicate on the "arch" field.

func ArchGTE

func ArchGTE(v string) predicate.Bench

ArchGTE applies the GTE predicate on the "arch" field.

func ArchHasPrefix

func ArchHasPrefix(v string) predicate.Bench

ArchHasPrefix applies the HasPrefix predicate on the "arch" field.

func ArchHasSuffix

func ArchHasSuffix(v string) predicate.Bench

ArchHasSuffix applies the HasSuffix predicate on the "arch" field.

func ArchIn

func ArchIn(vs ...string) predicate.Bench

ArchIn applies the In predicate on the "arch" field.

func ArchLT

func ArchLT(v string) predicate.Bench

ArchLT applies the LT predicate on the "arch" field.

func ArchLTE

func ArchLTE(v string) predicate.Bench

ArchLTE applies the LTE predicate on the "arch" field.

func ArchNEQ

func ArchNEQ(v string) predicate.Bench

ArchNEQ applies the NEQ predicate on the "arch" field.

func ArchNotIn

func ArchNotIn(vs ...string) predicate.Bench

ArchNotIn applies the NotIn predicate on the "arch" field.

func CPU

func CPU(v string) predicate.Bench

CPU applies equality check predicate on the "cpu" field. It's identical to CPUEQ.

func CPUContains

func CPUContains(v string) predicate.Bench

CPUContains applies the Contains predicate on the "cpu" field.

func CPUContainsFold

func CPUContainsFold(v string) predicate.Bench

CPUContainsFold applies the ContainsFold predicate on the "cpu" field.

func CPUEQ

func CPUEQ(v string) predicate.Bench

CPUEQ applies the EQ predicate on the "cpu" field.

func CPUEqualFold

func CPUEqualFold(v string) predicate.Bench

CPUEqualFold applies the EqualFold predicate on the "cpu" field.

func CPUGT

func CPUGT(v string) predicate.Bench

CPUGT applies the GT predicate on the "cpu" field.

func CPUGTE

func CPUGTE(v string) predicate.Bench

CPUGTE applies the GTE predicate on the "cpu" field.

func CPUHasPrefix

func CPUHasPrefix(v string) predicate.Bench

CPUHasPrefix applies the HasPrefix predicate on the "cpu" field.

func CPUHasSuffix

func CPUHasSuffix(v string) predicate.Bench

CPUHasSuffix applies the HasSuffix predicate on the "cpu" field.

func CPUIn

func CPUIn(vs ...string) predicate.Bench

CPUIn applies the In predicate on the "cpu" field.

func CPULT

func CPULT(v string) predicate.Bench

CPULT applies the LT predicate on the "cpu" field.

func CPULTE

func CPULTE(v string) predicate.Bench

CPULTE applies the LTE predicate on the "cpu" field.

func CPUNEQ

func CPUNEQ(v string) predicate.Bench

CPUNEQ applies the NEQ predicate on the "cpu" field.

func CPUNotIn

func CPUNotIn(vs ...string) predicate.Bench

CPUNotIn applies the NotIn predicate on the "cpu" field.

func HasBenchResult

func HasBenchResult() predicate.Bench

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 ID

func ID(id int) predicate.Bench

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Bench

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Bench

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Bench

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Bench

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Bench

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Bench

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Bench) predicate.Bench

Or groups predicates with the OR operator between them.

func Os

func Os(v string) predicate.Bench

Os applies equality check predicate on the "os" field. It's identical to OsEQ.

func OsContains

func OsContains(v string) predicate.Bench

OsContains applies the Contains predicate on the "os" field.

func OsContainsFold

func OsContainsFold(v string) predicate.Bench

OsContainsFold applies the ContainsFold predicate on the "os" field.

func OsEQ

func OsEQ(v string) predicate.Bench

OsEQ applies the EQ predicate on the "os" field.

func OsEqualFold

func OsEqualFold(v string) predicate.Bench

OsEqualFold applies the EqualFold predicate on the "os" field.

func OsGT

func OsGT(v string) predicate.Bench

OsGT applies the GT predicate on the "os" field.

func OsGTE

func OsGTE(v string) predicate.Bench

OsGTE applies the GTE predicate on the "os" field.

func OsHasPrefix

func OsHasPrefix(v string) predicate.Bench

OsHasPrefix applies the HasPrefix predicate on the "os" field.

func OsHasSuffix

func OsHasSuffix(v string) predicate.Bench

OsHasSuffix applies the HasSuffix predicate on the "os" field.

func OsIn

func OsIn(vs ...string) predicate.Bench

OsIn applies the In predicate on the "os" field.

func OsLT

func OsLT(v string) predicate.Bench

OsLT applies the LT predicate on the "os" field.

func OsLTE

func OsLTE(v string) predicate.Bench

OsLTE applies the LTE predicate on the "os" field.

func OsNEQ

func OsNEQ(v string) predicate.Bench

OsNEQ applies the NEQ predicate on the "os" field.

func OsNotIn

func OsNotIn(vs ...string) predicate.Bench

OsNotIn applies the NotIn predicate on the "os" field.

func Package

func Package(v string) predicate.Bench

Package applies equality check predicate on the "package" field. It's identical to PackageEQ.

func PackageContains

func PackageContains(v string) predicate.Bench

PackageContains applies the Contains predicate on the "package" field.

func PackageContainsFold

func PackageContainsFold(v string) predicate.Bench

PackageContainsFold applies the ContainsFold predicate on the "package" field.

func PackageEQ

func PackageEQ(v string) predicate.Bench

PackageEQ applies the EQ predicate on the "package" field.

func PackageEqualFold

func PackageEqualFold(v string) predicate.Bench

PackageEqualFold applies the EqualFold predicate on the "package" field.

func PackageGT

func PackageGT(v string) predicate.Bench

PackageGT applies the GT predicate on the "package" field.

func PackageGTE

func PackageGTE(v string) predicate.Bench

PackageGTE applies the GTE predicate on the "package" field.

func PackageHasPrefix

func PackageHasPrefix(v string) predicate.Bench

PackageHasPrefix applies the HasPrefix predicate on the "package" field.

func PackageHasSuffix

func PackageHasSuffix(v string) predicate.Bench

PackageHasSuffix applies the HasSuffix predicate on the "package" field.

func PackageIn

func PackageIn(vs ...string) predicate.Bench

PackageIn applies the In predicate on the "package" field.

func PackageLT

func PackageLT(v string) predicate.Bench

PackageLT applies the LT predicate on the "package" field.

func PackageLTE

func PackageLTE(v string) predicate.Bench

PackageLTE applies the LTE predicate on the "package" field.

func PackageNEQ

func PackageNEQ(v string) predicate.Bench

PackageNEQ applies the NEQ predicate on the "package" field.

func PackageNotIn

func PackageNotIn(vs ...string) predicate.Bench

PackageNotIn applies the NotIn predicate on the "package" field.

func Pass

func Pass(v bool) predicate.Bench

Pass applies equality check predicate on the "pass" field. It's identical to PassEQ.

func PassEQ

func PassEQ(v bool) predicate.Bench

PassEQ applies the EQ predicate on the "pass" field.

func PassNEQ

func PassNEQ(v bool) predicate.Bench

PassNEQ applies the NEQ predicate on the "pass" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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