发布于 2016-07-24 00:20:44 | 103 次阅读 | 评论: 0 | 来源: 网友投递
MongooseJs mongodb 连接包
Mongoose 是基于nodejs,使用javascript编程,连接mongodb数据库的软件包,使mongodb的文档数据模型变的优雅起来,方便对mongodb文档型数据库的连接和增删改查等常规数据操作。
MongooseJS 4.5.6 发布了,本次发布改进记录如下:
fix(schema): don't overwrite createdAt if it isn't selected #4351 tusbar
docs(api): fix link to populate() and add a new one from depopulate() #4345 Delapouite
fix(types): ownerDocument() works properly with single nested docs #4344 vichle
fix(populate): dont use findOne when justOne option set #4329
fix(document): dont trigger .then() deprecated warning when calling doc.remove() #4291
docs(connection): add promiseLibrary option #4280
fix(plugins): apply global plugins to subschemas #4271
fix(model): ensure ensureIndex()
never calls back in the same tick #4246
docs(schema): improve post hook docs on schema #4238
下载地址: