例如我如何导入这个
---> 测试.csv
tesingImport ,hi there
---> 我试过的
./mongoimport -d channeladvisor -c products --type csv --file ./test.csv -fields Sku, a.b.c
不知何故,我得到了这个进口
{
"_id" : ObjectId("53e6eb0eeb5228df491a0f50"),
"Sku" : "tesingImport",
"a.b.c" : "hi there"
}
我可以编写一个脚本来执行此操作,但我不确定是否可以使用导入使其更快