📌  相关文章
📜  删除文档 mongoose - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:08.330000             🧑  作者: Mango

代码示例2
const res = await Character.remove({ name: 'Eddard Stark' });
res.deletedCount; // Number of documents removed