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) > >or > >container.manage_delObjects( container.objectIds() ) > >Be careful with migration of such type.
Yes. 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. -- Dieter _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev