-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.0.0
-
Component/s: None
I am trying to update one document with multiple $pullAll operations but it does not work.
Here is my query:
db.users.update({_id: reportedUser},{
$pullAll:
,
$pullAll:
,
$pullAll:
,
});
document before update:
"profile" : {
"interactions" :
}
document after update:
"profile" : {
"interactions" :
}
What it should return:
"profile" : {
"interactions" :
}
This bug was reproduced in both version 2.6 and 3.0 in node.js and when I do just one $pullAll it works fine.