[sqlalchemy] Re: Eager loading self referential mapper

2007-03-23 Thread Koen Bok
Yeah, I am sure the tree will never be deeper than 3 or 4 levels. Koen On Mar 23, 5:24 pm, Andreas Jung <[EMAIL PROTECTED]> wrote: > --On 23. März 2007 16:14:26 + Koen Bok <[EMAIL PROTECTED]> wrote: > > > > > Could anyone please explain me a little why self referantial mappers > > cannot be

[sqlalchemy] Re: Eager loading self referential mapper

2007-03-23 Thread Michael Bayer
its not theoretically impossible, but it is theoretically ridiculously complicated to do automatically, and also would have to limit the depth arbitrarily to one or two levels (which means, someone wants level 5 off their eager loader, then they come back to complain). each level of nodes

[sqlalchemy] Re: Eager loading self referential mapper

2007-03-23 Thread Andreas Jung
--On 23. März 2007 16:14:26 + Koen Bok <[EMAIL PROTECTED]> wrote: Could anyone please explain me a little why self referantial mappers cannot be eager-loading. Is this not yet integrated in SQLAlchemy or theoratically impossible or impractical? Do you really want to load a possibly *hug