当前位置:网站首页>Mongodb checks whether the table is imported successfully

Mongodb checks whether the table is imported successfully

2022-07-07 01:41:00 Idle fish_ JavaScript

  1. See if you have installed this software MongoDBCompass ;( install mongodb It will be installed by default , But if you uncheck it, the software will not be installed for you )
  2. If not installed Click me to install on the official website  Insert picture description here
  3. open MongoDBCompass, Then connect to your database ; After the connection is successful, see the following figure
     Insert picture description here
  4. If you perform the operation of importing tables
	mongoimport --db expressdbs --collection users --file D:\paper\enter-sell-store-back-end\sql\users.json

At this point, you can open the software to see whether your table has been imported successfully
 Insert picture description here

原网站

版权声明
本文为[Idle fish_ JavaScript]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207061805002793.html