Updating multiple rows in server code
Hello , I'm trying to make a server code that will update a column in my database to a certain value , my code is like this :
var XHRResponse = XHR.send("PUT", "https://api.appery.io/rest/1/db/colle...", {
"headers": {
"X-Appery-Database-Id": "****",
"X-Appery-Master-Key": "****",
"Content-Type": "application/json"
},
"parameters": {
"operations": ' {"$set":{"Available":'+true}}'
Code: Select all
}});
I just want to make all the values in the column "Available" to be true , somehow I get syntax error in the trace when I try to run this code , please whats the problem
Regards