I can't work out how to translate the following:
( A OR B ) AND ( C OR D OR E )
I'd appreciate both the answer as well as a method I can use to get the answer myself next time.
The post above gives this example: [ '|' , '|' , ('state', '=', 'open') , ('state', '=', 'closed') , ('state', '=', 'draft') ]
I am assuming this is ( A OR B OR C ).
So my guess is what I need is:
[ '&' , '|' , (A) , (B) , '|' , '|' , (C) , (D) , (E) ]
and my second guess is:
[ '&' , '|' , (A) , (B) , '|' , (C) , '|' , (D) , (E) ]
are these the same?
I'd rather not guess or assume, and rather not test, I'd like to KNOW!
How does the expression get parsed? Does it start from the right?