Fix: SELECT WHERE syntax
This commit is contained in:
parent
1eb72905cd
commit
f1c5a39548
1 changed files with 2 additions and 2 deletions
|
@ -58,12 +58,12 @@ WHERE
|
||||||
|
|
||||||
-- name: list-jobs-by-file
|
-- name: list-jobs-by-file
|
||||||
SELECT
|
SELECT
|
||||||
*
|
finished_at
|
||||||
, (SELECT name FROM job_statuses WHERE id = j.status_id) AS `status`
|
, (SELECT name FROM job_statuses WHERE id = j.status_id) AS `status`
|
||||||
FROM jobs
|
FROM jobs
|
||||||
WHERE
|
WHERE
|
||||||
file_id = :fid
|
file_id = :fid
|
||||||
, uid = :uid
|
AND uid = :uid
|
||||||
;
|
;
|
||||||
|
|
||||||
-- name: list-job-queue
|
-- name: list-job-queue
|
||||||
|
|
Loading…
Reference in a new issue