nodejs的MongonDB 连接库,MongooseJS 4.1.8 发布

jopen 8年前

Mongoose 是基于nodejs,使用javascript编程,连接mongodb数据库的软件包,使mongodb的文档数据模型变的优雅起来,方便对mongodb文档型数据库的连接和增删改查等常规数据操作。

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

MongooseJS 4.1.8 发布,此版本主要是 bug 修复:

  • docs; fixed typo in example #3390 kmctown

  • fixed; error in toObject() #3387 guumaster

  • fixed; handling for casting null dates #3383 alexmingoia

  • fixed; passing composite ids to findByIdAndUpdate #3380

  • fixed; linting #3376 #3375 ChristianMurphy

  • fixed; added NodeJS v4 to Travis #3374 ChristianMurphy

  • fixed; casting $elemMatch inside of $not #3373 gaguirre

  • fixed; handle case where $slice is 0 #3369

  • fixed; avoid running getters if path is populated #3357

  • fixed; cast documents to objects when setting to a nested path #3346

下载:<a href="/misc/goto?guid=4958967948011514492" _src="https://github.com/Automattic/mongoose/archive/4.1.8.zip">https://github.com/Automattic/mongoose/archive/4.1.8.zip</a>。