mongodb 遇见不可行

1、删除集合数据:

db.users.remove()无效

这样:db.users.remove({})  返回删除的数据条数

2、

原文地址:https://www.cnblogs.com/hhweb/p/6702739.html