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

Commit 2a02ad67 by Samuel Beek Committed by Jan Aagaard Meier

Change wrong comment in project.getTasks() example

1 parent b4388b34
Showing with 1 additions and 2 deletions
...@@ -399,9 +399,8 @@ project.getTasks({ where: 'id > 10' }).then(function(tasks) { ...@@ -399,9 +399,8 @@ project.getTasks({ where: 'id > 10' }).then(function(tasks) {
}) })
   
// You can also only retrieve certain fields of a associated object. // 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) { project.getTasks({attributes: ['title']}).then(function(tasks) {
// tasks with an id greater than 10 :) // retrieve tasks with the attributes "title" and "id"
}) })
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!