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

Commit e8dc476c by Mick Hansen

Merge pull request #5753 from loulin/patch-1

Update associations.md
2 parents 8b28cbb3 472dda1d
Showing with 4 additions and 1 deletions
...@@ -813,7 +813,10 @@ Product.create({ ...@@ -813,7 +813,10 @@ Product.create({
{id: 2, name: 'Beta'} {id: 2, name: 'Beta'}
] ]
}, { }, {
include: [ Categories ] include: [{
model: Categories,
as: 'categories'
}]
}) })
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!