Details
-
Improvement
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
-
None
-
Server Tooling & Methods
Description
It would be more aesthetically pleasing if insertMany returned all inserted IDs.
db.test.insertMany([{}, {}]) returns 2 values in insertedIds, while db.test.insertMany([{_id: 1}, {_id: 1}]) does not return 1 value in insertedIds, even though there is one successful insert.