rows = db().select(db.address.ALL)
And I want to know if there is a api to wrap rows to json format?
--
I like python!
UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/
meide <<wxPython UI module>>: http://code.google.com/p/meide/
My Blog: http://www.donews.net/limodou
return sj.dumps(str(db().select(db.address.ALL)) # serializes the csv or
db().select(...).response
gives you a list of list
db().select(...).colnames
gives you a list of colnames