This crate provides waSCC actors with an API they can use to interact with a graph database. The exact implementation of the graph database (Neo4j, RedisGraph, etc) is immaterial to the actor developer using this API.
The following illustrates an example of consuming the graph guest API:
```
// Execute a Cypher query to add data
fn createdata() -> HandlerResult
Ok(codec::http::Response::ok())
}
// Execute a Cypher query to return data values
fn querydata() -> HandlerResult
let result = json!({
"name": name,
"birth_year": birth_year
});
Ok(codec::http::Response::json(result, 200, "OK"))
} ```