MongooseJS 4.11.5 已发布,MongooseJS 是使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。
更新内容:
- docs: fix link to $lookup
- fix: better parallelization for eachAsync
- docs(document): copy docs for save from model to doc
- fix(document): handle dotted virtuals in toJSON output
- fix(populate): restore user-provided limit after mutating so cursor() works with populate limit
- fix(query): don’t throw StrictModeError if geo query with upsert
- fix(populate): propagate readPreference from query to populate queries by default
- docs: warn not to use arrow functions for statics and methods
- fix(query): iterate over all condition keys for setDefaultsOnInsert
- docs(connection): clarify server/replset/mongos option deprecation with useMongoClient
下载地址:
转自 https://www.oschina.net/news/87250/mongoosejs-4-11-5