mongosh has the limitations and quirks of node console.log

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Embedded Shell
    • None
    • Not Needed

      Problem Statement/Rationale

      1) Cursors are automatically transformed into arrays.

      2) Console.log depth for objects and arrays is similar to nodejs / javascript console.log

       

      Steps to Reproduce

      run mongosh,

      Try to display a high depth dataset

      Expected Results

      to work like .pretty() or findOne from mongo client.

      Actual Results

      Doesn't work like .pretty / findOne but like console.log

      Additional Notes

       

            Assignee:
            Massimiliano Marcon
            Reporter:
            Valentin Popescu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: