[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10321":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":35,"discoverSource":36},10321,"pg_graphql","supabase\u002Fpg_graphql","supabase","GraphQL support for PostgreSQL ","https:\u002F\u002Fsupabase.github.io\u002Fpg_graphql",null,"Rust",3338,133,44,45,0,6,23,2,63.68,"Apache License 2.0",false,"master",true,[26,27,28,29,30,31],"api","graphql","graphql-server","postgres","postgresql","sql","2026-06-12 04:00:49","# `pg_graphql`\n\n\u003Cp>\n\u003Ca href=\"\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpostgresql-14+-blue.svg\" alt=\"PostgreSQL version\" height=\"18\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsupabase\u002Fpg_graphql\u002Fblob\u002Fmaster\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fl\u002Fmarkdown-subtemplate.svg\" alt=\"License\" height=\"18\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsupabase\u002Fpg_graphql\u002Factions\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fsupabase\u002Fpg_graphql\u002Factions\u002Fworkflows\u002Ftest.yml\u002Fbadge.svg\" alt=\"tests\" height=\"18\">\u003C\u002Fa>\n\n\u003C\u002Fp>\n\n---\n\n**Documentation**: \u003Ca href=\"https:\u002F\u002Fsupabase.github.io\u002Fpg_graphql\" target=\"_blank\">https:\u002F\u002Fsupabase.github.io\u002Fpg_graphql\u003C\u002Fa>\n\n**Source Code**: \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsupabase\u002Fpg_graphql\" target=\"_blank\">https:\u002F\u002Fgithub.com\u002Fsupabase\u002Fpg_graphql\u003C\u002Fa>\n\n---\n\n`pg_graphql` adds GraphQL support to your PostgreSQL database.\n\n- [x] __Performant__\n- [x] __Consistent__\n- [x] __Serverless__\n- [x] __Open Source__\n\n### Overview\n`pg_graphql` reflects a GraphQL schema from the existing SQL schema.\n\nThe 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.\n\n\n### TL;DR\n\nThe SQL schema\n\n```sql\ncreate table account(\n    id serial primary key,\n    email varchar(255) not null,\n    created_at timestamp not null,\n    updated_at timestamp not null\n);\n\ncreate table blog(\n    id serial primary key,\n    owner_id integer not null references account(id),\n    name varchar(255) not null,\n    description varchar(255),\n    created_at timestamp not null,\n    updated_at timestamp not null\n);\n\ncreate type blog_post_status as enum ('PENDING', 'RELEASED');\n\ncreate table blog_post(\n    id uuid not null default uuid_generate_v4() primary key,\n    blog_id integer not null references blog(id),\n    title varchar(255) not null,\n    body varchar(10000),\n    status blog_post_status not null,\n    created_at timestamp not null,\n    updated_at timestamp not null\n);\n\n-- This enables default inflection, which automatically renames\n-- snake_case to PascalCase for type names, and snake_case to camelCase for field names.\n-- See https:\u002F\u002Fsupabase.github.io\u002Fpg_graphql\u002Fconfiguration\u002F#inflection for more details.\nCOMMENT ON SCHEMA public IS e'@graphql({\"inflect_names\": true})';\n```\nTranslates into a GraphQL schema displayed below.\n\nEach 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.\n\n![GraphiQL](.\u002Fdocs\u002Fassets\u002Fquickstart_graphiql.png)\n\n### Contributing\n\nPlease refer to the [contributing docs](.\u002Fdocs\u002Fcontributing.md) for more information.\n","`pg_graphql` 是一个为 PostgreSQL 数据库添加 GraphQL 支持的扩展。它能够将现有的 SQL 模式自动转换为 GraphQL 模式，使任何可以连接到 PostgreSQL 的编程语言都能够通过 GraphQL 查询数据库，而无需额外的服务器、进程或库。项目采用 Rust 语言编写，具有高性能、一致性以及无服务器架构的特点，并且是开源的。适用于需要快速集成 GraphQL 功能的 PostgreSQL 应用场景，特别是在追求简化后端服务架构和提高开发效率的情况下。","2026-06-11 03:27:47","top_topic"]