Fix: use executemany not executescript

The latter doesn't support variable substitution
This commit is contained in:
Reid 'arrdem' McKenzie 2023-07-08 18:05:23 -06:00
parent f7f243d6e4
commit 792b32fb1c

View file

@ -43,10 +43,10 @@ WHERE
user_id = :uid
;
-- name: delete-file#
-- name: delete-file*!
DELETE FROM jobs
WHERE
user_uid = :uid
user_id = :uid
AND file_id = :fid
;