[ZODB-Dev] List of modified objects

Syver Enstad syver at inout.no
Sun Dec 5 20:26:06 EST 2004


> OTOH, *if* transactions grew an API to iterate over changed objects,
*then*
> regsisterSynch() could be used to get your own function triggered before a
> commit, your function would be passed the Transaction object, and it could
> use the hypothetical iterate-over-changed-objects API to do whatever it
> liked to modified objects before they were committed.  Would that suffice?

That sounds pretty much like what I want. It allows the changed objects to
update themselves with a timestamp and some info from the transaction (the
user).




More information about the ZODB-Dev mailing list