mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: watch workspace endpoint (#4060)
This commit is contained in:
@ -14,6 +14,14 @@ FROM
|
||||
WHERE
|
||||
job_id = $1;
|
||||
|
||||
-- name: GetWorkspaceResourcesByJobIDs :many
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
workspace_resources
|
||||
WHERE
|
||||
job_id = ANY(@ids :: uuid [ ]);
|
||||
|
||||
-- name: GetWorkspaceResourcesCreatedAfter :many
|
||||
SELECT * FROM workspace_resources WHERE created_at > $1;
|
||||
|
||||
|
Reference in New Issue
Block a user