name
and continent
. For example, we will fetch the details of “Bahrain” from the “Asia” continent.
Variables
Go to the variables section and define the variable.Using the variable in the query
Now create a querygetCountries
with variables as shown below: