On Dec 15, 2007, at 12:04 PM, Allen Bierbaum wrote:

>
> The one question I have here though is, how can I make the update()
> call that reattaches it to the foreground session automatically reload
> the entire record from the database (ie. ignore any local
> modifications)?  Do I have to call update() followed by refresh()?


sure...or expire() might be more efficient depending on specifics.

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