[Zope] Squishdot Error on Zope 2.6.0

Dirk Datzert dirk.datzert@tks-rasselstein.thyssenkrupp.com
Mon, 28 Oct 2002 17:45:16 +0100


> (unless I missed it the other day). You'd think there'd be a simple
> catalog.hasColumn('foo') call, but there isnt. Instead you have to do
> catalog._catalog.schema.has_key('foo').
> 

If this is the only and correct code to check this, why not modifing the
API:

  def hasColumn(self, colName):
     return self._catalog.schema.has_key(colName)

???

Regards,
Dirk