设为首页收藏本站我的广告

运维网

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
总共321条微博

每日一博

查看: 1563|回复: 0

[更新动态] 【重大新闻】 Mongoose 5.2.5 发布,MongoDB 异步对象模型工具【顶】

[复制链接]

该用户从未签到

wweecc 发表于 2018-7-25 10:13:25 | 显示全部楼层 |阅读模式
【站长推荐】Mongoose 5.2.5 发布了,Mongoose 是在 Node.js 异步环境下对 MongoDB 进行便捷操作的对象模型工具。

更新内容如下:


  • fix(boolean): expose convertToTrue and convertToFalse for custom boolean casting #6758
  • docs(schematypes): add note about what values are converted to booleans #6758
  • fix(document): fix(document): report castError when setting single nested doc to array #6753
  • docs: prefix mongoose.Schema call with new operator #6751 sajadtorkamani
  • docs(query): add examples and links to schema writeConcern option for writeConcern helpers #6748
  • docs(middleware): clarify that init middleware is sync #6747
  • perf(model): create error rather than modifying stack for source map perf #6735
  • fix(model): throw helpful error when passing object to aggregate() #6732
  • fix(model): pass Model instance as context to applyGetters when calling getters for virtual populate #6726 lineus
  • fix(documentarray): remove isNew and save listeners on CastError because otherwise they never get removed #6723
  • docs(model+query): clarify when to use countDocuments() vs estimatedDocumentCount() #6713
  • fix(populate): correctly set virtual nestedSchemaPath when calling populate() multiple times #6644
  • docs(connections): add note about the family option for IPv4 vs IPv6 and add port to example URIs #6566
更新日志
下载地址:
源自:互联网
运维网 感谢您的阅读
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|申请友链|sitemap|手机版|小黑屋|Archiver|运维网 ( 京ICP备16008201号  

GMT+8, 2018-12-19 23:23 , Processed in 0.048046 second(s), 27 queries , XCache On.

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表