📜  mongodb deleteOne - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:20.227000             🧑  作者: 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.