On Aug 4, 2007, at 4:10 AM, Boris Dušek wrote:

>
> So - how is it with sqlalchemy and intelligence when writing to an
> instance of orm-mapped class? Does sqlalchemy behave intelligent just
> by coincidence in some cases (like this one) and in other not?
>

it issues an UPDATE to a specific column when the value of the  
attribute has changed, relative to what was last loaded (or  
committed) into the session.  if the attribute did not change, the  
UPDATE will not contain that column.  if no attributes at all on the  
instance change, no UPDATE is issued at all. 
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to