coen-hyde/Shanty-Mongo — Issue #53: Collections inside Document
Author: webologen
Created: 2011-11-10 18:20:43+00:00
State: open

I use the Shanty_Mongo_Document to extend my Model Classes.
I wondered if a function exists like "toArray()"

I saw you store the raw array in your protected var "_cleanData"

For the moment i have to iterate through every object to gain the information i need.
But for the REST webservice i develop it would be enough to response the raw data.

Any help would be nice.