# solidsnack/GraphpostgresQL

GraphQL for Postgres

Repository: https://github.com/solidsnack/GraphpostgresQL
Canonical: https://ross.abutalabs.com/products/graphpostgresql
Language: PLpgSQL
License: NOASSERTION
License Family: other
Last push: 2017-03-30T07:27:46+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4191, "days_push": 3443, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1086, forks 28 (observed 2026-08-28T04:03:32.072317+00:00)

## What it is
GraphpostgresQL is a PL/pgSQL library that provides a GraphQL-like query interface to relational data in PostgreSQL. It uses table introspection to follow foreign keys and query complex datatypes like json, jsonb, and hstore, translating GraphQL-style queries into SQL.

## Use cases
- query postgres database with graphql syntax
- generate sql from graphql-like queries
- traverse foreign key relationships via graph-style queries
- introspect database schema to build nested queries
- query json and jsonb columns through a graphql interface

## When to choose
- you want to experiment with a GraphQL interface directly inside PostgreSQL without external services
- you need a pure-SQL, dependency-free way to translate GraphQL-style queries to SQL
- you want to study how table introspection can drive query generation

## When to avoid
- you need production-grade performance or reliability - it is explicitly alpha quality
- you need maintained software with active support - the last release was in 2017
- you need full GraphQL spec compliance, subscriptions, or stored persisted queries
- you use a database other than PostgreSQL

## Facets
- artifact type: library
- maturity: abandoned
- function: graphql, database, parser, serialization
- domain: databases, apis, web-development, developer-tools
- platform: -
- tags: postgresql, plpgsql, graphql-to-sql, table-introspection, proof-of-concept, alpha-quality, postgres, sql, server-side

## Member repositories
- solidsnack/GraphpostgresQL (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.072317+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:37.297801+00:00, confidence not recorded.
  - readme: https://github.com/solidsnack/GraphpostgresQL (fetched 2026-08-28T04:03:32.072317+00:00, sha 9d70ffb62ad2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
