On Nov 7, 2008, at 12:18 PM, Adam Ryan wrote:

>
> OK, thank you.
>
> But one last thought:  Is storing the query rather than the result
> really the way?
>
> I mean, after a couple dozen complex, expensive change operations, the
> user could end up with only 4 records.  It would be more efficient to
> just store the indexes rather than redo all the queries over and over
> again.

if its only a few records that you can place into an in_() clause,  
then yes this is probably more efficient.


> On the other hand, with only a few simple queries and thousands of
> resulting records, storing the indexes is obviously a drain.

if many records, then yes storing the criterion alone is more  
efficient :).


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