【发布时间】:2012-06-14 22:00:52
【问题描述】:
我试过这样的mongo导入
mongoimport -d test -c foo importfile.jsonmongoimport --host localhost --db local --collection lecturer --type json --file temp.json --headerline --upsert
我也收到了相同的错误消息“语法错误:缺失;之前的语句(shell):1” 如果我的数据存储在 C:\Documents and Settings\User\Desktop 中,我的代码有什么问题以及如何导入?请帮忙,先谢谢了
【问题讨论】: