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 ?I have written a mysql stored procedure in my m