[Zope] enumerating fields

Dieter Maurer dieter@handshake.de
Fri, 15 Jun 2001 23:16:09 +0200 (CEST)


Mark McEahern writes:
 > Q:  How do you enumerate and display the field NAMES
 > in a SQL result set?
You search the (searchable) mailing list archive ...

   "Shared.DC.ZRDB.Result.Result" instances (thats what you
   get from a Z SQL method (if it is a search))
   have a "names" method that return the column names.


Dieter