Sequelize.js 提供对 MySQL,MariaDB,SQLite 和 PostgreSQL 数据库的简单访问,通过映射数据库条目到对象,或者对象到数据库条目。简而言之,就是 ORM(Object-Relational-Mapper)。Sequelize.js 完全是使用 JavaScript 编写,适用于 Node.js 的环境。
Sequelize 2.0.3 发布,此版本更新内容如下:
[BUG] Support for plain strings, ints and bools on JSON insert
[BUG] Fixed regression where {$in: []} would result in IN () rather than IN (NULL) #3105 #3132
[BUG] Fixed bug where 2 x belongsToMany with foreignKey but no otherKey defined would result in 3 keys instead of 2. #2991
[BUG] Fixed regression with where: sequelize.json() #3138
[BUG] Fixed support for field with $or/$and #3153
软件详情:https://github.com/sequelize/sequelize/releases/tag/v2.0.3
来自:开源中国社区

