MongooseJS 4.11.0 发布了,MongooseJS 是使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。本次更新如下:
feat(query): execute setters with query as context for runSettersOnQuery
feat(model): add translateAliases function rocketspacer
feat(connection): add useMongoClient and openUri functions, deprecate current connect logic
refactor(schema): make id virtual not access doc internals
refactor: handle non-boolean lean
feat(cursor): add addCursorFlag() support to query and agg cursors
feat(cursor): add parallel option to eachAsync
feat(schema): allow setting custom error constructor for custom validators
软件详情:https://github.com/Automattic/mongoose/blob/master/History.md
下载地址:https://github.com/Automattic/mongoose/archive/4.11.0.zip
来自:开源中国社区

