On Jul 2, 2008, at 4:14 PM, andres wrote:

>
> How is a query execution defined? Is Session.save_or_update()
> classified as a query execution? I expected an autoflush to occur on
> each call to save_or_update.

save_or_update() just places an object in the session where it is then  
pending, dirty or just persistent.  No SQL is executed.  This is  
described at:

http://www.sqlalchemy.org/docs/05/session.html#unitofwork_using_states

where "add()" is 0.5's term for "save_or_update()".


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