[web2py] DAL: select column in ("a","b")

2012-02-11 Thread Ed Greenberg
I feel like I should know this. I've searched, but Google doesn't
really allow for the word "in" as it's too short and common.

I'd like to do "select column in ("a","b")" in the dal.  Any idea how?

Thanks,
Ed


Re: [web2py] DAL: select column in ("a","b")

2012-02-11 Thread Marin Pranjić
http://web2py.com/books/default/chapter/29/6#belongs


Marin

On Sat, Feb 11, 2012 at 12:34 PM, Ed Greenberg wrote:

> I feel like I should know this. I've searched, but Google doesn't
> really allow for the word "in" as it's too short and common.
>
> I'd like to do "select column in ("a","b")" in the dal.  Any idea how?
>
> Thanks,
> Ed