Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2976

Raise an error on empty list of operations to BulkWrite

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.18.0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the Ruby Driver allows applications to send the empty list to the Bulk Write operation. The spec states that drivers should raise an error in this case.
      https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#insert-update-replace-delete-and-bulk-writes

            Assignee:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Reporter:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None