Skip to main content
Version: v2.x

Data Federation Types

Hasura GraphQL engine supports the following remote relationships across your various data sources:

Database to database relationships

To join data across tables between two different database sources, such as order information stored in a Postgres database, and user information stored in a separate Postgres or say a SQL Server database. Database to database relationships

Database to Remote Schema relationships

To join data across tables and remote GraphQL APIs. For example, you can join customer data from your tables with account data from Stripe, Spotify, or Auth0 via their GraphQL APIs. Database to Remote Schema relationships

Remote Schema to database relationships

To join data from remote GraphQL schemas to database tables. For example connecting account data from Stripe, Spotify or Auth0 GraphQL APIs to customer data in your tables. Remote Schema to database relationships:

Remote Schema to Remote Schema relationships (a.k.a GraphQL joins

To join data between two remote GraphQL schemas. For example connecting customer data from your custom GraphQL API to account data from Stripe, Spotify or Auth0 GraphQL APIs. Remote Schema to Remote Schema relationships (a.k.a GraphQL joins)

Action to database relationships

To join data across tables and actions (i.e. Rest APIs). For example, you can join user data from your database with the response from a createUser action. Action to database relationships