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 2a02ad67
authored
Oct 26, 2015
by
Samuel Beek
Committed by
Jan Aagaard Meier
Oct 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change wrong comment in project.getTasks() example
1 parent
b4388b34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
docs/docs/associations.md
docs/docs/associations.md
View file @
2a02ad6
...
...
@@ -399,9 +399,8 @@ project.getTasks({ where: 'id > 10' }).then(function(tasks) {
})
// You can also only retrieve certain fields of a associated object.
// This example will retrieve the attributes "title" and "id"
project
.
getTasks
({
attributes
:
[
'title'
]}).
then
(
function
(
tasks
)
{
// tasks with an id greater than 10 :)
// retrieve tasks with the attributes "title" and "id"
})
```
...
...
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