From 8ef9d9c303975eba5e73516373797ba249453c91 Mon Sep 17 00:00:00 2001 From: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Tue, 28 May 2024 19:52:21 +1200 Subject: [PATCH] chore: remove the unused procedures --- procedures/count_client_records.sql | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 procedures/count_client_records.sql diff --git a/procedures/count_client_records.sql b/procedures/count_client_records.sql deleted file mode 100644 index 68a9545..0000000 --- a/procedures/count_client_records.sql +++ /dev/null @@ -1,16 +0,0 @@ -/** - Procedure to count the number of records in the table for a given service - */ -create or replace procedure count_client_records(serviceId text, _num_of_records inout integer DEFAULT NULL) -language plpgsql -as $$ -begin - SELECT COUNT(id) - FROM "Log" - WHERE "serviceId"=serviceId - INTO _num_of_records; - - commit; -end;$$ -/* Execure count_client_records procedure */ -call count_client_records('serviceId', null); \ No newline at end of file