On Jul 8, 2008, at 8:57 AM, Moshe C. wrote:

>
> Hi,
> I have an autoflush session and I need it to be so.
>
> For one specific query though, I would like no flush to occur.
>
> How can I set an existing autoflush session to not autoflush and then
> reset it back to autoflush?


query has a query.autoflush(False) you can use, subsequent operations  
with that Query will not autoflush.


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