MongooseJS 4.9.0发布了,使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。
更新如下:
feat(document): return this from depopulate()
fix(drivers): stop emitting timeouts as errors
feat(schema): add a clone() function for schemas
feat(query): add rawResult option to replace passRawResult, deprecate passRawResult
feat(schematype): support isAsync validator option and handle returning promises from validators, deprecate implicit async validators
feat(query): add replaceOne(), deleteOne(), deleteMany()
feat(model): add bulkWrite()
软件详情:https://github.com/Automattic/mongoose/blob/master/History.md
下载地址:https://github.com/Automattic/mongoose/archive/4.9.0.zip
来自:开源中国社区

