红联Linux门户
Linux帮助

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

发布时间:2015-08-21 09:16:03来源:红联作者:empast
Sequelize.js 3.6.0 发布,更新内容如下:

[ADDED] Model.findCreateFind: A more performant findOrCreate that will not work under a transaction (atleast not in postgres)

[FIXED] Show indexes query on Postgres fails to return functional indexes #3911

[FIXED] Custom field names in json queries

[FIXED] JSON cast key using the equality operator. #3824

[FIXED] Map column names with .field in scopes with includes. #4210

[FIXED] addScope when the model does not have any initial scopes #4243

[FIXED] Fixed destroy with limit in PG when the primary key is aliassed #4027

[FIXED] Clone the options object in increment, decrement, destroy, reload, restore, and save. #4023

[FIXED] Throw a Sequelize.Error when authenticate fails #4209

[FIXED] BTM would remove any previously added association getters #4268

[FIXED] Pass through connection mode options to sqlite#4288

[INTERNALS] Updated dependencies #4332

toposort-class@1.0.1

validator@4.0.4

wkx@0.1.0

[INTERNALS] Updated devDependencies #4336

chai-spies@0.7.0

dox@0.8.0

mysql@2.8.0

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

软件详情:https://github.com/sequelize/sequelize/blob/master/changelog.md

下载地址:https://github.com/sequelize/sequelize/releases/tag/v3.6.0

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

共有 0 条评论