我在将 json 文件导入 mongo 时遇到了一些问题。这是我写的:
mongoimport --db tst --collection stocks --type json --file //home/ubuntu/workspace/stocksNsdq.json --jsonArray
这是我得到的错误:
2014-08-23T15:05:09.569+0000 SyntaxError: Unexpected identifier
我在将 json 文件导入 mongo 时遇到了一些问题。这是我写的:
mongoimport --db tst --collection stocks --type json --file //home/ubuntu/workspace/stocksNsdq.json --jsonArray
这是我得到的错误:
2014-08-23T15:05:09.569+0000 SyntaxError: Unexpected identifier