[Zope-DB] ZSQL Result Set: How to find out column's names?

Stephan Herschel stephan.herschel@proceryon.at
Mon, 03 Feb 2003 16:47:24 +0100


Hi group,

I'm testing a ZSQL Method which uses a dynamically constructed 
sql-statement. Thus i don't know the column names of the result set.

How can I get the column names to display them in a dtml-method?

The only thing I found was a reference to the 'Searchable Object 
Interface' in the Zope-book and a hint to a method called 
_searchable_result_columns() which cannot be called as it starts with a '_'

Thanks,
Stephan