不要怂,就是干,撸起袖子干!

Commit f25a59de by Dan Chung Committed by Sushant

docs(hooks): fix typo in bulk update example. (#8470)

1 parent 0a79ef81
Showing with 1 additions and 1 deletions
...@@ -257,7 +257,7 @@ If you use `Model.bulkCreate(...)` with the `updatesOnDuplicate` option, changes ...@@ -257,7 +257,7 @@ If you use `Model.bulkCreate(...)` with the `updatesOnDuplicate` option, changes
```js ```js
// Bulk updating existing users with updatesOnDuplicate option // Bulk updating existing users with updatesOnDuplicate option
Users.bulkCreate([ Users.bulkCreate([
{ id: 1, isMemeber: true }, { id: 1, isMember: true },
{ id: 2, isMember: false } { id: 2, isMember: false }
], { ], {
updatesOnDuplicate: ['isMember'] updatesOnDuplicate: ['isMember']
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!