Object of array
Hi! I've got an object and it is composed by two element a string and a boolean and the I define an array of thi object
Something like Object wiht name and value and Try is the array of Object.
I've used this Object as a local storage for my checkbox so if an item is checked I can save the name checked and if the item is checked in valure ( boolean) and it goes well!
Now I have to use this Object in local storage in the Before Send Mappig of My Servive. I have to call my service only with the Obj.name element
var a = Try.get("$['Try'][0]['name']");
var b = Try.get("$['Try'][1]['name']");
return '{"$or":[{ "Pointer_x": {"$inQuery" : { "Col_name": "'+a+'" } }},{ "Pointer_x": {"$inQuery" : { "Col_name": "'+b+'"} }}]}';
but...it doesn't work
(((