会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
茶是故乡浓
博客园
首页
新随笔
联系
管理
订阅
2013年2月6日
mongo-rename操作
摘要: 重命名集合> show collectionstianyc_test9> db.runCommand({'renameCollection':'Gps.tianyc_test9', 'to':'Gps.tianyc_test99'}){ "ok" : 1 }> show collectionstianyc_test99另:通过db.listCommands(),可以查看到所有mongo的命令。
阅读全文
posted @ 2013-02-06 16:20 醇酒醉影
阅读(1417)
评论(0)
推荐(0)
编辑
公告