How pg_graphql works
Deep dive 9 min +90 XP
pg_graphql is a Rust-based Postgres extension that reflects the SQL schema as a GraphQL schema and serves queries through a `graphql.resolve` SQL function, with no separate server.
pg_graphql is a Rust-based Postgres extension that reflects the SQL schema as a GraphQL schema and serves queries through a `graphql.resolve` SQL function, with no separate server.
A Postgres language server's parser builds on libpg_query rather than a custom grammar, and has to work around two gaps in it.