Content Deep Dive
Join data from a Database with GraphQL API using Database to Remote Schema Joins
Blog post from Hasura
Post Details
Company
Date Published
Author
Catalin Pit
Word Count
522
Language
English
Hacker News Points
-
Summary
This article discusses how to use Database-to-Remote Schema (DB-to-RS) Joins in GraphQL API. DB-to-RS Joins allow connecting data from an existing database with an external GraphQL service by creating a relationship between a field in the database and a field in the external GraphQL service. An example is provided where Hasura, a remote schema, is connected to a fulfillment service, another GraphQL API. The connection is established without altering the external GraphQL API or writing any code.