Skip to main content

run

Function run 

Source
pub fn run<B: GraphBackend>(backend: &B, query_str: &str) -> Result<Value>
Expand description

Parse and execute a Cypher-inspired query string.

Delegates to sqlitegraph::cypher::parse and sqlitegraph::cypher::execute. Returns a JSON value with {"results": [...], "count": N}.

This function is generic over the GraphBackend trait, allowing it to work with both SQLite and native-v3 backends.