Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4774

Deprecate abstractCursor#forEach()

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • 1
    • Not Needed
    • Not Needed
    • 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?

      Deprecate abstractCursor#forEach().

      After callback removal, this API will be arguably redundant to native for/await.

      However, we likely won't want to remove it for a while (file a ticket to remove targeting V7), due to potential burden on users to refactor the corresponding code (note also that a removal would affect the legacy callback driver, too).

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: