我有一个管道功能
row_t AS OBJECT(...);
table_t IS TABLE OF row_t
func_a RETURN table_t PIPELINED AS ...
另一个函数将row_t
作为参数:
func_b(row_in row_t)
现在,在一个过程中,我想将每一行从管道函数传递到func_b
FOR c IN (SELECT * FROM TABLE(func_a()))
LOOP
-- The following code gives compilation error,
-- How do I convert c to row_t type???
some_var := func_b(c);
...
END LOOP;
有什么建议吗?提前谢谢大家!