首页 > 数据库技术 > 详细

【MongoDB】mongoimport and mongoexport of data (一)

时间:2014-10-28 02:05:49      阅读:298      评论:0      收藏:0      [点我收藏+]

In the software development, we usually are faced with a common question of exporting or importing data from database. So in this blog we will together study the mongoddb export and mongodb import. 

一、 mongoImport 

First of all, let‘s create many test records;

bubuko.com,布布扣

and then we use the ‘mongoexport -help ‘ command to query the main options. 

bubuko.com,布布扣

bubuko.com,布布扣


The content of the txt is as follows:

bubuko.com,布布扣


According to the query condition, the export file will be exported. 


bubuko.com,布布扣


【MongoDB】mongoimport and mongoexport of data (一)

原文:http://blog.csdn.net/sxb0841901116/article/details/40522103

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!