On Tuesday 04 March 2008 12:34:11 Marco De Felice wrote: > So after some coding and thanks to sdobrev previous reply I came up > with the following mapperextension that allows for a client side > update log to a different table (logtable name = table_prefix + > original table name) with a logoperation field added. > > Any comment is welcome as I don't really know SA internals, it > seems to work against a simple mapped table. for multitable mappers... a) log as mapper-access and not table-access b) or, while walking mapper.columns, each column knows which table it comes from, so for those changed u can log them separately
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---