updated deps & regen ent
This commit is contained in:
@@ -19,7 +19,7 @@ import (
|
||||
type WeaponQuery struct {
|
||||
config
|
||||
ctx *QueryContext
|
||||
order []OrderFunc
|
||||
order []weapon.OrderOption
|
||||
inters []Interceptor
|
||||
predicates []predicate.Weapon
|
||||
withStat *MatchPlayerQuery
|
||||
@@ -56,7 +56,7 @@ func (wq *WeaponQuery) Unique(unique bool) *WeaponQuery {
|
||||
}
|
||||
|
||||
// Order specifies how the records should be ordered.
|
||||
func (wq *WeaponQuery) Order(o ...OrderFunc) *WeaponQuery {
|
||||
func (wq *WeaponQuery) Order(o ...weapon.OrderOption) *WeaponQuery {
|
||||
wq.order = append(wq.order, o...)
|
||||
return wq
|
||||
}
|
||||
@@ -272,7 +272,7 @@ func (wq *WeaponQuery) Clone() *WeaponQuery {
|
||||
return &WeaponQuery{
|
||||
config: wq.config,
|
||||
ctx: wq.ctx.Clone(),
|
||||
order: append([]OrderFunc{}, wq.order...),
|
||||
order: append([]weapon.OrderOption{}, wq.order...),
|
||||
inters: append([]Interceptor{}, wq.inters...),
|
||||
predicates: append([]predicate.Weapon{}, wq.predicates...),
|
||||
withStat: wq.withStat.Clone(),
|
||||
|
Reference in New Issue
Block a user