Hi all,
is there a way to request at "query-time" eager loading on every
relation involved?

For example, given:
- a class X that as a (normally lazy) relation to Y, which in turn has
a (normally lazy) relation to Z
- a query on class X
is there a way to activate eager loading on every relation of the
query without knowing beforehand the relations involved?
Should I use reflection and then use options(eagerload ... ) ) ?

Many thanks!
--~--~---------~--~----~------------~-------~--~----~
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 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to