摘要: manager.findOneAndUpdate(where, update, option,callback) 网上查了一下,使用mongoose的findOneAndUpdate、findAndModify两个方法,默认返回的数据是未更新的数据,但是库里的数据已经更新了;这里我们就可以使用opt 阅读全文
posted @ 2020-07-31 12:07 ak~biu 阅读(1138) 评论(0) 推荐(0)