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

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

内容简介:Mongoose 是设计用于异步环境的 MongoDB 对象模型工具,支持 promises 和 callbacks。Mongoose 6.1.6 正式发布,本次更新内容如下: perf(document): 延迟创建文档事件发射器(document event emitter),用于提高...

Mongoose 是设计用于异步环境的 MongoDB 对象模型工具,支持 promises 和 callbacks。Mongoose 6.1.6 正式发布,本次更新内容如下:

  • perf(document): 延迟创建文档事件发射器(document event emitter),用于提高内存使用率。通过一些小的优化,来改进大型数组的初始化文档 #10400
  • fix(model): 避免 versionKey: false 时的 bulkSave()错误  #11186 #11071 
  • fix(model): 还原 #11079findByIdAndUpdate(undefined) 的重大更改#11149
  • fix(index.d.ts): 在 deep populate 中支持字符串 #11181
  • fix(index.d.ts): 重命名 map() -> transform() ,以符合 v6.0 中的更改#11161
  • fix(index.d.ts): 允许 new Model(obj) 进行更严格的类型检查#11148
  • fix(index.d.ts): 将 Schema.prototype.pre() 和 post() 两个泛型默认为 HydratedDocument #11180
  • docs: 改进 autoCreate 文档  #11116
  • docs(schematype):将缺少的参数添加到示例 #11185 
  • docs(connections): 使用更新过的链接列表 MongoDB 节点驱动程序的 connect() 选项 #11184 
  • docs(aggregate): 修复格式 #11191 enieber
  • docs: 修复损坏的文档链接  #11179 

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


以上所述就是小编给大家介绍的《Mongoose 6.1.6 发布,MongoDB 异步对象模型工具》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

XML Hacks

XML Hacks

Michael Fitzgerald / O'Reilly Media, Inc. / 2004-07-27 / USD 24.95

Developers and system administrators alike are uncovering the true power of XML, the Extensible Markup Language that enables data to be sent over the Internet from one computer platform to another or ......一起来看看 《XML Hacks》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

html转js在线工具
html转js在线工具

html转js在线工具

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

UNIX 时间戳转换