how to pass where condition while executing update service from javascript
how to pass where condition while executing update service from javascript
i have a database collection update service and i am executing it from javascript as below
myupdateservice.execute({
data:{
"col1":"data",
"where":{"_id":"id of row which want to update"}
}
});
but getting bed request as response and response message is "Object must be present in the request body"
I have col1 in body tab of request of service and _id in querystring tab.
I am able to update the col value while executing test for this service by providing id value