Sequelize 3.20.0 发布了,Sequelize.js 提供对 MySQL,MariaDB,SQLite 和 PostgreSQL 数据库的简单访问,通过映射数据库条目到对象,或者对象到数据库条目。简而言之,就是 ORM(Object-Relational-Mapper)。Sequelize.js 完全是使用 JavaScript 编写,适用于 Node.js 的环境。 更新日志: [ADDED] rejectOnEmpty mode #272 #5480 [ADDED] beforeCount hook #5209 [ADDED] validationFailed hook #1626 [ADDED] Support for IEEE floating point literals in postgres and sqlite #5194 [FIXED] addColumn with reference in mysql #5592 [FIXED] findAndCountAll generates invalid SQL, subQuery moves to LEFT OUTER JOIN #5445 [FIXED] count methods pollute the options.includes #4191 [FIXED] Invalid SQL generated when using group option along with attributes #3009 [FIXED] Mark index as unique: true when type: 'UNIQUE'. Fixes #5351 [FIXED] Improper escaping of bound arrays of strings on Postgres, SQLite, and Microsoft SQL Server Sequelize 3.20.0 发布下载地址