Exclude the watch methods from autocomplete if the shell is not connected to a replica set or a sharded cluster

XMLWordPrintableJSON

    • Type: Story
    • Resolution: Duplicate
    • Priority: Major - P3
    • 0.7.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      watch will not be autocompleted if the shell is not connected to a replica set or a sharded cluster as change streams are only supported in replica sets or a sharded clusters.

      The user will still be able to invoke the method if they type it and they will get an error from the server. The .help() method for watch will say that this functionality is only available in replica sets or sharded cluster.

              Assignee:
              Unassigned
              Reporter:
              Massimiliano Marcon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: