[Zope] How do I commit partial results from an external script?

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 30 Aug 2002 11:54:29 +0100


On Friday 30 Aug 2002 11:16 am, Max M wrote:
> I need to remove an attribute from most any object in my zodb. I suspec=
t
> that I will need to do partial commits to not slow down the process to
> much.
>
> Has anybody got an example?

Have a look at how the catalog_object function in ZCatalog.py uses=20
subtransactions.