[web2py] Re: IMPORTANT: new in trunk list:reference

2010-08-12 Thread mdipierro
Yes, if you use any validator IS_IN_SET or IS_IN_DB with multiple=True I think it is still very convenient and can simplify some of your code. Yet on RDBS you can do joins and this should be used a replacement for that. On Aug 11, 9:51 pm, Jason Brower encomp...@gmail.com wrote: Should i worry

Re: [web2py] Re: IMPORTANT: new in trunk list:reference

2010-08-12 Thread Thadeus Burgess
ew jaywalking should never be a replacement for joins... -- Thadeus On Thu, Aug 12, 2010 at 2:42 AM, mdipierro mdipie...@cs.depaul.edu wrote: Yes, if you use any validator IS_IN_SET or IS_IN_DB with multiple=True I think it is still very convenient and can simplify some of your code.

[web2py] Re: IMPORTANT: new in trunk list:reference

2010-08-12 Thread mdipierro
True but joins are expensive. If I only need many2many in one directions I use the list:reference and I cache the query that maps the id into the representation of the corresponding record. Massimo On Aug 12, 11:10 am, Thadeus Burgess thade...@thadeusb.com wrote: ew jaywalking should never

Re: [web2py] Re: IMPORTANT: new in trunk list:reference

2010-08-12 Thread Thadeus Burgess
I do not recommend anyone to actually use this. This is just horrible. If I only need many2many in one directions I use the list:reference and I cache the query that maps the id into the representation of the corresponding record. Then why are you not using the database types that are