MongoDB 连接包 MongooseJS 4.7.2 发布了。本次更新如下:
test(populate): 修复 justOne 测试
chore: 修复基准
fix(document): 在设置父文档后句柄设置 subdoc 为 null
fix(query): 支持 passRawResult
fix(query): 如果使用不存在字段进行 upsert,则抛出 StrictModeError
test: 修复了几个排序测试
chore: 升级 mongodb 驱动 -> 2.2.12
fix(query): 使用 upsert 更新句柄和正确覆盖
软件详情:https://github.com/Automattic/mongoose/releases/tag/4.7.2
下载地址:https://github.com/Automattic/mongoose/archive/4.7.2.zip
来自:开源中国社区

