-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:
-
Environment:
*Location*: https://docs.mongodb.org/manual/reference/method/db.collection.bulkWrite/#db.collection.bulkWrite
*User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
*Referrer*: https://docs.mongodb.org/manual/release-notes/3.2/
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: reference/method/db.collection.bulkWrite
*Location*: https://docs.mongodb.org/manual/reference/method/db.collection.bulkWrite/#db.collection.bulkWrite *User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 *Referrer*: https://docs.mongodb.org/manual/release-notes/3.2/ *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: reference/method/db.collection.bulkWrite
-
0.25
Would like a comment on which is faster for unordered bulkWrite - updateOne or updateMany.
In this case, I know I only have one record, so I don't care which one I perform. I'm wondering if there is a performance benefit / penalty for either of One vs. Many.