試圖從csv數據導入。與「;」分隔。MongoDb導入,錯誤位置選項太多
數據例如: CSV:
title; new title; one, two, three; some data, data, more data
title2; new title2; one2, two2, three2; some data2, data, more data
進口命令行是:
mongoimport --db db_name --collection the_collection --type csv --file CSV_FILE.csv --fields field1, field2, field3
我在做什麼錯?
嗯,它進口,但都搞砸了。用「;」分隔的csv數據,但在mongodb中,它與「,」分隔開來 – RaShe 2014-11-05 19:32:05