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.
See 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.
See 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.
See 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.
See 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.