mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 23:29:08 +03:00
Minor grammatical fixes to pg_graphql blog post
This commit is contained in:
1 parent
ac72bfd5f4
commit
7fc4f13e01
1 file changed
+3
-3
@@ -54,9 +54,9 @@ By our most conservative estimate, that reduces the platform's memory requiremen
|
||||
|
||||
As a native PostgreSQL extension, `pg_graphl` is written in a combination of C and SQL. Each GraphQL query is parsed, validated, and transpiled to SQL, all within the database.
|
||||
|
||||
Each GraphQL request is resolved by a single SQL statement. That SQL statement aggregates requested data as a JSON document to return to the caller. This approach results blazing fast response times, avoids the [N+1 query problem](https://medium.com/the-marcy-lab-school/what-is-the-n-1-problem-in-graphql-dd4921cb3c1a), and hits the theoretical minimum achievable network IO of any GraphQL to SQL resolver. No special permissions are required for the PostgreSQL role executing queries so `pg_graphql` is fully compatible with your existing [row level security policies](/docs/guides/auth/row-level-security).
|
||||
Each GraphQL request is resolved by a single SQL statement. That SQL statement aggregates requested data as a JSON document to return to the caller. This approach results in blazing fast response times, avoids the [N+1 query problem](https://medium.com/the-marcy-lab-school/what-is-the-n-1-problem-in-graphql-dd4921cb3c1a), and hits the theoretical minimum achievable network IO overhead of any GraphQL to SQL resolver. No special permissions are required for the PostgreSQL role executing queries, so `pg_graphql` is fully compatible with your existing [row level security policies](/docs/guides/auth/row-level-security).
|
||||
|
||||
Embedding the GraphQL server directly in the database enables us leverage PostgreSQL's built-in solutions for common challenges:
|
||||
Embedding the GraphQL server directly in the database allows us to leverage PostgreSQL's built-in solutions for common challenges:
|
||||
|
||||
Caching → `PREPARE STATEMENT`
|
||||
|
||||
@@ -196,4 +196,4 @@ Full steps to reproduce this output are available in [the docs](https://supabase
|
||||
`pg_graphql` is [open source software](https://github.com/supabase/pg_graphql/). As always, Issues and PRs are welcome.
|
||||
|
||||
|
||||
[Try `pg_graphql`](https://supabase.github.io/pg_graphql/quickstart/) today to see a live [GraphiQL](https://graphql-dotnet.github.io/docs/getting-started/graphiql/) demo.
|
||||
[Try `pg_graphql`](https://supabase.github.io/pg_graphql/quickstart/) today to see a live [GraphiQL](https://graphql-dotnet.github.io/docs/getting-started/graphiql/) demo.
|
||||
Reference in new issue
Block a user