Victor Safronovich wrote at 2005-12-10 13:21 +0500:
> ...
>I`ll want to migrate my large object containers from Folder to BTreeFolder2, 
>but my
>code have many next places:
>for id in container.objectIds():
>   if some_condition:
>       container._delObject(id)
>container.manage_delObjects( container.objectIds() )
>Be careful with migration of such type.


If you want to avoid surprising behaviour, you would
not use "BTreeFolder2" directly but derive a folder of
your own from "BTreeFolder2" and listify the "ObjectManager" methods.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -

Reply via email to