diff options
Diffstat (limited to 'backend/query.sql')
| -rw-r--r-- | backend/query.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/query.sql b/backend/query.sql index ed8c7bc..886f96c 100644 --- a/backend/query.sql +++ b/backend/query.sql @@ -1,4 +1,4 @@ --- name: GetUserById :one +-- name: GetUserByID :one SELECT * FROM users WHERE users.user_id = $1 LIMIT 1; @@ -32,7 +32,7 @@ UPDATE games SET started_at = $2 WHERE game_id = $1; --- name: GetGameById :one +-- name: GetGameByID :one SELECT * FROM games LEFT JOIN problems ON games.problem_id = problems.problem_id WHERE games.game_id = $1 |
