Allow setting user for resource operations

This commit is contained in:
Abhishek Shroff
2024-08-06 00:14:51 +05:30
parent 9789886297
commit 711b8bb02e
4 changed files with 85 additions and 21 deletions

View File

@@ -8,5 +8,8 @@ INSERT INTO users(
-- name: UserByUsername :one
SELECT * from users WHERE username = $1;
-- name: UserByID :one
SELECT * from users WHERE id = $1;
-- name: ListUsers :many
SELECT * from users WHERE deleted IS NULL;