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
业界
2016年07月09日