dehaze

Multiple Queries

With Space Cloud, you can make multiple queries even to different databases in a single request. If multiple queries are part of the same request, they get executed in parallel, and the individual responses are collated and returned.

Note: This is only a GraphQL feature and not available in any client SDKs.

Example: Fetch list of trainers (from PostgreSQL) and pokemons (from MongoDB):

query {
  trainers @postgres {
    id
    name
  }
  pokemons @mongo {
    name
    type
  }
}

Have a technical question?

Improve the docs!