On Apr 6, 2008, at 11:44 AM, Moshe C. wrote:

>
> Is it possible to retrieve mapped objects from a session.
>
> The motivation: I want to maintain history log tables where a row is
> added per  each update or insert on the corresponding main table. The
> schema of the tables is identical except for an additional timestamp
> in the history table.
>
> I want to do this in one place and wrapping the commit() function
> seems appropriate.


take a look at SessionExtension:  
http://www.sqlalchemy.org/docs/04/sqlalchemy_orm_session.html#docstrings_sqlalchemy.orm.session_SessionExtension



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