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

Bulk Update Bug #17221

Closed
huseyinemreuslu opened this issue Mar 28, 2024 · 0 comments
Closed

Bulk Update Bug #17221

huseyinemreuslu opened this issue Mar 28, 2024 · 0 comments
Labels
pending-approval Bug reports that have not been verified yet, or feature requests that have not been accepted yet type: bug

Comments

@huseyinemreuslu
Copy link

huseyinemreuslu commented Mar 28, 2024

Sequelize version: 6.19.0
// Example
await models.example-model.bulkCreate(
[
...,
...
],
{
updateOnDuplicate: [...atributes],
}
)

Sequelize does not update "updatedAt" field

Also we try to add updatedAt in code with now and it makes changes.

Note that we' re using timestamps for all models.

@huseyinemreuslu huseyinemreuslu added pending-approval Bug reports that have not been verified yet, or feature requests that have not been accepted yet type: bug labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-approval Bug reports that have not been verified yet, or feature requests that have not been accepted yet type: bug
Projects
None yet
Development

No branches or pull requests

1 participant