当前位置:网站首页>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.
边栏推荐
- 兼容移动和PC的loading加载和toast消息插件
- LCD DRM component 框架分析
- Thrift -- 跨语言RPC 框架
- 多元线性回归分析(Stata)
- 14 high-frequency handwritten JS interview questions and answers to consolidate your JS foundation
- Dalian University of Technology & Pengcheng & UAE propose a mixed-scale triple network ZoomNet for camouflaged target detection, with SOTA performance!
- 单例模式基类
- 【C语言】浮点数四舍五入
- Payment x Aggregation x Ledger Separation - The Way to Avoid Risk of "Erqing" on the Return Platform
- 【软考 系统架构设计师】案例分析⑥ Web应用系统架构设计
猜你喜欢

「敏捷建模」纪律:敏捷设计理念

JS高级 之 使用 Iterator - Generator

Message Queuing Overview

js猜拳小游戏源码

多元线性回归分析(Stata)

Excel draws statistical graphs

ESP8266 Tutorial 2 - Burn AT Firmware

兼容移动和PC的loading加载和toast消息插件

14 high-frequency handwritten JS interview questions and answers to consolidate your JS foundation

91.(cesium之家)cesium火箭发射模拟
随机推荐
2022.8.9-----leetcode.1413
MySQL executes the query process
Which is the strongest workflow engine for "Technology Selection"?Chief Architecture Helps You Pick
ESP8266 Tutorial 2 - Burn AT Firmware
Behind iFLYTEK's translation machine stealing the spotlight, cross-language communication has entered a new era
Situation丨The intrusion of hackers intensifies, and the shooting range sets up a "defense shield" for network security
Lasso回归(Stata)
2022.8.7-----leetcode.636
交换 生成树 知识总结
Fourier series and Fourier transform
2022.8.8-----leetcode.761
【Software Exam System Architect】Case Analysis ⑥ Web Application System Architecture Design
[Concept of Theory of Knowledge] "Progress in the Theory of Reason" University of Leuven 2022 latest 220-page doctoral dissertation
owl.carousel海报卡片Slider轮播切换
VBA:获取指定数值在指定一维数组中的位置
「应用架构」六边型架构:三个原则和一个实现示例
"Data Architecture": How can master data management (MDM) help my industry?
MongoDB数据库笔记
database constraints
C语言题解:倒置字符串