pg_graphqlPostgreSQL 的 GraphQL 支持
pg_graphql 支持使用 GraphQL 查询现有的 PostgreSQL 数据库,提供了 SQL 模式 -> GraphQL 模式反射引擎和关联的 GraphQL 查询 -> SQL 查询转译器,任何可以连接到 PostgreSQL 的编程语言都可以通过 GraphQL 查询数据库,而无需额外的服务器、进程或库。
SQL 架构
create table account( id serial primary key, email varchar(255) not null, encrypted_password 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 );
转换为 GraphQL 模式,将每个表公开为一个可分页的集合,其关系由外键定义。
评论
notadd-cli为 @nestjs/graphql 生成 graphql 的工具
功能特点纯Typescript生成,无需维护graphql文件无依赖TODO 支持同时生成proto文件(grpc用) 支持webapck打包发布@notadd/cliasimpletooltogen
notadd-cli为 @nestjs/graphql 生成 graphql 的工具
0
notadd-cli为 @nestjs/graphql 生成 graphql 的工具
功能特点纯 Typescript 生成,无需维护 graphql 文件无依赖TODO 支持同时生成
notadd-cli为 @nestjs/graphql 生成 graphql 的工具
0
GraphQL Tools快速开发 GraphQL
GraphQLTools是一套用于快速开发GraphQLSchemas的实用工具。GraphQLTools是一组NPM包和一个关于如何在JavaScript中构建GraphQL模式和解析器的结构,遵循
GraphQL Tools快速开发 GraphQL
0
GraphQL Tools快速开发 GraphQL
GraphQL Tools 是一套用于快速开发 GraphQL Schemas 的实用工具。Grap
GraphQL Tools快速开发 GraphQL
0
GraphQL RubyGraphQL 的 Ruby 实现
GraphQL Ruby 是 GraphQL 的一个 Ruby 实现。WebsiteAPI Docu
GraphQL RubyGraphQL 的 Ruby 实现
0
gqlengineGo 语言的 GraphQL 解决方案
gqlengine是一个GraphQLgolang解决方案(服务端框架),基于 graphql-go,但无需繁杂的配置语句,也无需二次编辑 schema和resolver(两次编写业务代码),仅通过g
gqlengineGo 语言的 GraphQL 解决方案
0
GraphQL RubyGraphQL 的 Ruby 实现
GraphQLRuby是GraphQL的一个Ruby实现。WebsiteAPIDocumentationNewsletter安装:#Gemfilegem'graphql'$bundleinstall旨
GraphQL RubyGraphQL 的 Ruby 实现
0
Python GraphenePython 的 GraphQL 框架
Graphene是Python的GraphQL框架,用于快速轻松构建GraphQLschemas/types。支持多种数据源,包括SQL(Django、SQLAlchemy)、NoSQL、自定义Pyt
Python GraphenePython 的 GraphQL 框架
0