Skip to content

Commit

Permalink
Merge pull request join-monster#277 from Cactucs/patch-1
Browse files Browse the repository at this point in the history
docs: fix where docs
  • Loading branch information
Andy authored Jul 4, 2018
2 parents a99ddee + fd2c0a4 commit 86b4e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/where.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const QueryRoot = new GraphQLObjectType({
## Adding Context

Most often, we'll be asking for the *logged-in* user.
The `joinMonster` function has a second parameter which is basically an arbitrary object with useful contextual information that your `where` functions might depend on.
The `joinMonster` function has a third parameter which is basically an arbitrary object with useful contextual information that your `where` functions might depend on.
For example, you can pass in the ID of the logged in user to incorporate it into the `WHERE` condition.

```javascript
Expand Down

0 comments on commit 86b4e9d

Please sign in to comment.