Solved! Go to Solution.
Try putting "AND" instead of "&&" in where clause
Is that your exact query?
This query.where= "field1='"+value1+"'" && "field2='"+value2+"'" is a boolean expression, true or false.
Is this the exact code you are using?
It should be formed as query.where = "field1='" + value1 + "' AND field2='" + value2 + "'"
Try to test it via the Query REST page and see if it works as expected.
I think if a field value is numeric, you can eliminate the single quotes, could be an issue. Tough to diagnose without looking at the data. How about if you do one query a time, without trying to combine them?
Can you post what isn't working in your code?