probably the most straightforward way is to use a MapperExtension with
before_update() overridden to place the current timestamp in the
"change" field of the instance, either by using a Python datetime
function or by calling func.current.timestamp().  then that value will
get sent in on the update.   it wont inline the CURRENT_TIMESTAMP()
call into the UPDATE but it will have the same end effect.


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