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

栏目: 数据库 · 发布时间: 6年前

内容简介:Mongoose 5.2.10 发布了,Mongoose 是在 Node.js 异步环境下对 MongoDB 进行便捷操作的对象模型工具。更新内容如下:下载地址:

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

下载地址:


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

查看所有标签

猜你喜欢:

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

强化学习精要

强化学习精要

冯超 / 电子工业出版社 / 2018-6 / 80

《强化学习精要:核心算法与TensorFlow 实现》用通俗幽默的语言深入浅出地介绍了强化学习的基本算法与代码实现,为读者构建了一个完整的强化学习知识体系,同时介绍了这些算法的具体实现方式。从基本的马尔可夫决策过程,到各种复杂的强化学习算法,读者都可以从本书中学习到。本书除了介绍这些算法的原理,还深入分析了算法之间的内在联系,可以帮助读者举一反三,掌握算法精髓。书中介绍的代码可以帮助读者快速将算法......一起来看看 《强化学习精要》 这本书的介绍吧!

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

在线压缩/解压 JS 代码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具