Hello,
I have some trouble while I'm trying to export a collection into a csv file.
Here is what my collection contains :
> db.tmp.find()
{ "_id" : ObjectId("501116de006358eb4e641b8e"), "val" : "titi\"toto" }
Here is the command line used to export my csv file
mongoexport -c tmp -d test -u user -p password --csv -f 'val' -o res.csv
And the content in res.csv :
Why a double quote contained in a string is exported into two double quotes ? Is it a way to protect char with " ?
Thank you,
Thomas.
PS : I'm using mongodb 2.06 under linux ubuntu 64bits