[ZODB-Dev] List of modified objects

Tim Peters tim at zope.com
Mon Dec 6 14:06:20 EST 2004


[Tim Peters]
>> 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?

[Syver Enstad]
> 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).

Right!  What difference remains between "pretty much like what I want" and
"what I want"?



More information about the ZODB-Dev mailing list