Open baldu2021 opened 2 years ago
The current code V1 works with functions and procedures only. One can fix the number of rows returned easily. However, that would only be half the job without implementing the required DIANA nodes.
I'm working on support for PACKAGE and PACKAGE BODY, but the priority is quite low, as I have some REAL projects and I don't need it right now.
When you try it with a package, the following code trigger error because return more than 1 row
select max(line) into l_number_of_lines from user_source where name = upper(p_name) ;
And that is because for object like ackage you will have 2 sources: one of the package declaration and one of the package body.
I really don't know much about pl / sql to fix it.