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

Commit 6a13700e by Mick Hansen

Merge pull request #4434 from wKich/patch-1

Update models-usage.md
2 parents b682a273 584c3288
Showing with 1 additions and 1 deletions
......@@ -326,7 +326,7 @@ Sometimes you might be expecting a massive dataset that you just want to display
// Are you expecting a massive dataset from the DB,
// and don't want to spend the time building DAOs for each entry?
// You can pass an extra query option to get the raw data instead:
Project.findAll({ where: ... }, { raw: true })
Project.findAll({ where: { ... }, raw: true })
```
### count - Count the occurences of elements in the database
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!