Re: [web2py] Re: Problem with using .as_list()
Thanks Manuele, that's the shortcut I should have been using. D
Re: [web2py] Re: Problem with using .as_list()
On 22/11/2011 11:58, villas wrote: fields = (db.test.id,db.test.ref,db.test.descr) db(db.test.id>0).select(fields).as_list() It seems that I have to do this: db(db.test.id>0).select(db.test.id,db.test.ref,db.test.descr).as_list() or if you prefer: fields = [db.test.id, db.test.ref, db.test.de