Sequelize.js 3.4.1 发布,此版本更新内容如下:
[FIXED] Fix belongs-to-many countAssociations
- ambigious id when through model has id
[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 的环境。