refactoring: move Query/Function logic into Requester class
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
CREATE OR REPLACE FUNCTION test_function (name text, IN hi text default 'hello', out result json)
|
||||
CREATE OR REPLACE FUNCTION test_function (name text default 'plop', IN hi text default 'hello', out result json)
|
||||
LANGUAGE plpgsql
|
||||
AS
|
||||
$$
|
||||
BEGIN
|
||||
result = json_build_object('id', 2, 'name', 'test');
|
||||
result = json_build_object('id', 3, 'name', 'test');
|
||||
END;
|
||||
$$
|
||||
Reference in New Issue
Block a user