Tzury Bar Yochay wrote:
>> global options allow more tweaking.. seconded global db.returnList = True
>>     
> some says: global variables are the mothers of all evil.
> as for the issue, db.query return a Generator object.
> a Generator gives a faster, lighter and cleaner approach to handling
> iteration.
>
> the following is a very nice presentation on this issue and I believe
> you will find it joyful.
> http://www.dabeaz.com/generators/Generators.pdf
>   

good read and can see the use for big data sets but sometimes the 
limitation of only being able to loop thru the data once in a template 
is too limiting - i've already run into this block and is why I'm 
thinking that webpy really needs to be linked with an ORM to be useful 
for many developers.




> >
>
>   


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