This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE OR REPLACE FUNCTION public.inseupcontacts(data json, img json) | |
| RETURNS SETOF jsonb | |
| LANGUAGE plpgsql | |
| AS $function$ | |
| DECLARE | |
| ref refcursor; | |
| record contacts%ROWTYPE; | |
| I_Max integer := json_array_length(data)-1; | |
| uid integer; | |
| name character varying; |