28 Oct
2002
28 Oct
'02
4:45 p.m.
(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