Skip to content

Commit ef7d6a3

Browse files
authored
Update part13c.md
1 parent d86718d commit ef7d6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/13/en/part13c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ router.get('/:id', async (req, res) => {
12381238
})
12391239
```
12401240
1241-
So now, the <i>User.findByPk</i> query does not retrieve teams, but they are retrieved if necessary by the <i>user</i> method <i>getTeams</i>, which is automatically generated by Sequelize for the model object. Similar <i>get</i>- and a few other useful methods [are automatically generated](https://sequelize.org/master/manual/assocs.html#special-methods-mixins-added-to-instances) when defining associations for tables at the Sequelize level.
1241+
So now, the <i>User.findByPk</i> query does not retrieve teams, but they are retrieved if necessary by the <i>user</i> method <i>getTeams</i>, which is automatically generated by Sequelize for the model object. Similar <i>get</i>- and a few other useful methods [are automatically generated](https://sequelize.org/master/manual/assocs.html#special-methodsmixins-added-to-instances) when defining associations for tables at the Sequelize level.
12421242
12431243
#### Features of models
12441244

0 commit comments

Comments
 (0)