Re: [Zope] SQL query result set - what data structure how to access [(elements)]?

2001-01-21 Thread Andrew Kenneth Milton
+---[ Lee ]-- | Hi, | | I'm using a python method to query my database as follows, where I need | to use the result set to generate some HTML. I'm interested in result[0] | and result[1] as listed below; | | * return result[0] gives me: | [{'name': 'PRACTICALS', 'type':

[Zope] SQL query result set - what data structure how to access [(elements)]?

2001-01-20 Thread Lee
Hi, I'm using a python method to query my database as follows, where I need to use the result set to generate some HTML. I'm interested in result[0] and result[1] as listed below; * return result[0] gives me: [{'name': 'PRACTICALS', 'type': 's', 'null': None, 'width': None}, {'name':