test: getRequestFromFunction
This commit is contained in:
8
src/test/resources/sql/function/Test/function_test.sql
Normal file
8
src/test/resources/sql/function/Test/function_test.sql
Normal file
@@ -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;
|
||||
$$
|
||||
Reference in New Issue
Block a user