db(db.mytable.name.belongs(['john', 'alex'])).select()

On Sunday, January 26, 2014 1:07:42 PM UTC-5, Aby Thachet Jose wrote:
>
> i have this SELECT * FROM table WHERE name IN ('jhon','alex'); how to make 
> this in DAL
>
>

-- 
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