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