Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphile-build-pg

Package Overview
Dependencies
Maintainers
1
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphile-build-pg

PostgreSQL plugins for Graphile Build - build a supercharged GraphQL schema by reflection over a PostgreSQL database and executed by Grafast.

  • 5.0.0-0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
33K
decreased by-6.81%
Maintainers
1
Weekly downloads
 
Created
Source

graphile-build-pg

GitHub Sponsors Patreon sponsor button Discord chat room Follow

graphile-build-pg is a collection of graphile-build plugins that extend your GraphQL schema with types and fields based on the tables, views, functions and other resources in your PostgreSQL database.

This is achieved by introspecting your database with pg-introspection and then building @dataplan/pg data sources for these entities. Then our plugins inspect these data sources and create the relevant GraphQL types, fields, and grafast plan resolver functions. The result is a high-performance, powerful, auto-generated but highly flexible GraphQL schema.

If you don't want to use your database introspection results to generate the schema, you can instead build the data sources yourself giving you full control over what goes into your GraphQL API whilst still saving you significant effort versus writing the schema without auto-generation.

graphile-build-pg is a core component of PostGraphile, a library that helps you craft your ideal, incredibly performant, best practices GraphQL API backed primarily by a PostgreSQL database with minimal developer effort.

Crowd-funded open-source software

To help us develop this software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship.

Click here to find out more about sponsors and sponsorship.

And please give some love to our featured sponsors 🤩:

Surge
Surge
*
Netflix
Netflix
*
Qwick
Qwick
*
The Guild
The Guild
*
Chad Furman
Chad Furman
*
Fanatics
Fanatics
*
Dovetail
Dovetail
*
Enzuzo
Enzuzo
*
Stellate
Stellate
*

* Sponsors the entire Graphile suite

About

Thanks to Grafast's query planning capabilities, the plugins in this package do not exhibit the N+1 query problem common in many database-based GraphQL APIs; for all but the flattest GraphQL queries these plugins typically significantly outperform DataLoader-based solutions - and the more complex your GraphQL query becomes the greater the benefit.

Keywords

FAQs

Package last updated on 12 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc