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 37cfcb190e
commit 253a4e5b59

View file

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