Fix: use executemany not executescript
The latter doesn't support variable substitution
This commit is contained in:
parent
37cfcb190e
commit
253a4e5b59
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue