内容简介: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
convertToTrueandconvertToFalsefor custom boolean casting #6758docs(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
isNewandsavelisteners on CastError because otherwise they never get removed #6723docs(model+query): clarify when to use
countDocuments()vsestimatedDocumentCount()#6713fix(populate): correctly set virtual nestedSchemaPath when calling populate() multiple times #6644
docs(connections): add note about the
familyoption for IPv4 vs IPv6 and add port to example URIs #6566
下载地址:
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上所述就是小编给大家介绍的《Mongoose 5.2.5 发布,MongoDB 异步对象模型工具》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Google總部大揭密
史蒂芬.李維 / 陳重亨 / 財信 / 2011-11
∣如果有一天,Google的搜尋引擎突然故障 ∣GMAIL信件全數消失 ∣Google Maps、Google Docs、Google行事曆等所有雲端服務全面停擺 ∣我們該怎麼辦?! 歷史上像Google如此成功,且廣受推崇的企業可沒幾家。它改變了網路的使用方式,也成了我們生活不可或缺的一部分。這到底是怎麼辦到的? 《連線》雜誌資深主筆史蒂芬.李維史無前例同時取得LS......一起来看看 《Google總部大揭密》 这本书的介绍吧!
CSS 压缩/解压工具
在线压缩/解压 CSS 代码
HEX HSV 转换工具
HEX HSV 互换工具