-
Type: Bug
-
Resolution: Fixed
-
Priority: Blocker - P1
-
Affects Version/s: 4.0.0
-
Component/s: Shell
-
None
Steps to recreate:
> const bulk = c.db('test').collection('coll').initializeUnorderedBulkOp() > for (let i = 0; i < 1000; i++) bulk.insert({x: 1} > const result = await bulk.execute() > result.insertedIds -----> RETURNS { 0: undefined, ... 999: undefined }
result.result.insertedIds has ids that are not undefined.
- depends on
-
NODE-2936 Full CRUD spec result type conformance
- Closed
- is depended on by
-
MONGOSH-467 Update driver to 4.0
- Closed