📜  如何在 mongodb 中删除文档 - 任何代码示例

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

代码示例3
# To remove all documents in a collection, call the remove method with an empty query
# document {}. The following operation deletes all documents from the bios collection:

db.bios.remove( { } )