updated deps; switched sitemap lib; ent regen
This commit is contained in:
@@ -120,14 +120,14 @@ func (w *Weapon) assignValues(columns []string, values []any) error {
|
||||
|
||||
// QueryStat queries the "stat" edge of the Weapon entity.
|
||||
func (w *Weapon) QueryStat() *MatchPlayerQuery {
|
||||
return (&WeaponClient{config: w.config}).QueryStat(w)
|
||||
return NewWeaponClient(w.config).QueryStat(w)
|
||||
}
|
||||
|
||||
// Update returns a builder for updating this Weapon.
|
||||
// Note that you need to call Weapon.Unwrap() before calling this method if this Weapon
|
||||
// was returned from a transaction, and the transaction was committed or rolled back.
|
||||
func (w *Weapon) Update() *WeaponUpdateOne {
|
||||
return (&WeaponClient{config: w.config}).UpdateOne(w)
|
||||
return NewWeaponClient(w.config).UpdateOne(w)
|
||||
}
|
||||
|
||||
// Unwrap unwraps the Weapon entity that was returned from a transaction after it was closed,
|
||||
@@ -163,9 +163,3 @@ func (w *Weapon) String() string {
|
||||
|
||||
// Weapons is a parsable slice of Weapon.
|
||||
type Weapons []*Weapon
|
||||
|
||||
func (w Weapons) config(cfg config) {
|
||||
for _i := range w {
|
||||
w[_i].config = cfg
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user