Build and Deploy a GraphQL API to the Edge with MySQL and PlanetScale — Part 8
Now let's finish by implementing our final query that will be used to fetch all products from our database.
Inside the grafbase/grafbase.config.ts file you should add the following query definition:
g.query('products', {
resolver: 'products/all',
...
grafbase.hashnode.dev1 min read