Node.js ORM 框架 Sequelize.js 2.0.0RC4 發布

jopen 9年前發布 | 7K 次閱讀 Sequelize.js

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 with create, fields and more.

  • [BUG] Fixed crash/bug when using include.where together with association.scope

  • [BUG] Fixed support for Instance.destroy() and field for postgres.

  • </ul>

    向后兼容改進

    • 一些連接錯誤的字符串錯誤信息被實際的錯誤實例替換

    更多信息請看更新日志

     本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
     轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
     本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!