Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Query
-
Fully Compatible
-
ALL
Description
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:... }}})
|
Attachments
Issue Links
- is related to
-
SERVER-6399 Refactor update() code
-
- Closed
-
- related to
-
SERVER-8512 support $slice/sort in $addToSet
-
- Closed
-