"in" and "not in" map to "belongs" and "~belongs".
Values are splitted by a comma.

So, 

*table.field in "a,b" *

maps to 

*db(db.table.field.belongs(['a','b']))*

On Friday, February 7, 2014 5:50:04 AM UTC+1, horridohobbyist wrote:
>
> In SQLFORM.grid, you have a Search operation in the form. The operators 
> include =, !=, <, >, <=, >=, starts with, contains, in, not in. I can't 
> figure out how to use 'in' and 'not in'. What are these operators?? Are 
> they for strings? Are they for numeric ranges? If the latter, how do you 
> designate a range?
>
> Thanks.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to