Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1123

List hasNext() as option in autocomplete

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.1.2, 1.1.9
    • Component/s: Autocomplete
    • Labels:
      None
    • Environment:
      macOS 11.6.2
    • 5

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      List .hasNext() in list of methods in command line auto Complete

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      x = db.largeCollection.find()

      x.    [hit tab tab key]

      do not see x.hasNext() in the command listing

      Expected Results

      What do you expect to happen?

      see x.hasNext() listed

      Actual Results

      What do you observe is happening?

      See other methods but not .hasNext()

       

      x._proto_ x.constructor x.hasOwnProperty x.isPrototypeOf x.propertyIsEnumerable x.toLocaleString
      x.toString x.valueOf

       

      Additional Notes

      Any additional information that may be useful to include.

      https://mongodb.slack.com/archives/CUHC9R8J0/p1644542590764229

       

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: