I want to select documents which meets this condition:
(doc.title == "Hello" || doc.title == "World") && (doc.author == "John" || doc.author == "Ken")
How can I perform such query in CBL2.0 ?
I know there’s api for And (IExpression.And) / Or (IExpression.Or)
But I can’t find api for the grouping the condition.
Also, it’s the condition (A or B and C) different from (C and A or B)?
I’m not sure how CBL2.0 handles consecutive logical test.