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

List hasNext() as option in autocomplete

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Triage
    • Minor - P4
    • Resolution: Unresolved
    • 1.1.2, 1.1.9
    • None
    • Autocomplete
    • None
    • macOS 11.6.2
    • Up for triaging

    Description

      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

       

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: