cursor.stream() does not work anymore

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Community Answered
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cursors
    • 0
    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      After upgrading from mongodb@6 to mongodb@7 the cursor.stream() API no longer returns a working stream, unless we also add .map(). I think this is not expected, see comment https://github.com/mongodb/node-mongodb-native/pull/4728#issuecomment-4126032541

            Assignee:
            Sergey Zelenov
            Reporter:
            Jeroen Ooms
            None
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: