[Zope-DB] Deleting a ZCatalog Object from ZODB
MTakahashi at oid.ucla.edu
Thu Jul 7 12:27:03 EDT 2005
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...
More information about the Zope-DB