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

Expose an API to create a cursor from a command response

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.6.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 0
    • Hide

      DRIVERS-2533:
      Prerequisite: Sync runCommand spec tests from DRIVERS-2577 mongodb/specifications@d697477

      • Drivers may implement the new optional runCursorCommand API detailed in the run-command spec
      • Sync the runCursorCommand and CSOT spec tests with mongodb/specifications@a839581
      • Drivers that have not yet implemented CSOT may choose to skip the CSOT tests or file a follow up to pull them in as part of their CSOT implementation.
      • See the PR description for a detailed summary of changes: https://github.com/mongodb/specifications/pull/1412
      Show
      DRIVERS-2533: Prerequisite: Sync runCommand spec tests from DRIVERS-2577 mongodb/specifications@d697477 Drivers may implement the new optional runCursorCommand API detailed in the run-command spec Sync the runCursorCommand and CSOT spec tests with mongodb/specifications@a839581 Drivers that have not yet implemented CSOT may choose to skip the CSOT tests or file a follow up to pull them in as part of their CSOT implementation. See the PR description for a detailed summary of changes: https://github.com/mongodb/specifications/pull/1412
    • Not Needed
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?

      • We would like a new section added to "Run a Command": https://www.mongodb.com/docs/drivers/node/current/usage-examples/command/
        2. Would you like the user to see examples of the syntax and/or executable code and its output?
      • Showing the API being used to run a checkMetadataConsistency: 1 command and iterating the results the same as any node.js cursor, for await loop.
      • output is not significant
        3. Which versions of the driver/connector does this apply to?
        The next 5.x minor, see fix version on closed node ticket.
      Show
      1. What would you like to communicate to the user about this feature? We would like a new section added to "Run a Command": https://www.mongodb.com/docs/drivers/node/current/usage-examples/command/ 2. Would you like the user to see examples of the syntax and/or executable code and its output? Showing the API being used to run a checkMetadataConsistency: 1 command and iterating the results the same as any node.js cursor, for await loop. output is not significant 3. Which versions of the driver/connector does this apply to? The next 5.x minor, see fix version on closed node ticket.

      This ticket was split from DRIVERS-2533, please see that ticket for a detailed description.

        There are no Sub-Tasks for this issue.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            dbeng-pm-bot PM Bot
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: