1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Sequelize.js 2.1.0 发布 下载

本帖由 漂亮的石头2015-04-27 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,317
    赞:
    46
    Sequelize.js 提供对 MySQLMariaDBSQLitePostgreSQL 数据库的简单访问,通过映射数据库条目到对象,或者对象到数据库条目。简而言之,就是 ORM(Object-Relational-Mapper)。Sequelize.js 完全是使用 JavaScript 编写,适用于 Node.js 的环境。

    Sequelize.js 2.1.0 发布,此版本改进内容如下:


    • [BUG] Enable standards conforming strings on connection in postgres. Adresses #3545


    • [BUG] instance.removeAssociation(s) do not fire the select query twice anymore


    • [BUG] Error messages thrown by the db in languages other than english do not crash the app anymore (mysql, mariadb and postgres only) #3567


    • [FEATURE] JSONB


    • [FEATURE] All querys can be logged individually by inserting logging: fn in the query option.


    • [FEATURE] Partial index support for Postgres with index.where


    • [REFACTOR] .changed() now works proactively by setting a flag on set instead of matching reactively. Note that objects and arrays will not be checked for equality on set and will always result in a change if they are set.


    • [DEPRECATED] The query-chainer is deprecated and will be removed in version 2.2. Please use promises instead.


    • [REMOVED] Events are no longer supported.
    向后兼容改进


    • Events support have been removed so using .on('succes') or .succes() is no longer supported.

    此版本现已提供下载:https://github.com/sequelize/sequelize/archive/v2.1.0.zip
    Sequelize.js 2.1.0 发布下载地址
     
正在加载...