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

Pasting formatted documents into the shell doesn't work

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.1.1
    • 2.1.0
    • Shell
    • None
    • tested on OSX, 64bit
    • Major Change
    • ALL

    Description

      I used to be able to paste the output of findOne() directly into the shell because the interpreter stripped tabs from the beginning of the line.

      For example:

      > db.inventory.findOne()
      {
      "_id" : ObjectId("4ea894ab134e11f9f91d4909"),
      "_accountId" : "user1"
      }

      Attachments

        Activity

          People

            tad Tad Marshall
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: