📜  删除一个 mongo db - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:33.184000             🧑  作者: Mango

代码示例2
db.collection.deleteOne() 
# deletes the first document that matches the filter.
# Use a field that is part of a unique index such as _id for precise deletions.