MongooseJS 4.6.4 发布,MongoDB 连接包

MongooseJS 4.6.4  发布了,MongooseJS 是基于 node.js,使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使MongoDB 的文档数据模型变得优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据进行操作。

MongooseJS 是当前使用 mean(mongodb express angularjs nodejs)全栈开发必用的连接数据库软件包。

该版本更新如下:

  • fix(query): cast $not correctly #4616 #4592 prssn

  • fix: address issue with caching global plugins #4608 #4601 TrejGun

  • fix(model): make sure to depopulate in insertMany #4590

  • fix(model): buffer autoIndex if bufferCommands disabled #4589

  • fix(populate): copy ids array before modifying #4585

  • feat(schema): add retainKeyOrder prop #4542悦德财富:https://www.yuedecaifu.com

  • fix(document): return isModified true for children of direct modified paths #4528

  • fix(connection): add dropDatabase() helper #4490

  • fix(model): add usePushEach option for schemas #4455

  • docs(connections): add some warnings about buffering #4413

  • fix: add ability to set promise implementation in browser #4395

原文地址:https://www.cnblogs.com/oceansea/p/5977778.html