[web2py] Re: Select rows

2014-12-23 Thread Oliver
I used this to get print def printme(): response.view='list.html' users = db(db.users).select(db.users.first_name,db.users.last_name) return dict(users=users) It's working for me now. thanks On Tuesday, December 23, 2014 1:24:12 AM UTC-5, Dave S wrote: > > > > On Wednesday, Decem

[web2py] Re: Select rows

2014-12-23 Thread Tim Richardson
On Tuesday, 23 December 2014 17:24:12 UTC+11, Dave S wrote: > > > > On Wednesday, December 17, 2014 12:17:53 PM UTC-8, Oliver wrote: >> >> I'm getting "None" printed in the webpage. I'm trying to print all >> first_name in the users table database. I'm trying to follow the select >> section in

[web2py] Re: Select rows

2014-12-22 Thread Dave S
On Wednesday, December 17, 2014 12:17:53 PM UTC-8, Oliver wrote: > > I'm getting "None" printed in the webpage. I'm trying to print all > first_name in the users table database. I'm trying to follow the select > section in > http://web2py.com/books/default/chapter/29/06/the-database-abstracti

[web2py] Re: select rows having more than one item in list:string field

2014-02-24 Thread Anthony
list:string field values are stored as simple strings with the items delimited by "|" characters (the values are converted to/from lists during the select/insert process on the web2py side). So, a value with one tag would like like "|tag|", and a value with more than one tag would therefore hav