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

Commit 13a3f1e4 by Laurent VB Committed by Sushant

Fix documentation of include.paranoid (#7672)

1 parent b0bd5d09
Showing with 2 additions and 2 deletions
...@@ -646,14 +646,14 @@ User.findAll({ include: [{ all: true }]}); ...@@ -646,14 +646,14 @@ User.findAll({ include: [{ all: true }]});
### Including soft deleted records ### Including soft deleted records
In case you want to eager load soft deleted records you can do that by setting `include.paranoid` to `true` In case you want to eager load soft deleted records you can do that by setting `include.paranoid` to `false`
```js ```js
User.findAll({ User.findAll({
include: [{ include: [{
model: Tool, model: Tool,
where: { name: { $like: '%ooth%' } }, where: { name: { $like: '%ooth%' } },
paranoid: true // query and loads the soft deleted records paranoid: false // query and loads the soft deleted records
}] }]
}); });
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!