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

Commit 216ff2f9 by Luc Verdier

Update associations.md

1 parent d053faf9
Showing with 1 additions and 1 deletions
...@@ -37,7 +37,7 @@ var User = this.sequelize.define('User', {/* attributes */}, {underscored: true} ...@@ -37,7 +37,7 @@ var User = this.sequelize.define('User', {/* attributes */}, {underscored: true}
User.belongsTo(Company); // Will add company_uuid to user User.belongsTo(Company); // Will add company_uuid to user
``` ```
In cases wherè `as` has been defined it will be used in place of the target model nane. In cases where `as` has been defined it will be used in place of the target model nane.
```js ```js
var User = this.sequelize.define('User', {/* attributes */}) var User = this.sequelize.define('User', {/* attributes */})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!