pg_graphql is a PostgreSQL extension that enables querying the database with GraphQL using a single a SQL function. The extension reflects a GraphQL schema from the existing SQL schema and exposes it through a SQL function, graphql. resolve(...). This enables any programming language that can connect to PostgreSQL to query the database via GraphQL with no additional servers, processes, or libraries. Each table receives an entry point in the top-level Query type that is a pageable collection with relationships defined by its foreign keys. Tables similarly receive entry points in the Mutation type that enable bulk operations for insert, update, and delete.

Features

  • Translates into a GraphQL schema
  • The SQL schema
  • pg_graphql reflects a GraphQL schema from the existing SQL schema
  • pg_graphql adds GraphQL support to your PostgreSQL database
  • The extension keeps schema translation and query resolution neatly contained on your database server
  • Each table receives an entrypoint in the top level Query type that is a pageable collection with relationships defined by its foreign keys

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow pg_graphql

pg_graphql Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pg_graphql!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Software Development Software

Registered

2023-03-01