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
Mongoose 是基于nodejs,使用javascript编程,连接mongodb数据库的软件包,使mongodb的文档数据模型变的优雅起来,方便对mongodb文档型数据库的连接和增删改查等常规数据操作。
mongoose是当前使用mean(mongodb express angularjs nodejs)全栈开发必用的连接数据库软件包。
软件详情:https://github.com/Automattic/mongoose/
下载地址:https://github.com/Automattic/mongoose/archive/4.5.6.tar.gz
来自:开源中国社区