Last Sync: 2022-11-19 18:00:05

This commit is contained in:
tactonbishop 2022-11-19 18:00:05 +00:00
parent c6908866dd
commit 6d540b6067

View file

@ -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.