Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Running mongoldb on a mac
*Location*: https://docs.mongodb.com/manual/reference/method/db.collection.insertMany/#db.collection.insertMany
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.2.5 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.5
*Referrer*: https://docs.mongodb.com/manual/reference/method/db.collection.insertOne/
*Screen Resolution*: 2560 x 1440
Running mongoldb on a mac *Location*: https://docs.mongodb.com/manual/reference/method/db.collection.insertMany/#db.collection.insertMany *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.2.5 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.5 *Referrer*: https://docs.mongodb.com/manual/reference/method/db.collection.insertOne/ *Screen Resolution*: 2560 x 1440
Description
I believe the "nInserted" value should have a value of 1 rather than 0, since the first insert for _id value of 13 succeeded. Also, I ran the same command on my local system and it has a value of 1 as expected.
Thanks