I wrote code like this. And it doesn\'t work.
List.findOneAndUpdate({ name: listName }, { $pull: { "items": { _id: id } } }, (err, r