updated deps & regen ent
This commit is contained in:
@@ -724,11 +724,7 @@ func HasStats() predicate.Match {
|
||||
// HasStatsWith applies the HasEdge predicate on the "stats" edge with a given conditions (other predicates).
|
||||
func HasStatsWith(preds ...predicate.MatchPlayer) predicate.Match {
|
||||
return predicate.Match(func(s *sql.Selector) {
|
||||
step := sqlgraph.NewStep(
|
||||
sqlgraph.From(Table, FieldID),
|
||||
sqlgraph.To(StatsInverseTable, FieldID),
|
||||
sqlgraph.Edge(sqlgraph.O2M, false, StatsTable, StatsColumn),
|
||||
)
|
||||
step := newStatsStep()
|
||||
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
|
||||
for _, p := range preds {
|
||||
p(s)
|
||||
@@ -751,11 +747,7 @@ func HasPlayers() predicate.Match {
|
||||
// HasPlayersWith applies the HasEdge predicate on the "players" edge with a given conditions (other predicates).
|
||||
func HasPlayersWith(preds ...predicate.Player) predicate.Match {
|
||||
return predicate.Match(func(s *sql.Selector) {
|
||||
step := sqlgraph.NewStep(
|
||||
sqlgraph.From(Table, FieldID),
|
||||
sqlgraph.To(PlayersInverseTable, FieldID),
|
||||
sqlgraph.Edge(sqlgraph.M2M, true, PlayersTable, PlayersPrimaryKey...),
|
||||
)
|
||||
step := newPlayersStep()
|
||||
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
|
||||
for _, p := range preds {
|
||||
p(s)
|
||||
|
Reference in New Issue
Block a user