Sequelize.js 3.19.0 发布,更新如下:
[ADDED] Geography support for postgres
[FIXED] Migrations failed to add foreign key #966
[FIXED] Prevent race condition after transaction finished #5222
[FIXED] Fixed Instance.reload issues (#4844 and #4452)
[FIXED] Fix upsert when primary key contains .field (internal API change for queryInterface.upsert) #4755
[FIXED] Default value for defaultScope is now an empty object. This fixes calling .scope('defaultScope') when no scope is explicitly defined, see #5277
Sequelize.js 提供对 MySQL,MariaDB,SQLite 和 PostgreSQL 数据库的简单访问,通过映射数据库条目到对象,或者对象到数据库条目。简而言之,就是 ORM(Object-Relational-Mapper)。Sequelize.js 完全是使用 JavaScript 编写,适用于 Node.js 的环境。
下载地址:https://github.com/sequelize/sequelize/tree/v3.19.0
来自:开源中国社区

