On Apr 12, 2007, at 11:38 PM, Kaali wrote:

>
> I actually tried to use query.instances, but it behaved quite oddly. I
> didn't debug or even echo the SQL calls yet, but it made accessing
> those instances very slow. The actual instances call was quick, but
> when accessing the objects from the resulting list it slowed down to
> crawl.
>

make sure you are using the contains_eager() option to indicate the  
relationships that are eagerly loading.




--~--~---------~--~----~------------~-------~--~----~
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