Skip to main content

Sandbox

Test out several pre-made example queries below to gain hands-on exposure to accessing documents by relations, filtering and ordering by fields, and combining query logic.

For a deeper dive into querying, visit the queries page.

Data Models


The schema definitions that this sandbox uses are outlined in this repository. The sandbox has been pre-populated with data corresponding to several fictionary people.

Instructions

To interact with the ComposeDB Sandbox, simply press the pink play icon to execute the pre-written queries in the left-hand side of the embedded GraphiQL IDE. Results returned from your query will populate in the right-hand side of the interface.

You can also alter your query logic however you see fit, or build your own queries entirely from scratch based on the schema definitions.

Please note that this sandbox only processes read requests.

Reading Profiles


Use the example queries below to access data related to the BasicProfile model:

loading...


Reading Posts


Use the example queries below to access data related to the Posts model:

loading...


Reading Comments


Use the example queries below to access data related to the Comments model:

loading...


Next Steps


To begin building with ComposeDB in your local environment using the same data models you just queried, get started Setting Up Your Environment.