创建集合 db.createCollection("集合名") 注意:集合名要用双引号 重命名集合 db.集合名.renameCollection("新的集合名") 删除集合 db.集合名.drop() 示例如下: