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

Dieter Maurer dieter@handshake.de
Mon, 3 Feb 2003 20:39:23 +0100


Stephan Herschel wrote at 2003-2-3 17:27 +0100:
 > <dtml-let result="query()">
 > 
 > <dtml-var expr="result[0].name()">
It is called "names" and it is a method of the complete result
set and not the individual result rows.

Try:
	<dtml-var expr="result.names()">


Dieter