updated deps; switched sitemap lib; ent regen

This commit is contained in:
2023-03-03 20:10:31 +01:00
parent e9a5daa9e3
commit 727d530378
52 changed files with 2626 additions and 5665 deletions

View File

@@ -120,14 +120,14 @@ func (rs *RoundStats) assignValues(columns []string, values []any) error {
// QueryMatchPlayer queries the "match_player" edge of the RoundStats entity.
func (rs *RoundStats) QueryMatchPlayer() *MatchPlayerQuery {
return (&RoundStatsClient{config: rs.config}).QueryMatchPlayer(rs)
return NewRoundStatsClient(rs.config).QueryMatchPlayer(rs)
}
// Update returns a builder for updating this RoundStats.
// Note that you need to call RoundStats.Unwrap() before calling this method if this RoundStats
// was returned from a transaction, and the transaction was committed or rolled back.
func (rs *RoundStats) Update() *RoundStatsUpdateOne {
return (&RoundStatsClient{config: rs.config}).UpdateOne(rs)
return NewRoundStatsClient(rs.config).UpdateOne(rs)
}
// Unwrap unwraps the RoundStats entity that was returned from a transaction after it was closed,
@@ -163,9 +163,3 @@ func (rs *RoundStats) String() string {
// RoundStatsSlice is a parsable slice of RoundStats.
type RoundStatsSlice []*RoundStats
func (rs RoundStatsSlice) config(cfg config) {
for _i := range rs {
rs[_i].config = cfg
}
}