Hi.

Let's say I have a simple function in my Postgresql:
CREATE OR REPLACE FUNCTION public.get_test(id_p integer)
 RETURNS SETOF test
 LANGUAGE plpgsql
AS $function$
BEGIN
    RETURN QUERY SELECT * FROM test WHERE id = id_p LIMIT 1;
END;
$function$

Since that returns a SETOF, I'd like to put the result of this function 
into a Result<TestRecord>.
I don't find the way to do it, though. Is there one?


Adrien.

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to