roundstats

package
v0.0.0-...-4b256dd Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the roundstats type in the database.
	Label = "round_stats"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldRound holds the string denoting the round field in the database.
	FieldRound = "round"
	// FieldBank holds the string denoting the bank field in the database.
	FieldBank = "bank"
	// FieldEquipment holds the string denoting the equipment field in the database.
	FieldEquipment = "equipment"
	// FieldSpent holds the string denoting the spent field in the database.
	FieldSpent = "spent"
	// EdgeMatchPlayer holds the string denoting the match_player edge name in mutations.
	EdgeMatchPlayer = "match_player"
	// Table holds the table name of the roundstats in the database.
	Table = "round_stats"
	// MatchPlayerTable is the table that holds the match_player relation/edge.
	MatchPlayerTable = "round_stats"
	// MatchPlayerInverseTable is the table name for the MatchPlayer entity.
	// It exists in this package in order to avoid circular dependency with the "matchplayer" package.
	MatchPlayerInverseTable = "match_players"
	// MatchPlayerColumn is the table column denoting the match_player relation/edge.
	MatchPlayerColumn = "match_player_round_stats"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldRound,
	FieldBank,
	FieldEquipment,
	FieldSpent,
}

Columns holds all SQL columns for roundstats fields.

View Source
var ForeignKeys = []string{
	"match_player_round_stats",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "round_stats" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.RoundStats) predicate.RoundStats

And groups predicates with the AND operator between them.

func Bank

func Bank(v uint) predicate.RoundStats

Bank applies equality check predicate on the "bank" field. It's identical to BankEQ.

func BankEQ

func BankEQ(v uint) predicate.RoundStats

BankEQ applies the EQ predicate on the "bank" field.

func BankGT

func BankGT(v uint) predicate.RoundStats

BankGT applies the GT predicate on the "bank" field.

func BankGTE

func BankGTE(v uint) predicate.RoundStats

BankGTE applies the GTE predicate on the "bank" field.

func BankIn

func BankIn(vs ...uint) predicate.RoundStats

BankIn applies the In predicate on the "bank" field.

func BankLT

func BankLT(v uint) predicate.RoundStats

BankLT applies the LT predicate on the "bank" field.

func BankLTE

func BankLTE(v uint) predicate.RoundStats

BankLTE applies the LTE predicate on the "bank" field.

func BankNEQ

func BankNEQ(v uint) predicate.RoundStats

BankNEQ applies the NEQ predicate on the "bank" field.

func BankNotIn

func BankNotIn(vs ...uint) predicate.RoundStats

BankNotIn applies the NotIn predicate on the "bank" field.

func Equipment

func Equipment(v uint) predicate.RoundStats

Equipment applies equality check predicate on the "equipment" field. It's identical to EquipmentEQ.

func EquipmentEQ

func EquipmentEQ(v uint) predicate.RoundStats

EquipmentEQ applies the EQ predicate on the "equipment" field.

func EquipmentGT

func EquipmentGT(v uint) predicate.RoundStats

EquipmentGT applies the GT predicate on the "equipment" field.

func EquipmentGTE

func EquipmentGTE(v uint) predicate.RoundStats

EquipmentGTE applies the GTE predicate on the "equipment" field.

func EquipmentIn

func EquipmentIn(vs ...uint) predicate.RoundStats

EquipmentIn applies the In predicate on the "equipment" field.

func EquipmentLT

func EquipmentLT(v uint) predicate.RoundStats

EquipmentLT applies the LT predicate on the "equipment" field.

func EquipmentLTE

func EquipmentLTE(v uint) predicate.RoundStats

EquipmentLTE applies the LTE predicate on the "equipment" field.

func EquipmentNEQ

func EquipmentNEQ(v uint) predicate.RoundStats

EquipmentNEQ applies the NEQ predicate on the "equipment" field.

func EquipmentNotIn

func EquipmentNotIn(vs ...uint) predicate.RoundStats

EquipmentNotIn applies the NotIn predicate on the "equipment" field.

func HasMatchPlayer

func HasMatchPlayer() predicate.RoundStats

HasMatchPlayer applies the HasEdge predicate on the "match_player" edge.

func HasMatchPlayerWith

func HasMatchPlayerWith(preds ...predicate.MatchPlayer) predicate.RoundStats

HasMatchPlayerWith applies the HasEdge predicate on the "match_player" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.RoundStats

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.RoundStats

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.RoundStats

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.RoundStats

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.RoundStats

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.RoundStats

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.RoundStats

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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.RoundStats) predicate.RoundStats

Or groups predicates with the OR operator between them.

func Round

func Round(v uint) predicate.RoundStats

Round applies equality check predicate on the "round" field. It's identical to RoundEQ.

func RoundEQ

func RoundEQ(v uint) predicate.RoundStats

RoundEQ applies the EQ predicate on the "round" field.

func RoundGT

func RoundGT(v uint) predicate.RoundStats

RoundGT applies the GT predicate on the "round" field.

func RoundGTE

func RoundGTE(v uint) predicate.RoundStats

RoundGTE applies the GTE predicate on the "round" field.

func RoundIn

func RoundIn(vs ...uint) predicate.RoundStats

RoundIn applies the In predicate on the "round" field.

func RoundLT

func RoundLT(v uint) predicate.RoundStats

RoundLT applies the LT predicate on the "round" field.

func RoundLTE

func RoundLTE(v uint) predicate.RoundStats

RoundLTE applies the LTE predicate on the "round" field.

func RoundNEQ

func RoundNEQ(v uint) predicate.RoundStats

RoundNEQ applies the NEQ predicate on the "round" field.

func RoundNotIn

func RoundNotIn(vs ...uint) predicate.RoundStats

RoundNotIn applies the NotIn predicate on the "round" field.

func Spent

func Spent(v uint) predicate.RoundStats

Spent applies equality check predicate on the "spent" field. It's identical to SpentEQ.

func SpentEQ

func SpentEQ(v uint) predicate.RoundStats

SpentEQ applies the EQ predicate on the "spent" field.

func SpentGT

func SpentGT(v uint) predicate.RoundStats

SpentGT applies the GT predicate on the "spent" field.

func SpentGTE

func SpentGTE(v uint) predicate.RoundStats

SpentGTE applies the GTE predicate on the "spent" field.

func SpentIn

func SpentIn(vs ...uint) predicate.RoundStats

SpentIn applies the In predicate on the "spent" field.

func SpentLT

func SpentLT(v uint) predicate.RoundStats

SpentLT applies the LT predicate on the "spent" field.

func SpentLTE

func SpentLTE(v uint) predicate.RoundStats

SpentLTE applies the LTE predicate on the "spent" field.

func SpentNEQ

func SpentNEQ(v uint) predicate.RoundStats

SpentNEQ applies the NEQ predicate on the "spent" field.

func SpentNotIn

func SpentNotIn(vs ...uint) predicate.RoundStats

SpentNotIn applies the NotIn predicate on the "spent" 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