# Supabase — How pg_graphql works

- Company: Supabase (supabase.com)
- Announced: 2024-01-24
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://supabase.com/blog/how-pg-graphql-works
- Record: https://forck.live/items/21452-how-pg-graphql-works
- Subject: Supabase

Supabase published a technical article explaining the internal workings of pg_graphql, the Postgres extension that powers its GraphQL API. The post covers how a GraphQL query is parsed and processed, from tokenization through AST generation, using the graphql-parser crate in Rust.

## Evidence

Verbatim from https://supabase.com/blog/how-pg-graphql-works:

> pg_graphql is a Postgres extension that reads the SQL schema in a database and exposes it as a GraphQL schema. The GraphQL interface is made available through a SQL function graphql.resolve(...) which allows any programming language to use GraphQL without any additional servers, processes, or libraries.

---

Record: https://forck.live/items/21452-how-pg-graphql-works
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
