test: getRequestFromFunction

This commit is contained in:
flecomte committed 2019-06-14 09:04:46 +02:00
1 parent 2d494d6e3e
commit baa2976e80
4 files changed
+23 -3

No files matched your search

@@ -0,0 +1,8 @@
CREATE OR REPLACE FUNCTION test_function (name text, IN hi text default 'hello', out result json)
LANGUAGE plpgsql
AS
$$
BEGIN
result = json_build_object('id', 2, 'name', 'test');
END;
$$