Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-401

csv exported representation of "null" should be a blank string

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.8.0-rc1
    • None
    • None
    • None

    Description

      to reproduce, try doing
      db.test.insert(

      {x:null}

      )

      then
      mongoexport --csv --fields x -c test

      the output looks like:
      a
      %!s(<nil>)

      Attachments

        Activity

          People

            mikeo@mongodb.com Michael O'Brien
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: