25 Sep
2002
25 Sep
'02
12:51 p.m.
Meilicke, Scott wrote:
See:
http://lists.zope.org/pipermail/zpt/2001-December/002553.html
For example code on converting your zsql method results to a dictionary.
Urm, I prefer my implementation: def recs2lod(recset, names=None): return recset.dictionaries ;-) but then again, you don't even really need to do that, as an example: for rec in recset: print rec['myrecord'] print getattr(rec,'myrecord') cheers, Chris