Add history() command

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.4.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Needed
    • Hide

      mongosh will now support history() which will print out an array of used commands in form of strings. Since it's an array it supports all typical array operations i.e. history().slice(-10).

      Will be included in the coming release.

      Show
      mongosh will now support history() which will print out an array of used commands in form of strings. Since it's an array it supports all typical array operations i.e. history().slice(-10). Will be included in the coming release.
    • Developer Tools

      We should have a command that prints out history similar to the Unix history command.

              Assignee:
              Gagik Amaryan
              Reporter:
              Gagik Amaryan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: