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

Commit 7f0b9d78 by syldor

indentation

1 parent 2a1ca0c6
Showing with 7 additions and 6 deletions
...@@ -538,16 +538,17 @@ This will produce an outer join. However, a `where` clause on a related model wi ...@@ -538,16 +538,17 @@ This will produce an outer join. However, a `where` clause on a related model wi
```js ```js
User.findAll({ User.findAll({
include: [ include: [{
{model: Tool, as: 'Instruments', include: [ model: Tool,
{ as: 'Instruments',
include: [{
model: Teacher, model: Teacher,
where: { where: {
school: "Woodstock Music School" school: "Woodstock Music School"
}, },
required: false} required: false
]} }]
] }]
}).then(function(users) { }).then(function(users) {
/* ... */ /* ... */
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!