On Wednesday, May 28, 2014 4:26:28 PM UTC-4, Niphlod wrote: > > I'd also argue that it's a nice shortcut but you should ALWAYS select only > what's needed. A select fetching 20 columns just to display the data from > one column only will ALWAYS perform worse than a select fetching that only > column. >
Yes, though the new method is useful even (and especially) if you only select a single column, as it allows you to easily extract a list: mylist = db().select(db.mytable.myfield).column() Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

