Cedalio
Search
K

Execute Operations

Users have two places where operations can be executed:
  1. 1.
    Project Deployments: Once you have deployed your database, you can access the Project Deployments tab. From there, you can click on the provided link to launch the explorer. This allows you to execute operations directly from the explorer interface.
  1. 2.
    GraphQL API: you can also use the GraphQL API for executing operations programmatically. To utilize this method, you will need a valid JWT for authentication. By including the JWT in your API requests, you can interact with the GraphQL API and execute operations.
Here are some examples of operations that users can execute on the example schema.

Create a new ToDo Item

mutation {
todoCreate(input:{
title:"First Todo"
description:"Todo Description"
priority:1
tags:["productivity"]
status:READY
}){
todo{
id
title
}
}
}

Fetch all ToDo's

query{
todoCollection(first:100){
edges{
node{
id
title
}
}
}
}