Sequelize 4.0.0 发布了,Sequelize.js 提供对 MySQL,MariaDB,SQLite 和PostgreSQL 数据库的简单访问,通过映射数据库条目到对象,或者对象到数据库条目。简而言之,就是 ORM(Object-Relational-Mapper)。Sequelize.js 完全是使用 JavaScript 编写,适用于 Node.js 的环境。
v4 版本包含大量 bug 修复和更新,部分内容如下:
Add isSoftDeleted helper method to model instance
Map isolation level strings to tedious isolation level [MSSQL]
addConstraint, removeConstraint, showConstraint
changeColumn generates incorrect query with ENUM type
options.alter to sequelize.sync() to alter existing tables.
软件详情:http://docs.sequelizejs.com/manual/changelog/changelog.html
下载地址:https://github.com/sequelize/sequelize/archive/v4.0.0.zip
来自:开源中国社区

