[Zope-DB] Deleting a ZCatalog Object from ZODB

Takahashi, Michael MTakahashi at oid.ucla.edu
Thu Jul 7 12:27:03 EDT 2005

Hi Guys,


I have successfully setup Zope to query a MySQL database and catalog the
data using the infamous Catalog Anything technique
(http://zope.org/Members/rbickers/cataloganything).  One caveat that
occurs is that when you delete an object from the MySQL database and you
run the Python script to update the ZCatalog, the deleted entry will
still reside in the ZCatalog unless you update the catalog from the
Advanced tab.  But there must be another more efficient way to delete
just the single object in the ZCatalog.


Using catalog_object() you can insert the data into the ZCatalog.  Is
there a function (to be used in the Python Script) that can remove
object from the ZCatalog as well?







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-db/attachments/20050707/b8129ff8/attachment.htm

More information about the Zope-DB mailing list