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

查看所有标签

猜你喜欢:

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

复杂性思考

复杂性思考

Allen B. Downey / 张龙 / 机械工业出版社 / 2013-5 / 49.00元

本书的灵感来源于无聊与迷恋的感觉:对常规的数据结构与算法介绍的无聊,对复杂系统的迷恋。数据结构的问题在于教师在教授这门课程的时候通常不会调动起学生的积极性;复杂性科学的问题在于学校通常不会教授这门课程。 2005年,我在欧林学院讲授了一门新课程,学生要阅读关于复杂性的主题,使用Python进行实验,并学习算法与数据结构。当我在2008年再次讲授这门课程时,我写了本书的初稿。 在2011......一起来看看 《复杂性思考》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

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

在线压缩/解压 JS 代码

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

正则表达式在线测试