Hey All,

I have a conceptual question.

You have two ways to get relations; lazy and nonlazy. Nonlazy works
great for saving queries but can get pretty slow with complicated
joins. So I was wondering if there was a third way; pre fetching all
the data for relations and let the mapper get the relation data from a
cache instead of doing another query.

It's kinda hard to explain, so I wrote an example script at:
http://paste.pocoo.org/show/55145/

I guess this should be possible by writing some MapperExtension? Did
anyone do anything like this, or maybe has some pointers?

Thanks!

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