Skip to content

Commit

Permalink
Fix a typo in sql example
Browse files Browse the repository at this point in the history
I think todo is referenced to user by user_id field, not by todo.id
  • Loading branch information
wtask authored Feb 27, 2020
1 parent b788cce commit f0ebc0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/reference/dataloaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ work with whatever your favourite ORM is.

The query executor will call the Query.Todos resolver which does a `select * from todo` and
return N todos. Then for each of the todos, concurrently, call the Todo_user resolver,
`SELECT from USER where id = todo.id`.
`SELECT from USER where id = todo.user_id`.


eg:
Expand Down

0 comments on commit f0ebc0d

Please sign in to comment.