feature: update input with response if input and output is the same object
This commit is contained in:
@@ -63,4 +63,13 @@ BEGIN
|
||||
INTO result, total
|
||||
LIMIT "limit" OFFSET "offset";
|
||||
END;
|
||||
$$
|
||||
$$;
|
||||
|
||||
CREATE OR REPLACE FUNCTION test_function_object (inout resource json)
|
||||
LANGUAGE plpgsql
|
||||
AS
|
||||
$$
|
||||
BEGIN
|
||||
resource = json_build_object('id', 1, 'name', 'changedName');
|
||||
END;
|
||||
$$;
|
||||
Reference in New Issue
Block a user