I would like to know if there is a way to do this:
I have a type object A. I would like to add a static function in the object A declaration which has a parameter whose type is a table of object A.
How can do that knwo that :
I cannot do this :
STATIC FUNCTION blabla (myList IN TABLE OF A) : the compiler does not understand table here
I cannot create type xxx TABLE OF A because A is unknown at the time of the creation of this new type
So to sum up :
create or replace
TYPE myObject AS OBJECT (
STATIC FUNCTION blabla (myList IN TABLE OF myObject)
);