Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-123

Implement BulkWrite API

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.16
    • Affects Version/s: None
    • Component/s: CRUD
    • Labels:

      The CRUD API spec calls for a bulkWrite methods like so:

      bulkWrite(requests: WriteModel[], options: Optional<BulkWriteOptions>): BulkWriteResult;
      

      This is not particularly idiomatic for Go and it requires pre-allocating all the models, which isn't ideal for "open-ended" operations.

      We should consider a more idiomatic approach and implement that instead of the literal method called for in the CRUD spec.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: