Il 24/05/13 13:38, Simon Carr ha scritto:
> Hi Manuele,
>
> I don't need to build the entire query, just the filters for the
> itemgroup column. Let me try and explain this a bit differently. I
> have a list of 10 items a user can select from. If the user selects 4
> items, I need to have four 'OR' statements (itemgroup=='a' or
> itemgroup=='b' or itemgroup=='c' or itemgroup=='d')
>
>
>
> It would be even better if I could just say itemgroup isin
> ['a','b','c','d'] but I know that probably isn't available.
yes it is: http://web2py.com/books/default/chapter/29/06#belongs :)
Cheers
M.
>
> Thanks
> Simon
--
---
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.