天天看點

Sequelize 4.0.0(final) 釋出,Node.js 的 ORM

sequelize 4.0.0 釋出了,sequelize.js 提供對 mysql,mariadb,sqlite 和postgresql 資料庫的簡單通路,通過映射資料庫條目到對象,或者對象到資料庫條目。簡而言之,就是 orm(object-relational-mapper)。sequelize.js 完全是使用 javascript 編寫,适用于 node.js 的環境。

v4 版本包含大量 bug 修複和更新,部分内容如下:

[added] add issoftdeleted helper method to model instance #7408

[fixed] map isolation level strings to tedious isolation level [mssql] #7296

[added] addconstraint, removeconstraint, showconstraint #7108

[fixed] changecolumn generates incorrect query with enum type #7455

[added] options.alter to sequelize.sync() to alter existing tables.#537

完整更新内容

下載下傳位址:

source code (zip)

source code (tar.gz)