Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9990

flushRouterConfig needs example of how it's called.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Code Examples
    • Labels:
      None
    • 0.2

      The doc page here: https://docs.mongodb.com/manual/reference/command/flushRouterConfig/ (basically the same in 3.2 also) doesn't show how the command is invoked. It needs to be called as:
      > db.adminCommand("flushRouterConfig")

      but that's not at all obvious from the documentation page. We should probably make sure we show an invocation of every command on it's documentation page.

            Assignee:
            tony.sansone@mongodb.com Anthony Sansone (Inactive)
            Reporter:
            lorne.schachter Lorne Schachter
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 6 weeks, 3 days ago