Re: [python-sql] WHERE clause with multiple AND statements

2017-09-06 Thread Cédric Krier
On 2017-09-06 08:37, Thomas Devoogdt wrote: > Is there a reason why multiple AND statements are converted like this. > > > (stm1) & (stm2) & (stm3) > > -> > > (((stm1) AND (stm2)) AND (stm3)) > > and not > > ((stm1) AND (stm2) AND (stm3)) > This is because '&' which is __and__ operator in P

[python-sql] WHERE clause with multiple AND statements

2017-09-06 Thread Thomas Devoogdt
Is there a reason why multiple AND statements are converted like this. (stm1) & (stm2) & (stm3) -> (((stm1) AND (stm2)) AND (stm3)) and not ((stm1) AND (stm2) AND (stm3)) Thanks in advance. -- You received this message because you are subscribed to the Google Groups "python-sql" group. T