内容简介:Sequelize 6.8.0 发布了,Sequelize 是一款基于 Nodejs 的异步 ORM 框架,它同时支持 PostgreSQL、MySQL、SQLite 和 MSSQL 多种数据库,很适合作为 Nodejs 后端数据库的存储接口,为快速开发 Node.js 应用奠定扎实...
Sequelize 6.8.0 发布了,Sequelize 是一款基于 Nodejs 的异步 ORM 框架,它同时支持 PostgreSQL、 MySQL 、 SQLite 和 MSSQL 多种数据库,很适合作为 Nodejs 后端数据库的存储接口,为快速开发 Node.js 应用奠定扎实、安全的基础。
本次更新内容如下:
bug 修复
- types:
isIn
验证器允许接受任何值。 (#12962) - 允许插入带零的主键。 ( #13458 )
- model: 为了避免出现 NaN ,只有当数值不为空时才允许转换数值。( 199b632 )
- fix(model.d): 在
where
中接受[Op.is]
(这功能在 TypeScript 4.4 中被破坏)。(#13499) - postgres: 修复了
findCreateFind
方法,让它能和postgres transactions
一起工作。(#13482) - select: 不再强制设置
subQuery
为false
。(#13490) - sqlite: 修复了空字符串错误地覆盖存储的问题。(#13376)
- types: 加入了缺少的 upsert hooks 。(#13394)
- types: 通过
SearchPathable
来扩展BulkCreateOptions
。 (#13469) - types: 修正了
model.d.ts
中的错别字。(#13574)
新功能
- postgres: 支持 query_timeout 选项。 (#13258) (3ca085d)
- typings: 添加
UnknownConstraintError
( #13461 ) ( 69d899e )
更新公告:https://github.com/sequelize/sequelize/releases/tag/v6.8.0
以上所述就是小编给大家介绍的《Sequelize 6.8.0 发布,基于 Nodejs 的异步 ORM 框架》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:- Python微型异步爬虫框架
- 5个顶级异步Python框架
- Spring Boot 异步框架的使用
- netty的Future异步回调难理解?手写个带回调异步框架就懂了
- 使用 Go 语言实现一个异步任务框架
- uvloop —— 超级快的 Python 异步网络框架
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Cracking the Coding Interview
Gayle Laakmann McDowell / CareerCup / 2015-7-1 / USD 39.95
Cracking the Coding Interview, 6th Edition is here to help you through this process, teaching you what you need to know and enabling you to perform at your very best. I've coached and interviewed hund......一起来看看 《Cracking the Coding Interview》 这本书的介绍吧!