Node.js的ORM框架,Sequelize 2.0.0RC8 發布

jopen 9年前發布 | 5K 次閱讀 ?Sequelize

Sequelize.js 提供對 MySQL,MariaDB,SQLite 和 PostgreSQL 數據庫的簡單訪問,通過映射數據庫條目到對象,或者對象到數據庫條目。簡而言之,就是 ORM(Object-Relational-Mapper)。Sequelize.js 完全是使用 JavaScript 編寫,適用于 Node.js 的環境。

Sequelize 2.0.0RC8 發布,此版本更新內容如下:

  • [FEATURE] CLS Support. CLS is also used to automatically pass the transaction to any calls within the callback chain when usingsequelize.transaction(function() ....

  • [BUG] Fixed issue with paranoid deletes anddeletedAtwith a custom field.

  • [BUG] No longer crahes onwhere: []

  • [FEATURE] Validations are now enabled by default for upsert.

  • [FEATURE] Preliminary support forinclude.through.where

  • [SECURITY/BUG] Fixed injection issue in direction param for order

來自:http://www.oschina.net/news/58964/centreon-bi-2-1

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