[sqlalchemy] Audit Table / History Table

2012-11-19 Thread LPG
I'm looking for details on implementing an audit table, either through sqla itself or in a way that plays nicely with sqla. It looks like there used to be an implementation of something like that at http://www.sqlalchemy.org/trac/wiki/UsageRecipes/LogVersions, does anyone know where that code

Re: [sqlalchemy] Audit Table / History Table

2012-11-19 Thread Robert Forkel
http://docs.sqlalchemy.org/en/rel_0_8/orm/examples.html#versioned-objects looks like what you may want. On Mon, Nov 19, 2012 at 9:10 PM, LPG lenno...@gmail.com wrote: I'm looking for details on implementing an audit table, either through sqla itself or in a way that plays nicely with sqla. It

Re: [sqlalchemy] Audit Table / History Table

2012-11-19 Thread LPG
Ahah excellent, thanks! Googling sqlalchemy history table / sqlalchemy audit table and searching the docs but those matches don't show up :P Glad to have one way of doing it ... I don't think this uses triggers and I wonder if this can be optimized much by making use of triggers. If I happen