The following query works just fine when only IN operator is used
SELECT META().id FROM bucket_name WHERE description IN [\'Item1\',\'Item2\']
But w
I think you have to take your "IN" condition into parenthesis to make it work:
SELECT META().id FROM bucket_name WHERE id = 123 AND (description IN ['Item1','Item2'])
It has to do with the precedence level of the operators evaluation by N1QL processor
If you run it with EXPLAIN keyword it will show how it links conditions against each other.
e.g.
explain SELECT META().id FROM bucket_name WHERE id = 123 AND (description IN ['Item1','Item2'])
vs
explain SELECT META().id FROM bucket_name WHERE id = 123 AND description IN ['Item1','Item2']