supabase/pg_graphql
supabase/pg_graphql has 3,365 GitHub stars and 143 forks. GitHot measured 0 stars in 24 hours and +2 in 7 days. Last checked 2026-11-11 17:09 UTC. Last push 2026-10-30.
PostgreSQL 的 GraphQL 支持
实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文pg_graphql
Documentation: https://supabase.github.io/pg_graphql
Source Code: https://github.com/supabase/pg_graphql
pg_graphql adds GraphQL support to your PostgreSQL database.
- Performant
- Consistent
- Serverless
- Open Source
Overview
pg_graphql reflects a GraphQL schema from the existing SQL schema.
The extension keeps schema translation and query resolution neatly contained on your database server. This enables any programming language that can connect to PostgreSQL to query the database via GraphQL with no additional servers, processes, or libraries.
TL;DR
The SQL schema
create table account(
id serial primary key,
email varchar(255) not null,
created_at timestamp not null,
updated_at timestamp not null
);
create table blog(
id serial primary key,
owner_id integer not null references account(id),
name varchar(255) not null,
description varchar(255),
created_at timestamp not null,
updated_at timestamp not null
);
create type blog_post_status as enum ('PENDING', 'RELEASED');
create table blog_post(
id uuid not null default uuid_generate_v4() primary key,
blog_id integer not null references blog(id),
title varchar(255) not null,
body varchar(10000),
status blog_post_status not null,
created_at timestamp not null,
updated_at timestamp not null
);
-- This enables default inflection, which automatically renames
-- snake_case to PascalCase for type names, and snake_case to camelCase for field names.
-- See https://supabase.github.io/pg_graphql/configuration/#inflection for more details.
COMMENT ON SCHEMA public IS e'@graphql({"inflect_names": true})';
Translates into a GraphQL schema displayed below.
Each table receives an entrypoint in the top level Query type that is a pageable collection with relationships defined by its foreign keys. Tables similarly receive entrypoints in the Mutation schema that enable bulk operations for insert, update, and delete.

Contributing
Please refer to the contributing docs for more information.
探索相关项目
Asabeneh/30-Days-Of-Python
30 Days of Python 编程挑战是一份循序渐进的指南,用于在 30 天内学习 Python 编程语言。这项挑战可能需要超过 100 天。请按自己的节奏进行。这些视频或许也有帮助:https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 星标grafana/grafana
开放且可组合的可观测性与数据可视化平台。可对来自 Prometheus、Loki、Elasticsearch、InfluxDB、Postgres 等众多数据源的指标、日志和追踪进行可视化。
77,830 星标redis/redis
对于正在构建实时数据驱动应用的开发者而言,Redis 是首选、速度最快且功能最丰富的缓存、数据结构服务器和文档与向量查询引擎。
77,395 星标apache/superset
Apache Superset 是一个数据可视化与数据探索平台
75,473 星标