Node.js 的 ORM框架,Sequelize 2.0.4 发布

jopen 7年前

Sequelize.js 提供对 MySQL,MariaDB,SQLite 和 PostgreSQL 数据库的简单访问,通过映射数据库条目到对象,或者对象到数据库条目。简而言之,就是 ORM(Object-Relational-Mapper)。Sequelize.js 完全是使用 JavaScript 编写,适用于 Node.js 的环境。

Sequelize 2.0.4 发布,此版本更新内容如下:

  • [BUG] Fixed support for 2 x belongsToMany without foreignKey defined and association getter/adder #3185

  • [BUG] No longer throws on Model.hasHook() if no hooks are defiend #3181

  • [BUG] Fixed issue with {$and: []}

  • [BUG] Fixed issue with N:M relations with primary keys with field defined

此版本现已提供下载:https://github.com/sequelize/sequelize/archive/v2.0.4.zip




来自:http://www.oschina.net/news/60284/sequelize-2-0-4