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

find has different spacing for output than findOne

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.5.5
    • None
    • Shell
    • None
    • Fully Compatible

    Description

      > doc = db.test.findOne()
      { "_id" : ObjectId("52857640a3461b18bcb33e3b"), "nums" : [ 1, 2, 3 ] }
      > db.test.find()
      { "_id" : ObjectId("52857640a3461b18bcb33e3b"), "nums" : [  1,  2,  3 ] }

      Attachments

        Activity

          People

            tyler@10gen.com Tyler Brock
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: