转载

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

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 的环境。

正文到此结束
Loading...