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

Commit e135c6fe by YoussefOuirini Committed by Sushant

Fix small typo in models-usage.md (#7752)

```
User.findAll({
    where: {
        '$Instruments.name$': { $iLike: '%ooth%' }
    }
    include: [{
        model: Tool,
        as: 'Instruments'
    }]
})
```

Did not have a comma between the key `include` and the key `where`. People who would copy/paste this code would get an error.

A comma was added.
1 parent b253ab54
Showing with 1 additions and 1 deletions
...@@ -598,7 +598,7 @@ To move the where conditions from an included model from the `ON` condition to t ...@@ -598,7 +598,7 @@ To move the where conditions from an included model from the `ON` condition to t
User.findAll({ User.findAll({
where: { where: {
'$Instruments.name$': { $iLike: '%ooth%' } '$Instruments.name$': { $iLike: '%ooth%' }
} },
include: [{ include: [{
model: Tool, model: Tool,
as: 'Instruments' as: 'Instruments'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!