Last Sync: 2022-11-19 18:00:05
This commit is contained in:
parent
c6908866dd
commit
6d540b6067
1 changed files with 3 additions and 1 deletions
|
@ -281,4 +281,6 @@ const { loading, error, data } = useQuery(GET_TRACK, {
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that in contrast to the [simple example](/Databases/GraphQL/Apollo/Apollo_Client.md#query-constants)
|
Note that in contrast to the [simple example](/Databases/GraphQL/Apollo/Apollo_Client.md#query-constants) because we are using variables, we have to pass-in an additional object with the query constant that specifies our variables.
|
||||||
|
|
||||||
|
// TODO: Find examples of using more than one variable.
|
||||||
|
|
Loading…
Add table
Reference in a new issue