initial setup, messing around with sqlc
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- users.sql
|
||||
-- name: GetUsernameByID :one
|
||||
SELECT user_name FROM users WHERE id = $1;
|
||||
|
||||
-- name: checkUserExistsByEmail :one
|
||||
SELECT id FROM users WHERE user_mail = $1;
|
||||
Reference in New Issue
Block a user