But it is critical to be able to filter fields at the database level. I think db as the send of all records db(...) as a subset, db(...)(...) as a set of all subset, etc. db(...).select(..fields..) specified which columns to filter from the set.
On Oct 31, 2014, at 3:12 PM, Niphlod <niph...@gmail.com> wrote: > +1: never coded with that syntax and it feels unnatural to me. > > On Friday, October 31, 2014 8:47:44 PM UTC+1, Leonel Câmara wrote: > In my opinion this bug is caused by bad design that complicates things > unnecessarily. Why are we allowing users to ask for fields in the select for > tables they haven't included in the query? > > -- > -- mail from:GoogleGroups "web2py-developers" mailing list > make speech: web2py-develop...@googlegroups.com > unsubscribe: web2py-developers+unsubscr...@googlegroups.com > details : http://groups.google.com/group/web2py-developers > the project: http://code.google.com/p/web2py/ > official : http://www.web2py.com/ > --- > You received this message because you are subscribed to the Google Groups > "web2py-developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.