红联Linux门户
Linux帮助

Sequelize.js 3.10.0发布,Node.js的ORM

发布时间:2015-10-01 09:31:33来源:红联作者:oplesd
Sequelize.js 3.10.0 发布,此版本更新内容如下:

[ADDED] support search_path for postgres with lots of schemas #4534

[ADDED] Expose Association constructor as Sequelize.Association

[ADDED] beforeSync/afterSync/beforeBulkSync/afterBulksync hooks #4479

[FIXED] Calling set with dot.separated key on a JSON/JSONB attribute will not flag the entire object as changed #4379

[FIXED] instances returned from bulkCreate now has isNewRecord: false and should be updateable if using returning: true with dialects that support it.

[FIXED] Find with Include with a where clause generates wrong SQL #3940

[FIXED] ON DELETE constraint should default to CASCADE if foreignKey has allowNull: false] #2831

下载:https://github.com/sequelize/sequelize/archive/v3.10.0.zip

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

来自:开源中国社区
文章评论

共有 0 条评论