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

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

内容简介:Mongoose 5.2.5 发布了,Mongoose 是在 Node.js 异步环境下对 MongoDB 进行便捷操作的对象模型工具。 更新内容如下: fix(boolean): expose convertToTrue and convertToFalse for custom boolean casting #6...

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

更新日志

下载地址:


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


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

查看所有标签

猜你喜欢:

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

赢在设计

赢在设计

[美] 洛芙迪 (Lance Loveday)、[美] 尼豪斯 (Sandra Niehaus) / 刘淼、枊靖、王卓昊 / 人民邮电出版社 / 2010-8 / 55.00

企业总是面临在网站设计和改进方面进行投资的抉择。怎样才能让有限的资金发挥出最大的效益呢?网站设计不应只是把网站做得赏心悦目,它更应该是提高经济收益和获得竞争优势的战略利器。是时候让网站发挥其潜能,以业务指标为导向来做设计决策,为提升网站收益而设计了。 作者凭借多年为众多网站做咨询工作的经验,为我们揭示了赢在设计的奥秘。它针对目前网站设计中存在的典型问题,先从宏观上探讨解决问题的战略手段,围绕......一起来看看 《赢在设计》 这本书的介绍吧!

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

在线图片转Base64编码工具

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

UNIX 时间戳转换

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

HSV CMYK互换工具