```const { data, error } = await supabase .from(...
# off-topic
t
Copy code
const { data, error } = await supabase
  .from('countries')
  .select(`
    name,
    cities (
      name
    )
  `)
s
It's querying the countries and then its related cities base on the foreign key inside of the cities table
So it will return
Copy code
json
{
  "name": "The Country Name",
  "cities": [
    { "name": "The Name of City A" },
    { "name": "The Name of City B" },
   ]
}
t
aha! Super useful, thank you!