Thanks, I ended finding out more about how iterators behave and why
they're there during my absence here. Thanks for the support anyway!

~ theiostream.

On Nov 6, 3:19 pm, Anand Chitipothu <anandol...@gmail.com> wrote:
> 2011/11/6 andrei <andre...@gmail.com>:
>
> > db.select returns webpy's flavored iterator, to get a list from it
> > wrap the result in list()
>
> > p = list(db.select(person))
>
> You can even do this:
>
> p = db.select(person).list()
>
> I find it more convenient than wrapping it in list(...).
>
> Anand

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to