updated deps & regen ent

This commit is contained in:
2023-05-16 18:09:10 +02:00
parent e9e3e02a39
commit 3fd0a4204b
53 changed files with 1062 additions and 593 deletions

View File

@@ -19,7 +19,7 @@ import (
type RoundStatsQuery struct {
config
ctx *QueryContext
order []OrderFunc
order []roundstats.OrderOption
inters []Interceptor
predicates []predicate.RoundStats
withMatchPlayer *MatchPlayerQuery
@@ -56,7 +56,7 @@ func (rsq *RoundStatsQuery) Unique(unique bool) *RoundStatsQuery {
}
// Order specifies how the records should be ordered.
func (rsq *RoundStatsQuery) Order(o ...OrderFunc) *RoundStatsQuery {
func (rsq *RoundStatsQuery) Order(o ...roundstats.OrderOption) *RoundStatsQuery {
rsq.order = append(rsq.order, o...)
return rsq
}
@@ -272,7 +272,7 @@ func (rsq *RoundStatsQuery) Clone() *RoundStatsQuery {
return &RoundStatsQuery{
config: rsq.config,
ctx: rsq.ctx.Clone(),
order: append([]OrderFunc{}, rsq.order...),
order: append([]roundstats.OrderOption{}, rsq.order...),
inters: append([]Interceptor{}, rsq.inters...),
predicates: append([]predicate.RoundStats{}, rsq.predicates...),
withMatchPlayer: rsq.withMatchPlayer.Clone(),