--On 14. Februar 2007 18:40:25 +0000 [EMAIL PROTECTED] wrote:


I am trying to find a friendlier way of error traping when I am perform
some database activities.


The one I am looking for first is checking for
a duplicate entry in a database.

What does that mean? You want to check for an existing object by id within a container?

if some_id in somefolder.objectIds():


Attachment: pgpaWbDsNPmSK.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to