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

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

内容简介: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 异步对象模型工具》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

像计算机科学家一样思考Python

像计算机科学家一样思考Python

(美)Allen B.Downey / 赵普明 / 人民邮电出版社 / 2013-8 / 49

《像计算机科学家一样思考python》按照培养读者像计算机科学家一样的思维方式的思路来教授python语言编程。全书贯穿的主体是如何思考、设计、开发的方法,而具体的编程语言,只是提供一个具体场景方便介绍的媒介。《像计算机科学家一样思考python》并不是一本介绍语言的书,而是一本介绍编程思想的书。和其他编程设计语言书籍不同,它不拘泥于语言细节,而是尝试从初学者的角度出发,用生动的示例和丰富的练习来......一起来看看 《像计算机科学家一样思考Python》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

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

在线XML、JSON转换工具