[web2py] Re: DAL Selects with multiple conditions - AND versus

2011-02-18 Thread Paul Gerrard
Thanks both for the feedback. I think I'll just have to stay on top of my DAL calls :O) Paul. On Feb 17, 7:15 pm, Marin Pranjic marin.pran...@gmail.com wrote: It's because of pythons limitations in overloading operators. You can change behavior of , |, ~ in python, but cannot change and, or,

[web2py] Re: DAL Selects with multiple conditions - AND versus

2011-02-17 Thread villas
I believe that as 'and' is a python keyword it cannot be used for DAL in that way. You may be right about an error message. However, perhaps some developers rely on a python 'and' in a query (but don't ask me for an example!. -D On Feb 17, 6:00 pm, Paul Gerrard p...@gerrardconsulting.com