红联Linux门户
Linux帮助

MongooseJS 4.11.2发布,MongoDB连接包

发布时间:2017-07-14 09:17:39来源:红联作者:baihuo
MongooseJS 4.11.2 发布了,MongooseJS 是使用 JavaScript 编程,连接 MongoDB 数据库的软件包,使 MongoDB 的文档数据模型变的优雅起来,方便对 MongoDB 文档型数据库的连接和增删改查等常规数据操作。本次更新如下:

docs: fix comment typo in connect example

fix(update): correctly cast document array in update validators with exec()

fix(connection): handle autoIndex with useMongoClient

fix(schema): handle type: [Array] in schemas

fix(timestamps): if overwrite is set and there's a $set, use $set instead of top-level update

fix(document): don't double-validate deeply nested doc array elements

fix(schematype): clone default objects so default not shared across object instances unless shared specified

fix(document): reset down the nested subdocs when resetting parent doc

fix: don't pass error arg twice to error handlers

fix(connection): make openUri() return connection decorated with then() and catch()

fix: enforce $set on an array must be an array

fix(document): don't crash if calling validateSync() after overwriting doc array index

fix(discriminator): ensure discriminator key doesn't count as user-selected field for projection

软件详情:https://github.com/Automattic/mongoose/

下载地址:https://github.com/Automattic/mongoose/archive/4.11.2.zip

来自:开源中国社区
文章评论

共有 0 条评论