I’m using CBL 3.0.1, working in Objective-C. I’m compiling queries by specifying a query string and then calling CBLDatabase’s -createQuery:error: method. When I try to compile this query:
SELECT customer_id, name FROM _default WHERE customer_id IN ["a", "b", "c"] ORDER BY lower(name) ASC
I end up getting a syntax error (character 61 is the opening square bracket):
N1QL syntax error near character 61
This query looks correct to my reading of the N1QL docs. The same error occurs when I use a variable instead of the literal list. What am I doing wrong?