Joining Postgres Data with FaunaDB Serverless using Hasura Remote Joins
This article discusses how to join data from a Postgres database with serverless data in FaunaDB using Hasura Remote Joins. It explains that Data Federation using Hasura Remote Joins is now available starting from the v1.3 beta release. The author demonstrates an example of joining a schema in FaunaDB with existing data in Hasura, assuming there is a users table in Hasura with columns id and name. The process involves creating a GraphQL Schema in FaunaDB, inserting sample data, obtaining an access key, adding FaunaDB as a Remote Schema in the Hasura Console, and setting up relationships between tables. Finally, it provides a GraphQL query to fetch this data in a single API call.
Company
Hasura
Date published
Aug. 7, 2019
Author(s)
Praveen Durairaju
Word count
621
Language
English
Hacker News points
None found.