发布于 2015-08-31 23:32:31 | 109 次阅读 | 评论: 0 | 来源: 网友投递
MongooseJs mongodb 连接包
Mongoose 是基于nodejs,使用javascript编程,连接mongodb数据库的软件包,使mongodb的文档数据模型变的优雅起来,方便对mongodb文档型数据库的连接和增删改查等常规数据操作。
Mongoose 是基于nodejs,使用javascript编程,连接mongodb数据库的软件包,使mongodb的文档数据模型变的优雅起来,方便对mongodb文档型数据库的连接和增删改查等常规数据操作。
MongooseJS 4.1.4 发布,此版本主要是 bug 修复,更新内容如下:
fixed; ability to set strict: false for update #3305
fixed; .create() properly uses ES6 promises #3297
fixed; pre hooks on nested subdocs #3291 #3284 aliatsis
docs; remove unclear text in .remove() docs #3282
fixed; pre hooks called twice for 3rd-level nested doc #3281
fixed; nested transforms #3279
upgraded; mquery -> 1.6.3 #3278 #3272
fixed; don't swallow callback errors by default #3273 #3222
fixed; properly get nested paths from nested schemas #3265
fixed; remove() with id undefined deleting all docs #3260 thanpolas
fixed; handling for non-numeric projections #3256
fixed; findById with id undefined returning first doc #3255
fixed; use retainKeyOrder for update #3215
added; passRawResult option to findOneAndUpdate for backwards compat #3173
下载:https://github.com/Automattic/mongoose/archive/4.1.4.zip。