WIP: leaderboard state by action_id

This commit is contained in:
norohind committed 2021-12-15 12:10:21 +03:00
1 parent 3a568a9c89
commit 3f1efe0ac7
4 files changed
+47 -4

No files matched your search

+8 -1
View File
@@ -94,4 +94,11 @@ where leaderboard_type = %(LB_type)s and platform = %(platform)s
group by action_id
order by "Timestamp UTC" desc
limit 1000;
"""
"""
select_leaderboard_by_action_id = """select
*
from squads_stats_states
where action_id = %(action_id)s
order by score desc;
"""