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

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

内容简介: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]


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

查看所有标签

猜你喜欢:

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

新物种爆炸

新物种爆炸

吴声 / 中信出版社 / 2017-7-30 / 58.00元

宝马为什么要重点发展共享汽车 Airbnb正试图成为内容和社交平台 不排队、不结账、没有收银员的颠覆传统超市 茑屋书店要打造全新生活方式 基于新的商业环境与技术条件的变化,必须会产生新的品类和商业模式,这就是新物种! 大数据与人工智能等技术正在创建新的商业话语体系,创建新的权力架构,引领第四新物种爆炸。商业规则正在快速发生变化,新的模式与业态层出不穷。 要么成为......一起来看看 《新物种爆炸》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具