摘要: 重命名集合> 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) 编辑