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

Add documentation to mongoose on how to run runCommand and runCommandCursor

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Mongoose
    • 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?

      Use Case

      As a... mongoose (mongodb ODM) user
      I want... to be able to use runCommand and runCommandCursor
      So that... I have access to custom mongodb commands

      User Impact

      Acceptance Criteria

      Implementation Requirements

      • create external PR in mongoose library that adds documentation that explains that users can run the following to run runCommand

       

      schema_name.db.db.runCommand(
      { /* run Command info *//}
      );
      

       

      • add similar documentation for the same for runCommandCursor

      Testing Requirements

      • None

            Assignee:
            Unassigned Unassigned
            Reporter:
            aditi.khare@mongodb.com Aditi Khare
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: