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

Implement BulkWrite API

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.0.16
    • Component/s: CRUD
    • Labels:
    • Detailed Project Statuses:
      Hide
      2018-09-14 : Initial Target 2018-09-28 (2weeks)

      2018-09-28 : Updated target 2018-10-12 (4weeks)
      Lots of duplicated code and need to get latest tests. Divjot will push to CR today.
      Show
      2018-09-14 : Initial Target 2018-09-28 (2weeks) 2018-09-28 : Updated target 2018-10-12 (4weeks) Lots of duplicated code and need to get latest tests. Divjot will push to CR today.
    • Story Points:
      2

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Start date:
                  End date: