+---[ Alric Aneron ]--
| Hello,
| I have a ZSQL Method, which is called by my python
| script.
| However, I am curious as to what type of object is
| returned when that call is made.
| It's some sort of a recordset (or resultset) object
| that behaves like a list...it
- Original Message -
From: Alric Aneron [EMAIL PROTECTED]
To: zope@zope.org
Sent: Friday, June 16, 2006 10:19 AM
Subject: [Zope] Zope Recordset Object
Hello,
I have a ZSQL Method, which is called by my python
script.
However, I am curious as to what type of object is
returned when
http://mail.zope.org/pipermail/zope-dev/1999-September/001414.html
The only auxiliary structure I ever use is names, i.e.
n2i = {}
res = container.foo_zsql()
nms = res.names()
for i in range(len(nms)):
n2i[nms[i]] = i
Then I can address by name as in
res[i][n2i['column_name']]
jim
Hello,