Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-271

Server::executeBulkWrite() should take a write concern

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-alpha1
    • Affects Version/s: 0.5.0
    • Component/s: None
    • None

      Server::executeBulkWrite() currently takes no write concern and inherits from the client object. Should it take an optional write concern like its Manager counterpart? In PHPLIB, we need to select the primary manually for APIs that depend on wire version checking, and I'm thinking of a case where legacy index creation would want to ensure we only use w:1 on the insertion.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: