aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/query.sql
blob: bdcd6571b059ee19e7fd7d007a991a46159105ec (plain)
1
2
3
4
-- name: GetUserAuthFromUsername :one
SELECT * FROM users
JOIN user_auths ON users.user_id = user_auths.user_id
WHERE users.username = $1;