Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15186

Add shell command to print history of commands

    • Server Tooling & Methods

      Similar to *nix shells, add a helper to print out history buffer of commands:

      > history 7
      db.test.find()
      db.test.drop()
      db.test.insert({})
      db.test.ensureIndex()
      db.test.ensureIndex({a:1,b:-1,unique:1})
      db.test.dropIndexes()
      db.test.ensureIndex({a:1,b:-1},{unique:true,background:true})
      >
      

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: