says its invalid. I used the one Katya told me about:
var whereClause = { "County": Tiggzi("select_component_name").val(),
"Restaurant": Tiggzi("select_component_name").val()};
return JSON.stringify(whereClause);
says its invalid. I used the one Katya told me about:
var whereClause = { "County": Tiggzi("select_component_name").val(),
"Restaurant": Tiggzi("select_component_name").val()};
return JSON.stringify(whereClause);
In the console, you only enter the {...} part.
okay thank you
Also, the actual data goes there, no variables.
still telling me incorrect query
I don't know what else to do
Please post two rows from your collection and the sample query you are trying to run.
Hello! In JS code in mapping to "where" paste alert(JSON.stringify(whereClause)); before return JSON.stringify(whereClause);
Please post what did you get in alert window so we can see what you send on server in "where"