global options allow more tweaking.. seconded global db.returnList = True On Sat, May 10, 2008 at 8:50 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Sat, May 10, 2008 at 8:47 PM, Anand Chitipothu <[EMAIL PROTECTED]> > wrote: > >> >> On Sun, May 11, 2008 at 9:14 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> >> wrote: >> > 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() >> > cool.. thanks.. > but isnt a global option cleaner and easier > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
