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)
文章转载自 开源中国社区 [http://www.oschina.net]
相关资源:敏捷开发V1.0.pptx