Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sequelize是否有一次性批量更新(update)的api,类似bulkCreate的api #63

Open
LTAND opened this issue Jan 30, 2021 · 0 comments
Labels

Comments

@LTAND
Copy link

LTAND commented Jan 30, 2021

当前使用的 Node.js 版本 (node -v)
v14.15.0

当前使用的 sequelize 版本
(package.json 所指定的版本)
"sequelize": "^5.21.5"

问题描述
(描述出现的或寻求解决的问题)
sequelize是否有一次性批量更新(update)的api,类似bulkCreate的api, 还是说我只能用原生拼接批量更新的sql语句

代码片段

// 相关代码或报错信息
@LTAND LTAND added the question label Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant