diff options
author | Shraya Ramani <shraya.ramani@10gen.com> | 2015-05-18 13:37:10 -0400 |
---|---|---|
committer | Shraya Ramani <shraya.ramani@10gen.com> | 2015-05-21 15:07:21 -0400 |
commit | 88289ff1c05b876c2a9d87339fa2f7565e1069af (patch) | |
tree | 60714b7801d024ae9e144db5eee1a4d7d6bd7d5c /mongoexport/csv.go | |
parent | 7c272cf4df825ff205897aa0d7bf507ff08d0f37 (diff) | |
download | mongo-88289ff1c05b876c2a9d87339fa2f7565e1069af.tar.gz |
TOOLS-681 support importing integers and longs without wrapper
Diffstat (limited to 'mongoexport/csv.go')
-rw-r--r-- | mongoexport/csv.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mongoexport/csv.go b/mongoexport/csv.go index 3f22cc828a1..3865516d256 100644 --- a/mongoexport/csv.go +++ b/mongoexport/csv.go @@ -76,7 +76,7 @@ func (csvExporter *CSVExportOutput) ExportDocument(document bson.M) error { rowOut = append(rowOut, string(buf)) } } else { - rowOut = append(rowOut, fmt.Sprintf("%s", fieldVal)) + rowOut = append(rowOut, fmt.Sprintf("%v", fieldVal)) } } csvExporter.csvWriter.Write(rowOut) |