-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: 1.7.1
-
Component/s: Write Ops
-
None
-
Environment:Wed Oct 27 08:59:28 db version v1.7.2-pre-, pdfile version 4.5
Wed Oct 27 08:59:28 git version: 5b1d4d2b75b356b5fb131d702699bca35cd44e7b
-
ALL
"db.bar.update({}, {$pull: {y: {$elemMatch: {a: 2}}}}, false, true)" works, but
"db.bar.update({}, {$pull: {y: {$elemMatch: {a: {$in: [2,3]}}}}}, false, true)" does not.
Sample document:
{x: 0, y: [
,
{a:2}]}
- related to
-
SERVER-3988 should regex matching work with $pull? it doesn't.
- Closed