Intersystems Cache provides interfaces to run SQL relational queries against a cache database. When trying to do aggregate queries across the object data structures is very slow and sometimes practically impossible.
Is there a way to have an object script method return data rows as a SQLProc type without using low performing SQL queries.
I have looked at the rset and %List objects, but I can't seem to connect the dots.
I can return a delimited string, but I need to be able to expose it as a stored procedure to reporting engines such as Crystal etc.