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