> files = model.Files.select(IN(model.Files.q.id, [f[0] for f in files]))
>
> This should only execute 2 queries no matter how many records are
> returned from your first query.
>
> Lee McFadden

Much faster!  Thanks!

~Sean
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to