You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This will create the table PersonChildren which stores the ids of the objects.
369
369
```
370
370
371
+
## Associations with extra attributes on through table
372
+
373
+
When creating an N:M association, for example, with User and Project through UserProjects you might want extra attributes in the join table like the "role" attribute . This relationship can be setup like this:
By default, when eager loading a many-to-many relationship, Sequelize will return data in the following structure (based on the first example in this guide):
0 commit comments