Not 100% sure about that, but you should try looking at the docs for custom hydrators. Just looking at the diffs of the custom hydrator bundle I found some useful stuff:
https://github.com/symfony/symfony/pull/471/files Not sure if the hydrator acts on a single row or on the entire resultset though. You should really dive a bit in stuff like the ObjectHydrator and look at what it does :) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 10 May 2011 19:14, Konrad Korzeniowski <kon...@pandur.net> wrote: > Hello! > > Using symfony2 and doctrine I'm trying to build a graph (no loops) of > referencing documents. I've properly built a self-related entity "Document", > so getting/setting closest parents and childs (each document can have any > number of parents and/or childs) is not a problem. My question is: will it > be possible > (and how) to receive and populate ALL parents (ascendants) OR childs > (descendants) of the particular document (node) in a tree, using pgsql's > "with recursive" construction and native sql? > > -- > rgrds, > Konrad Korzeniowski > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en