2011/11/6 andrei <[email protected]>: > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
