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

栏目: 数据库 · 发布时间: 6年前

内容简介:Mongoose 5.4.1 已发布,Mongoose 是在 Node.js 异步环境下对 MongoDB 进行便捷操作的对象模型工具。更新内容如下:

Mongoose 5.4.1 已发布,Mongoose 是在 Node.js 异步环境下对 MongoDB 进行便捷操作的对象模型工具。

更新内容如下:

  • fix(document): ensure doc array defaults get casted #7337

  • fix(document): make save() not crash if nested doc has a property 'get' #7316

  • fix(schema): allow using Schema.Types.Map as well as Map to declare a map type #7305

  • fix(map): make set after init mark correct path as modified #7321

  • fix(mongoose): don't recompile model if same collection and schema passed in to mongoose.model() #5767

  • fix(schema): improve error message when type is invalid #7303

  • fix(schema): add populated to reserved property names #7317

  • fix(model): don't run built-in middleware on custom methods and ensure timestamp hooks don't run if children don't have timestamps set #7342

  • docs(schematypes): clarify that you can add arbitrary options to a SchemaType #7340

  • docs(mongoose): clarify that passing same name+schema to mongoose.model() returns the model #5767

  • docs(index): add useNewUrlParser to example #7368 JIBIN-P

  • docs(connection): add useNewUrlParser to examples #7362 JIBIN-P

  • docs(discriminators): add back missing example from 'recursive embedded discriminators section' #7349

  • docs(schema): improve docs for string and boolean cast() #7351

发行地址

下载地址:


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

函数式算法设计珠玑

函数式算法设计珠玑

Richard Bird / 苏统华、孙芳媛、郝文超、徐琴 / 机械工业出版社 / 2017-4-1 / 69.00

本书采用完全崭新的方式介绍算法设计。全书由30个珠玑构成,每个珠玑单独列为一章,用于解决一个特定编程问题。这些问题的出处五花八门,有的来自游戏或拼图,有的是有趣的组合任务,还有的是散落于数据压缩及字串匹配等领域的更为熟悉的算法。每个珠玑以使用函数式编程语言Haskell对问题进行描述作为开始,每个解答均是诉诸于函数式编程法则从问题表述中计算得到。本书适用于那些喜欢学习算法设计思想的函数式编程人员、......一起来看看 《函数式算法设计珠玑》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具