Mongoose 6.1.4 发布,MongoDB 异步对象模型工具
Mongoose 是设计用于异步环境的 MongoDB 对象模型工具,支持 promises 和 callbacks。Mongoose 6.1.4 正式发布,本次更新内容如下: fix(document): 处理subdoc下未定义嵌套文档的保存#11110 fix(document):允许使用 create() 手动填充子文档引用#10856 fix(populate): 处理子文档映射下的 refPath #9359 fix(update): 使用未定义的 id 调用 findByIdAndUpdate 时抛出错误 #11079 fix(mongoose):导出 ConnectionStates #11133 fix(index.d.ts): 在使用泛型类型覆盖时解压数组 populate() #11027 fix(index.d.ts): 在 Merge 阶段修复类型 #11132 fix(index.d.ts): PipelineStage.Merge 接口定义错误#11109 docs(typescript):在文档定义中添加关于 Schema.Types.ObjectId ...
