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

Add history() command

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 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@mongodb.com Gagik Amaryan
            Reporter:
            gagik.amaryan@mongodb.com Gagik Amaryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: