On 2017-03-20 11:46, Khurram Shahzad wrote:
> I am able to create reports using 'select' and 'join' in my custom
> table_query. I have also used 'where' clause with '==', '<=' and '>='
> operators but I am unable to figure out how to use 'IN' operator. I tried:
> where sale.state IN ('processing','done')
>
> But failed. Can you please guide me the right syntax of using this
> operator. Also, can I find some documentation on 'select', 'join' and
> available operators?
See https://pypi.python.org/pypi/python-sql
All the operators are in `sql.operators`.
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/20170320082354.GQ43953%40tetsuo.