您的位置: 首页 > 文章 > mongodb集合管理 mongodb集合管理 分类: 文章 • 2022-07-01 12:32:57 删除集合:db.t_order_detail.drop()rename集合:db.users.renameCollection("users1")清空集合数据:db.users.remove({})