except im totally wrong, at the moment you have to have the separate  
"eagerload" for each path, the way you have it.

On Mar 9, 2007, at 3:01 PM, Dennis wrote:

>
> I have a class that has a lazy loaded option.
> This class is a parent of another table that I'd like to select from.
>
> a->lazy_b
>
> c->lazy_a
>
> I want to eagerload both a & b like this:
>
> c->a->b
>
> Is there a way to specify that?
>
> query(c).options(eagerload('a'),eagerload('a.b'))....
> seams logical.
>
> Thoughts?
>
> -Dennis
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to