Pointer Column Query

I can't figure out why this update query won't work. I have a list of tasks. The tasks table has a pointer column to the list it belongs to. Can anyone see the problem in the syntax?

var result = Collection.multiUpdateObject(AppConfig.dbId, "tasks",
{"list_id":{
'collName': 'lists',
'_id': requestBody.list_id
}},
{"deleted":true}
);
Apperyio.response.success(result, "application/json");
1 person has
this question
+1
Reply