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

Commit d1662c13 by Mick Hansen

Merge pull request #3656 from alexturek/fix-typo-in-docs

Fix a typo in docs
2 parents b9255f03 384bffa2
Showing with 1 additions and 1 deletions
...@@ -201,7 +201,7 @@ User.bulkCreate([ ...@@ -201,7 +201,7 @@ User.bulkCreate([
}) })
``` ```
`bulkCreate` was originally made to be a mainstream/fast way of inserting records, however, sometimes you want the luxury of being able to insert multiple rows at once without sacrificing model validations even when you explicitly tell Sequelize which columns to sift through. You can do by adding a `validate: true` property to the optons object. `bulkCreate` was originally made to be a mainstream/fast way of inserting records, however, sometimes you want the luxury of being able to insert multiple rows at once without sacrificing model validations even when you explicitly tell Sequelize which columns to sift through. You can do by adding a `validate: true` property to the options object.
```js ```js
var Tasks = sequelize.define('Task', { var Tasks = sequelize.define('Task', {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!