2017-05-12 242 views
1

這是我爲了運行運行後刪除訂單從NeDB數據庫中刪除數據

{"_id":1001131507377,"chatTitle":"test group","AddedBy":"159263523 - @rrbot - Abd"}

數據庫之前,將數據庫從我的數據庫

chats.remove({ _id: chatId }, {}, function (err, numRemoved) // chatId = 1001131507377

刪除數據刪除訂單

{"_id":1001131507377,"chatTitle":"test group","AddedBy":"159263523 - @rrbot - Abd"} {"$$deleted":true,"_id":1001131507377}

通過並且不顯示任何錯誤

回答