pub fn run_query(
db_dir: &Path,
cypher: &str,
role: Option<&str>,
namespace: Option<&str>,
) -> Result<String, CliError>Expand description
Run a Cypher read or write and print columns/rows like run_asof.
role answers as one of the store’s roles and namespace from one
namespace; together they intersect, so a role bound to one namespace
never sees another and naming a namespace outside its binding answers with
nothing. Either one makes the query a read: a restricted write is refused.