filter out champ roles with less than 100 games
All checks were successful
ci / docker (push) Successful in 4m48s
All checks were successful
ci / docker (push) Successful in 4m48s
This commit is contained in:
parent
33bcbece88
commit
16437b5deb
@ -40,7 +40,8 @@ defmodule LolAnalytics.Facts.ChampionPlayedGame.Repo do
|
|||||||
team_position: m.team_position,
|
team_position: m.team_position,
|
||||||
total_games: count("*")
|
total_games: count("*")
|
||||||
},
|
},
|
||||||
group_by: [m.champion_id, c.image, c.name, m.team_position]
|
group_by: [m.champion_id, c.image, c.name, m.team_position],
|
||||||
|
having: count("*") > 100
|
||||||
|
|
||||||
Repo.all(query)
|
Repo.all(query)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user