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

Bulk write documentation references nonexistent insert_many operation

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.13.1
    • Affects Version/s: None
    • Component/s: Docs
    • Labels:
    • Fully Compatible

      The bulk write documentation at https://docs.mongodb.com/ruby-driver/master/tutorials/ruby-driver-bulk-operations/#insert-many gives an example of using insert_many with bulk writes. I tried it and it did not work. It seems insert_many is not actually a thing and instead a bunch of insert_ones should be used.

      If so, the documentation should be updated to indicate that only insert_one is a defined operation.

      As part of this ticket the integration tests in the driver should be audited to verify that everything the documentation claims to be supported via bulk writes is tested in the test suite.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: