Nodejs的MongonDB连接包, MongooseJS 4.0.7 发布

jopen 9年前

Mongoose 是基于nodejs,使用javascript编程,连接mongodb数据库的软件包,使mongodb的文档数据模型变的优雅起来,方便对mongodb文档型数据库的连接和增删改查等常规数据操作。

mongoose是当前使用mean(mongodb express angularjs nodejs)全栈开发必用的连接数据库软件包。

MongooseJS 4.0.7 发布,更新内容:

  • fixed; documentarray id method when using object id #3157 siboulet

  • docs; improve findById docs #3147

  • fixed; update validators handle null properly #3136 odeke-em

  • docs; jsdoc syntax errors #3128 rhmeeuwisse

  • docs; fix typo #3126 rhmeeuwisse

  • docs; proper formatting in queries.jade #3121 rhmeeuwisse

  • docs; correct example for string maxlength validator #3111 rhmeeuwisse

  • fixed; setDefaultsOnInsert with arrays #3107

  • docs; LearnBoost -> Automattic in package.json #3099

  • docs; pre update hook example #3094 danpe

  • docs; clarify query middleware example #3051

  • fixed; ValidationErrors in strict mode #3046

  • fixed; set findOneAndUpdate properties before hooks run #3024

下载:https://github.com/Automattic/mongoose/archive/4.0.7.zip