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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None

      to reproduce, try doing
      db.test.insert(

      {x:null}

      )

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

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

            Assignee:
            Michael O'Brien
            Reporter:
            Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: