📅  最后修改于: 2022-03-11 15:05:00.594000             🧑  作者: Mango
FOR r IN SELECT * FROM foo
WHERE fooid > 0
LOOP
-- can do some processing here
RETURN NEXT r; -- return current row of SELECT
END LOOP;