function

pg的function的编写

语法 CREATE OR REPLACE FUNCTION public.em_quick_query( IN userid character varying, IN orgid character varying) RETURNS TABLE(id bigint, parent_id bigint) AS $BODY$ BEGIN RETURN QUERY EXECUT