mongoDB
文章平均质量分 82
竹风-静待花开
这个作者很懒,什么都没留下…
展开
-
mongoDb的备份及还原
其实备份和恢复比导入和导出要方便些,而且一般不会出错,所以大部分时候使用备份和恢复操作就可以了 1. 备份Mongodb mongodump -h test.xxxx.com:52000 -d dataname -o /home/aa/dev/mongodb/data mongodump mongo导出数据库命令 mongodump --help 可以查看该命令下所有转载 2013-09-26 08:43:16 · 593 阅读 · 0 评论 -
MongoVUE使用
Using Regular Expressions in Find|Fields|$where|Sorts with MongoVUE 1.Find: Let us consider a collection of “users”. To find all the users where the username begins with the character “a”,转载 2013-11-05 14:21:09 · 1690 阅读 · 0 评论 -
mongoVUE查询
{"ei":"AW4BROILANDSTART1", //条件一 "cd":{$elemMatch:{"0004":{$gte:0}}}, //条件二,cd为集合 ,0004为集合中的key "st":{$gte:ISODate("2013-09-05T00:00:00.958Z")} //时间条件 }原创 2013-09-26 08:45:15 · 8203 阅读 · 0 评论