I have a .json file with tens of thousands of data. I want to import it directly into mongodb. What should I do?
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
mongoimport -h host:port -d dbName -c collName filename.json
mongoimport is a common command for importing json or csv into MongoDB, you can view the documentation, or help:
mongoimport
mongoimport --help
mongoimport
is a common command for importing json or csv into MongoDB, you can view the documentation, or help: