Node.js ORM 框架 Sequelize.js 2.0.0RC4 發布
Sequelize是一個易于使用,支持多SQL方言(dialect)的對象-關系映射框架(ORM),這個庫完全采用JavaScript開發并且能 夠用在Node.JS環境中。它當前支持MySQL, MariaDB, SQLite 和 PostgreSQL 數據庫。。Sequelize.js 完全是使用 JavaScript 編寫,適用于 Node.js 的環境。
Sequelize 2.0.0RC4 發布,此版本更新內容如下:
[INTERNALS] 更新
inflection
依賴到 v1.5.3[FEATURE] 使用錯誤對象代替連接錯誤的字符串錯誤信息 #2576
[FEATURE] Support for updating fields on duplicate key in bulk update (mysql only) #2692
[FEATURE] 基礎支持 Microsoft SQL Server
[INTERNALS] Deprecate migration logic. This is now implemented in umzug and the CLI.
[BUG] Fixed various inconsistencies with
Instance.update
and how it behaves together withcreate
,fields
and more.[BUG] Fixed crash/bug when using
include.where
together withassociation.scope
[BUG] Fixed support for
Instance.destroy()
andfield
for postgres.
</ul>
一些連接錯誤的字符串錯誤信息被實際的錯誤實例替換