In def download(self):
I have doing this:
rows=db(db[t][f]==name).select()
print rows.xml()
print type(rows)
print rows
I get this:
<table><thead><tr><th>foto.id</th><th>foto.title</th><th>foto.thumbnail</th><th>foto.image</th><th>foto.filename</th></tr></thead><tbody></tbody></table>
<class 'gluon.sql.SQLRows'>
foto.id,foto.title,foto.thumbnail,foto.image,foto.filename
Ok - how do I get to the data in these fields?
I've looked in manual and
http://mdp.cti.depaul.edu/examples/static/epydoc/gluon.sql.SQLRows-class.html
but don't get how to read the epydoc exactly :(
-wj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---