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

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

内容简介:Mongoose 5.2.10 发布了,Mongoose 是在 Node.js 异步环境下对 MongoDB 进行便捷操作的对象模型工具。 更新内容如下: fix: bump mongodb driver -> 3.1.4 #6920 #6903 #6884 #6799 #6741 [Fonger](https://githu...

Mongoose 5.2.10 发布了,Mongoose 是在 Node.js 异步环境下对 MongoDB 进行便捷操作的对象模型工具。

更新内容如下:

  • fix: bump mongodb driver -> 3.1.4 #6920 #6903 #6884 #6799 #6741 [Fonger](https://github.com/Fonger)

  • fix(model): track `session` option for `save()` as the document's `$session()` #6909

  • fix(query): add Query.getOptions() helper #6907 [Fonger](https://github.com/Fonger)

  • fix(document): ensure array atomics get cleared after save() #6900

  • fix(aggregate): add missing redact and readConcern helpers #6895 [Fonger](https://github.com/Fonger)

  • fix: add global option `mongoose.set('useCreateIndex', true)` to avoid ensureIndex deprecation warning #6890

  • fix(query): use `projection` option to avoid deprecation warnings #6888 #6880 [Fonger](https://github.com/Fonger)

  • fix(query): use `findOneAndReplace()` internally if using `overwrite: true` with `findOneAndUpdate()` #6888 [Fonger](https://github.com/Fonger)

  • fix(document): ensure required cache gets cleared correctly between subsequent saves #6892

  • fix(aggregate): support session chaining correctly #6886 #6885 [Fonger](https://github.com/Fonger)

  • fix(query): use `projection` instead of `fields` internally for `find()` and `findOne()` to avoid deprecation warning #6880

  • fix(populate): add `getters` option to opt in to calling getters on populate #6844

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

编程匠艺

编程匠艺

Pete Goodliffe / 韩江、陈玉 / 电子工业出版社 / 2011-11 / 85.00元

如果你可以编写出合格的代码,但是想更进一步、创作出组织良好而且易于理解的代码,并希望成为一名真正的编程专家或提高现有的职业技能,那么Pete Goodliffe编写的这本本书都会为你给出答案。本书的内容涵盖编程的各个要素,如代码风格、变量命名、错误处理和安全性等。此外,本书还对一些更广泛的编程问题进行了探讨,如有效的团队合作、开发过程和文档编写,等等。本书各章的末尾均提供一些思考问题,这些问题回顾......一起来看看 《编程匠艺》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

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

html转js在线工具