updated deps & regen ent
This commit is contained in:
@@ -1089,11 +1089,7 @@ func HasStats() predicate.Player {
|
||||
// HasStatsWith applies the HasEdge predicate on the "stats" edge with a given conditions (other predicates).
|
||||
func HasStatsWith(preds ...predicate.MatchPlayer) predicate.Player {
|
||||
return predicate.Player(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)
|
||||
@@ -1116,11 +1112,7 @@ func HasMatches() predicate.Player {
|
||||
// HasMatchesWith applies the HasEdge predicate on the "matches" edge with a given conditions (other predicates).
|
||||
func HasMatchesWith(preds ...predicate.Match) predicate.Player {
|
||||
return predicate.Player(func(s *sql.Selector) {
|
||||
step := sqlgraph.NewStep(
|
||||
sqlgraph.From(Table, FieldID),
|
||||
sqlgraph.To(MatchesInverseTable, FieldID),
|
||||
sqlgraph.Edge(sqlgraph.M2M, false, MatchesTable, MatchesPrimaryKey...),
|
||||
)
|
||||
step := newMatchesStep()
|
||||
sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
|
||||
for _, p := range preds {
|
||||
p(s)
|
||||
|
Reference in New Issue
Block a user