发布于 2016-08-15 00:25:55 | 47 次阅读 | 评论: 0 | 来源: 网友投递
MongooseJs mongodb 连接包
Mongoose 是基于nodejs,使用javascript编程,连接mongodb数据库的软件包,使mongodb的文档数据模型变的优雅起来,方便对mongodb文档型数据库的连接和增删改查等常规数据操作。
MongooseJS 4.5.9 发布了。
MongooseJS 是当前使用 mean(mongodb express angularjs nodejs)全栈开发必用的连接数据库软件包。
本次发布主要修复以下问题:
docs: add mixed schema doc for Object literal #4400 Kikobeats
fix(query): cast $geoWithin and convert mongoose objects to POJOs before casting #4392
fix(schematype): dont cast defaults without parent doc #4390
fix(query): disallow passing empty string to findOne() #4378
fix(document): set single nested doc isNew correctly #4369
fix(types): checks field name correctly with nested arrays and populate #4365
fix(drivers): make debug output copy-pastable into mongodb shell #4352
fix(services): run update validators on nested paths #4332
fix(model): handle typeKey with discriminators #4339
fix(query): apply timestamps to child schemas when explicitly specified in update #4049
fix(schema): set prefix as nested path with add() #1730
下载地址: