Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6766

Need clarification on which is more performant: updateOne or updateMany for db.collection.bulkWrite.txt

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.rice@searshc.com Kevin Rice
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 24 weeks, 2 days ago