Mongoose 6.1.4 发布,MongoDB 异步对象模型工具

栏目: 软件资讯 · 发布时间: 4年前

内容简介:Mongoose 是设计用于异步环境的 MongoDB 对象模型工具,支持 promises 和 callbacks。Mongoose 6.1.4 正式发布,本次更新内容如下: fix(document): 处理subdoc下未定义嵌套文档的保存 #11110 fix(document):允许...

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 与 Types.ObjectId 的注释 #10949
  • docs(connection): 阐明 “connected” 和 “open” 是不同的 #10886
  • docs(populate): 添加不使用 on 作为模式路径名的正确 refPath 示例 #11113
  • 文档:修复strictQuery示例  #11135 

更新公告:https://github.com/Automattic/mongoose/releases/tag/6.1.4


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Getting Started with C++ Audio Programming for Game Development

Getting Started with C++ Audio Programming for Game Development

David Gouveia

Written specifically to help C++ developers add audio to their games from scratch, this book gives a clear introduction to the concepts and practical application of audio programming using the FMOD li......一起来看看 《Getting Started with C++ Audio Programming for Game Development》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换