Hello
I found conditions when eagerloading does not work because of
recursion check in setup_query (strategy.py) method.
Say I have classes A,B,C
and
A_mapper has properties a_to_b_property1, a_to_b_property2,
B_mapper has property b_to_c_property.
When I make something like
query(A).options(eagerload('a_to_b_property1'),eagerload('a_to_b_property1.b_to_c_property'),eagerload('a_to_b_property2')).get(...)

After processing two first eagerload properties, B_mapper is in
recursion stack
and a_to_b_property2 cannot modify query statement.

Any other way to check recursion detection?

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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