今天在调用update时 在加入了{upsert :true}后,报oldCb is not a function错。顺藤摸瓜后发现在mongoose query.js Query.update方法里,oldCb被调用前打印四个参数,参数内容和预想的不一样,condition变成了{ id: undefined} callback 变成了options。 不知道还有人遇到过这问题吗,是个bug吗? 来自酷炫的 CNodeMD