Merged in bugfix/livetests (pull request #71)
Live Tests * testfixes * lint * vendor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user