from gluon.storage import Storage
from gluon.dal import Rows
result = db.executesql("SELECT first_name, last_name FROM auth_user",
as_dict=True)
result = [Storage(item) for item in result]
newrows = Rows(records=result)
newrows[0].first_name
u'Bruno'
- [web2py] packaging return from executesql as Rows object? David Watson
- [web2py] Re: packaging return from executesql as Row... dlypka
- Re: [web2py] Re: packaging return from executesq... Khalil KHAMLICHI
- [web2py] Re: packaging return from executesql as Row... Anthony
- [web2py] Re: packaging return from executesql as... Anthony
- Re: [web2py] Re: packaging return from execu... Bruno Rocha
- Re: [web2py] Re: packaging return from e... Bruno Rocha
- [web2py] Re: packaging return from ... David Watson
- [web2py] Re: packaging return from executesql as Row... DenesL

