5 Sep
2001
5 Sep
'01
5:41 a.m.
hey guys
I created a ZSQL Method "SELECT * FROM users" which returns 10 rows now in a python script: type = context.type sql = context.mySqlMethod() return type(sql)
this returns: <type 'instance'> while I expected <type 'list'>
try ... sql = contet.mySqlMethod.dictionaries() return sql
and look at that output...
cheers, oliver
Also you can find more on zope : http://www.zope.org/Members/spinwing/ZSQL_Results/ind ex_html Tomas