Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Ah great. Hadn't known about that hint. However there does not seem to be a setHydrate method on the query object. You can just hydrate it as an array though and it works (and you still get a nicely hydrated result). $q->getResult(\Doctrine\ORM\Query::HYDRATE_ARRAY); If you update your answer I'll accept it. Thanks! Commented Jul 27, 2011 at 14:14
  • I actually just decided to give the MongoDB ODM a try so I'll keep that in mind. Thanks! Commented Jul 28, 2011 at 21:56