[ZODB-Dev] List of modified objects
Syver Enstad
syver at inout.no
Tue Dec 7 04:02:26 EST 2004
"Tim Peters" <tim at zope.com> writes:
> [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"?
Working, running code ;-)
More information about the ZODB-Dev
mailing list