-----Original Message----- From: Benno Rice [mailto:benno@netizen.com.au] Sent: Tuesday, October 19, 1999 12:30 AM To: zope@zope.org Subject: [Zope] Programmatically adding and deleting indexes in a ZCatalog
Hi,
I've got one of these ObjectManager/ZCatalog derived ZClasses, and I'm wanting to add some code to my _add method to delete some of the default indexes and add some new ones.
How would I go about doing this?
By calling addIndex, delIndex, addColumn and delColumn. The add/del Index methods add and delete indexes (surprise), and the add/del Column methods add and delete columns in the meta-data table. If my ZCatalog UML model wasn't currently in a hosed state due to our high quality modeling product, you could reference it (do I sound bitter?). -Michel