-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Query
-
Fully Compatible
-
ALL
For modifiers like $addToSet/$inc/$push/etc if there are invalid options ($fields included) then generate an error.
> db.c.update({}, {$addToSet:{a: {$foo:1, $each :[], $sort:..., $slice:... }}})
- is related to
-
SERVER-6399 Refactor update() code
- Closed
- related to
-
SERVER-8512 support $slice/sort in $addToSet
- Closed