当前位置:网站首页>MongoDB database notes
MongoDB database notes
2022-08-10 10:23:00 【extreme~】
- mongodb import json file:
mongoimport --db database name --collection collection name --file full path where the json file is located
eg: insert json data into roles in three-in-one database
mongoimport --db three-in-one --collection roles --file G:\three-in-one\roles.metadata.json- mongodb import bson file:
mongorestore.exe -h 127.0.0.1:27017 -d database name directory where the bson file is located (excluding bson)
eg: Insert bson data into the three-in-one database (the full path of the bson data is G:\three-in-one\xxx.bson)
mongorestore.exe -h 127.0.0.1:27017 -d three-in-one G:\three-in-oneRefresh, you can see that the import has been successful.
边栏推荐
- 14 high-frequency handwritten JS interview questions and answers to consolidate your JS foundation
- [C language] Floating point number rounding
- 「应用架构」六边型架构:三个原则和一个实现示例
- CSDN21天学习挑战赛——多态(05)
- LCD模块如何建立联系分析
- 对话陈赐靓:哪吒要让高端产品大众化
- The Generation of Matlab Symbolic Functions and the Calculation of Its Function Values
- bus事件总线 使用
- 数据库事务
- 2022.8.8-----leetcode.761
猜你喜欢
随机推荐
The Generation of Matlab Symbolic Functions and the Calculation of Its Function Values
WebView2 通过 PuppeteerSharp 实现爬取 王者 壁纸 (案例版)
Dialogue with Chen Ciliang: Nezha wants to popularize high-end products
ES复杂操作搜索
【Software Exam System Architect】Case Analysis ⑥ Web Application System Architecture Design
database constraints
"Guangzhou highway engineering measures for the supervision and administration of production safety, and revised from six aspects
ZZULIOJ 1116 Delete elements [delete]
js猜拳小游戏源码
ZZULIOJ 1124: 两个有序数组合并
ESP8266 Tutorial 2 - Burn AT Firmware
SQL中的字符串截取函数
「业务架构」TOGAF建模:组织分解图(组织映射)
在兄弟连战狼班参加PHP培训做行业领先人才
中国驻越南使馆提醒在越北部、中部地区中国公民做好台风“木兰”安全防范
LCD DRM驱动框架分析二
Excel draws statistical graphs
【Redis】Redis入门教程(介绍 下载安装 Jedis 图形化界面)
Payment x Aggregation x Ledger Separation - The Way to Avoid Risk of "Erqing" on the Return Platform
2022.8.7-----leetcode.636









