Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 6a13700e
authored
Sep 04, 2015
by
Mick Hansen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4434 from wKich/patch-1
Update models-usage.md
2 parents
b682a273
584c3288
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
docs/docs/models-usage.md
docs/docs/models-usage.md
View file @
6a13700
...
@@ -326,7 +326,7 @@ Sometimes you might be expecting a massive dataset that you just want to display
...
@@ -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,
// Are you expecting a massive dataset from the DB,
// and don't want to spend the time building DAOs for each entry?
// 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:
// 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
### count - Count the occurences of elements in the database
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment