-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
Affects Version/s: None
-
0.3
Currently, in our docs it states that:
All update() operations for a sharded collection must include the shard key or the _id field in the query specification. update() operations without the shard key or the _id field return an error.
This has led some of our students to believe that issuing an updateMany command would also require a shard key. This is not true. To address this confusion, could we do something like
With the exception of updateMany, all update() operations for a sharded collection must include the shard key or the _id field in the query specification. update() operations without the shard key or the _id field return an error.