?var data = await NoticeList.find({}, null, { lean: true }, function(error,res) {res[0].isParse = true;}).populate({? ? ? ?path: "_belong",? ? ? ?select: ["userInfo", "_id"]});數(shù)據(jù)data 還是返回原來的數(shù)據(jù) ,第一條數(shù)據(jù) 的isParse 并沒有加上。怎么回事
mongoose lean 數(shù)據(jù)明明自定義修改了 但是返回數(shù)據(jù)中就是沒有?
Edifier3922162
2018-09-07 19:47:11