MongooseJS 4.1.2 发布,此版本更新内容如下: fixed; better handling for Jade templates #3241 kbadk added; ESlint trailing spaces #3234 ChristianMurphy added; ESlint #3191 ChristianMurphy fixed; properly emit event on disconnect #3183 fixed; copy options properly using Query.toConstructor() #3176 fixed; setMaxListeners() issue in browser build #3170 fixed; node driver -> 2.0.40 to not store undefined keys as null #3169 fixed; update validators handle positional operator #3167 fixed; handle $all + $elemMatch query casting #3163 fixed; post save hooks don't swallow extra args #3155 docs; spelling mistake in index.jade #3154 fixed; don't crash when toObject() has no fields #3130 fixed; apply toObject() recursively for find and update queries #3086 naoina 下载:https://github.com/Automattic/mongoose/archive/4.1.2.zip。 Mongoose 是基于nodejs,使用javascript编程,连接mongodb数据库的软件包,使mongodb的文档数据模型变的优雅起来,方便对mongodb文档型数据库的连接和增删改查等常规数据操作。 mongoose是当前使用mean(mongodb express angularjs nodejs)全栈开发必用的连接数据库软件包。 MongooseJS 4.1.2 发布,MongonDB 连接包下载地址