红联Linux门户
Linux帮助

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

发布时间:2015-07-18 09:26:50来源:红联作者:empast
Sequelize.js 3.4.1 发布,此版本更新内容如下:

[FIXED] Fix belongs-to-many countAssociations - ambigious id when through model has id

同一天还发布了 3.4.0,更新内容如下:

[ADDED] countAssociations for hasMany and belongsToMany

[ADDED] Geometry support for postgres

[FIXED] Fix wrong count for findAndCountAll with required includes #4016

[FIXED] Fix problems related to parsing of unique constraint errors #4017 and #4012

[FIXED] Fix postgres path variable being surrounded by quotes to often in unique constraint errors #4034

[FIXED] Fix removeAttributes(id) not setting this.primaryKeys to null

[FIXED] Run validations on the through model during add, set and create for belongsToMany

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

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

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

共有 0 条评论