Node.js的ORM框架,Sequelize 2.0.0RC8 發布
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