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

Commit b3091314 by Bart Nagel Committed by Sushant

docs(getting-started): show source of Model (#10663)

1 parent 26ec3677
Showing with 2 additions and 1 deletions
...@@ -92,9 +92,10 @@ Sequelize will keep the connection open by default, and use the same connection ...@@ -92,9 +92,10 @@ Sequelize will keep the connection open by default, and use the same connection
Models are defined with `Model.init(attributes, options)`: Models are defined with `Sequelize.Model.init(attributes, options)`:
```js ```js
const Model = Sequelize.Model;
class User extends Model {} class User extends Model {}
User.init({ User.init({
// attributes // attributes
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!