发布于 2015-06-06 00:20:11 | 223 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Sequelize Node.js的ORM 框架

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


sequelize 3.2.0 发布,更新内容如下:

  • [FEATURE] Add support for new option targetKey in a belongs-to relationship for situations where the target key is not the id field.

  • [FEATURE] Add support for keyword after in options of a field (useful for migrations), only for MySQL. #3166

  • [FEATURE] There's a new sequelize.truncate function to truncate all tables defined through the sequelize models #2671

  • [FEATURE] Add support for MySQLs TINYTEXT, MEDIUMTEXT and LONGTEXT. #3836

  • [FEATURE] Provide warnings if you misuse data types. #3839

  • [FIXED] Fix a case where Postgres arrays containing JSONB type was being generated as JSON type.

  • [FIXED] Fix a case where type in sequelize.query was not being set to raw. #3800

  • [FIXED] Fix an issue where include all was not being properly expanded for self-references #3804

  • [FIXED] Fix instance.changed regression to not return false negatives for not changed null values #3812

  • [FIXED] Fix isEmail validator to allow args: true #3770

  • [FIXED] Fix all occasions where options.logging was not used correctly #3834

  • [FIXED] Fix Model#destroy() to correctly use options.transaction

  • [FIXED] Fix QueryInterface#showIndex() to correctly pass on options.transaction

该版本现已提供下载:sequelize-3.2.0.zip

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



历史版本 :
Sequelize v4.31.0 发布,Node.js 的 ORM
Sequelize 4.29.1 和 4.29.2 发布,Node.js 的 ORM
Sequelize 4.29.0 发布,Node.js 的 ORM
Sequelize 4.28.0 发布,Node.js 的 ORM
Sequelize 4.22.16 和 4.23.0 发布,Node.js 的 ORM
Sequelize 4.22.9 发布,Node.js 的 ORM
Sequelize 4.22.2 和 4.22.3 和 4.22.4 发布,Node.js 的 ORM
Sequelize 4.15.0 发布,Node.js 的 ORM
Sequelize 4.14.0 发布,Node.js 的 ORM
Sequelize 4.13.16 和 4.13.17 发布,Node.js 的 ORM
Sequelize 4.13.11-15 发布,Node.js 的 ORM
Sequelize 4.13.9 和 4.13.10 发布,Node.js 的 ORM
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务