added spray patterns

This commit is contained in:
2021-10-31 08:40:02 +01:00
parent 268793f0e5
commit 978232dd0a
66 changed files with 16805 additions and 11903 deletions

View File

@@ -38,10 +38,10 @@ const (
// Table holds the table name of the match in the database.
Table = "matches"
// StatsTable is the table that holds the stats relation/edge.
StatsTable = "stats"
// StatsInverseTable is the table name for the Stats entity.
// It exists in this package in order to avoid circular dependency with the "stats" package.
StatsInverseTable = "stats"
StatsTable = "match_players"
// StatsInverseTable is the table name for the MatchPlayer entity.
// It exists in this package in order to avoid circular dependency with the "matchplayer" package.
StatsInverseTable = "match_players"
// StatsColumn is the table column denoting the stats relation/edge.
StatsColumn = "match_stats"
// PlayersTable is the table that holds the players relation/edge. The primary key declared below.

View File

@@ -1049,7 +1049,7 @@ func HasStats() predicate.Match {
}
// HasStatsWith applies the HasEdge predicate on the "stats" edge with a given conditions (other predicates).
func HasStatsWith(preds ...predicate.Stats) predicate.Match {
func HasStatsWith(preds ...predicate.MatchPlayer) predicate.Match {
return predicate.Match(func(s *sql.Selector) {
step := sqlgraph.NewStep(
sqlgraph.From(Table, FieldID),