On Sun, May 11, 2008 at 9:14 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> guys can u make it a global option to return results from db module as a
> list instead of an iterator? like db.printing, maybe db.returnList, and if
> set True all results should be list instead of iterator. This would be a lot
> cleaner instead of doing
> list(db.select( or list(db.query.. etc.. all over the place...

You can also do

db.select(...).list()

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to