[ZODB-Dev] I would like to know if api exists nowadays to get list of all objects which where modified in a transaction ?
Stéphane Klein
stephane at harobed.org
Tue Jul 26 09:26:15 EDT 2011
Le 26/07/2011 15:22, Jim Fulton a écrit :
> On Tue, Jul 26, 2011 at 3:55 AM, Stéphane Klein<stephane at harobed.org> wrote:
>> Hi,
>>
>> some time ago, someone ask how to get list of all objects which where
>> modified in a transaction :
>> http://article.gmane.org/gmane.comp.web.zope.zodb/5734
>>
>> Jim Fulton said « there isn't a public API for this ».
>>
>> I would like to know if this api exists nowadays ?
>
> No. Is your goal the same as before? Is it that
> you want to make sure that a transaction is read-only?
>
> If so, maybe it would be better to express this directly.
> Something like:
>
> transaction.get().assert_read_only()
>
No, I would only see the list of changed resources to launch Whoosh
indexation.
Regards,
Stephane
--
Stéphane Klein <stephane at harobed.org>
blog: http://stephane-klein.info
Twitter: http://twitter.com/klein_stephane
pro: http://www.is-webdesign.com
More information about the ZODB-Dev
mailing list