-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: hall-of-fame entry point (#201)
- Loading branch information
Showing
7 changed files
with
205 additions
and
16 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
server/.sqlx/query-7c69d6fb1e24760afa2353ca27c6e91e3c25b5d5dfb881439a5be159e16064de.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
server/.sqlx/query-c5c9f1783d58b526af41a64b9b3f79fec9ef85bfac5d125d910f5cf3506f09b2.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
SELECT | ||
u.id, | ||
u.login, | ||
u.full_name, | ||
u.permanent_bonus, | ||
upd.total_rating | ||
FROM | ||
users AS u | ||
JOIN user_period_data upd ON upd.user_id = u.id | ||
AND upd.period_type = $1 | ||
WHERE | ||
u.permanent_bonus > 0 | ||
ORDER BY | ||
u.permanent_bonus desc, | ||
upd.total_rating desc | ||
LIMIT | ||
$2 OFFSET $3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters