MongoDB 連接包,MongooseJS 4.2.5 發布

jopen 9年前發布 | 6K 次閱讀 MongoDB

Mongoose 是基于nodejs,使用javascript編程,連接mongodb數據庫的軟件包,使mongodb的文檔數據模型變的優雅起來,方便對mongodb文檔型數據庫的連接和增刪改查等常規數據操作。

mongoose是當前使用mean(mongodb express angularjs nodejs)全棧開發必用的連接數據庫軟件包。

MongooseJS 4.2.5 發布,此版本主要是 bug 修復:

  • fixed; handle setting fields in pre update hooks with exec #3549

    </li>

  • upgraded; ESLint #3547 ChristianMurphy

    </li>

  • fixed; bluebird unhandled rejections with cast errors and .exec #3543

    </li>

  • fixed; min/max validators handling undefined #3539

    </li>

  • fixed; standalone mongos connections #3537

    </li>

  • fixed; call .toObject() when setting a single nested doc #3535

    </li>

  • fixed; single nested docs now have methods #3534

    </li>

  • fixed; single nested docs with .create() #3533 #3521 tusbar

    </li>

  • docs; deep populate docs #3528

    </li>

  • fixed; deep populate schema ref handling #3507

    </li>

  • upgraded; mongodb driver -> 2.0.48 for sort overflow issue #3493

    </li>

  • docs; clarify default ids for discriminators #3482

    </li>

  • fixed; properly support .update(doc) #3221

    </li> </ul>

    下載:https://github.com/Automattic/mongoose/archive/4.2.5.zip


     本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
     轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
     本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!