remove 删除一个集合

xiaoxiao2021-02-28  63

参考文档  https://docs.mongodb.com/manual/reference/method/db.collection.remove/

用法:

db.collection.remove( <query>, <justOne> )

eg:

db.getCollection('report').remove({'sid':'SID75853be68176440d9e17e82ec273603a'})

转载请注明原文地址: https://www.6miu.com/read-47288.html

最新回复(0)