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

Reinstate ability of insert_many to take an Enumerable argument which is not an Array

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.18.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      In https://github.com/mongodb/mongo-ruby-driver/discussions/2430 it was reported that users are using insert_many with an enumerator, even though this is not documented behavior.

      We should add a test case for this and possibly adjust the documentation as well.

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

              Created:
              Updated:
              Resolved: