where parameter in a query service using local storage variable giving "Incorrect query" error
Hi,
I am trying to test a query Database service with a where parameter using local storage variable and it is giving me Incorrect query error.
This is what I have as value for my where parameter...
var myCity = localStorage.getItem('localcity'); return '{'"city":"'+myCity+'"'}';
localcity is the local storage variable. Please find the attached image.
What is the mistake that I am doing?
Any help on this from anyone appreciated.
-Bruce