added spray patterns
This commit is contained in:
@@ -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.
|
||||
|
@@ -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),
|
||||
|
Reference in New Issue
Block a user