I have written a mysql stored procedure in my magento database to perform a complex operation and want to use them in my magento code. I was able to call the procedure from my magento code and fetch the resultset in an array. Now i wanted to use this resultset as maybe a model to do further joins using joinattribute or to be more specific, i want to transfer this output resultset from the stored procedure into a collection so that i can use the getcollection methods. how do i do this ?
Share
From a thread on joining procedure results:
So it looks like you’ll have to do it the long way and use the array as a parameter.
For similar tricks with collections see "Other Comparison Operators" here.