Re: [sqlalchemy] Modification tracking

2013-08-25 Thread Wolfgang Keller
In an application, I have rather elaborate needs to track changes. Now I need to track all modifications to all fields, including the relationship list objects. One way to accomplish this would be within the database server itself. With a rule that, instead of updating a record, inserts a

Re: [sqlalchemy] Modification tracking

2013-08-22 Thread Hans-Peter Jansen
Dear Michael, thanks for the detailed response. On Mittwoch, 21. August 2013 16:55:18 Michael Bayer wrote: On Aug 21, 2013, at 12:40 PM, Hans-Peter Jansen h...@urpla.net wrote: Hi, being new to SQLAlchemy, I try to get my way through it. In an application, I have rather elaborate

Re: [sqlalchemy] Modification tracking

2013-08-22 Thread Hans-Peter Jansen
On Donnerstag, 22. August 2013 23:58:17 Hans-Peter Jansen wrote: Dear Michael, Pardon, I'm using 0.8.2 ATM. Cheers, Pete -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To unsubscribe from this group and stop receiving emails from it, send

Re: [sqlalchemy] Modification tracking

2013-08-22 Thread Michael Bayer
On Aug 22, 2013, at 5:58 PM, Hans-Peter Jansen h...@urpla.net wrote: Dear Michael, Hmm, it looks like that needs to be applied on every column attribute.. you can get a list of all attributes mapped using mapper.attrs:

[sqlalchemy] Modification tracking

2013-08-21 Thread Hans-Peter Jansen
Hi, being new to SQLAlchemy, I try to get my way through it. In an application, I have rather elaborate needs to track changes. I've defined 3 classes with declarative, where the main class has relationships with two auxiliary classes, that refer to the main class with foreign references. All

Re: [sqlalchemy] Modification tracking

2013-08-21 Thread Michael Bayer
On Aug 21, 2013, at 12:40 PM, Hans-Peter Jansen h...@urpla.net wrote: Hi, being new to SQLAlchemy, I try to get my way through it. In an application, I have rather elaborate needs to track changes. I've defined 3 classes with declarative, where the main class has relationships