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