Merged in bugfix/livetests (pull request #71)

Live Tests

* testfixes

* lint

* vendor
This commit is contained in:
Michael McGuinness
2025-02-17 17:25:33 +00:00
parent e357555725
commit 0ea544926b
6 changed files with 139 additions and 72 deletions
@@ -7,7 +7,7 @@ RETURNS TABLE (id uuid, totalCount BIGINT) AS $$
DECLARE
totalCount BIGINT := 0;
BEGIN
SELECT COUNT(*)::BIGINT INTO totalCount FROM documents WHERE jobId = _jobId LIMIT 1;
SELECT COUNT(*)::BIGINT INTO totalCount FROM documents WHERE jobId = _jobId;
RETURN QUERY
SELECT d.id, totalCount