当前位置:网站首页>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.
边栏推荐
猜你喜欢

JS高级 之 Promise 详解

Flutter实战-请求封装(五)之Isolate线程改造

MongoDB数据库笔记

因子分析(SPSS)

「数据架构」数据模型,数据字典,数据库模式 和ERD的比较

Techches Transformer the join wisdom source the author cao, visual basic model study

The web project accesses static resources inside the reference jar

「业务架构」TAGAF建模:业务服务/信息图

WebView2 通过 PuppeteerSharp 实现爬取 王者 壁纸 (案例版)

第三章 搜索与图论(三)
随机推荐
The web project accesses static resources inside the reference jar
自动化测试及Selenium
「敏捷建模」纪律:敏捷设计理念
属性动画QPropertyAnimation
ESP8266-Arduino编程实例-MQ-9 一氧化碳可燃气体传感器驱动
Property animation QPropertyAnimation
跨公网环境,路由策略,进行设备的访问
ES复杂操作搜索
91.(cesium之家)cesium火箭发射模拟
Tencent releases the second-generation version of the quadruped robot Max, which completes jumps and somersaults on the plum blossom pile
LiveNVR操作日志页面快速筛选上级国标平台的调用记录直播观看录像回看等操作
Taro小程序跨端开发入门实战
Load balancing principle analysis and source code interpretation
Message Queuing Overview
LCD DRM component 框架分析
LCD DRM驱动框架分析一
How to understand the difference between BIO, NIO, and AIO
【STL】位图的介绍使用以及代码的模拟实现
【C语言】头文件#include <conio.h>,conio是Console Input/Output(控制台输入输出)
owl.carousel海报卡片Slider轮播切换