filter out champ roles with less than 100 games
All checks were successful
ci / docker (push) Successful in 4m48s

This commit is contained in:
Álvaro 2024-06-09 03:38:13 +02:00
parent 33bcbece88
commit 16437b5deb

View File

@ -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