Skip to main content

export_cypher

Function export_cypher 

Source
pub fn export_cypher<W: Write>(
    gq: &GraphQuery<'_, '_>,
    writer: &mut W,
) -> Result<()>
Expand description

Write Neo4j-compatible Cypher CREATE statements for all nodes and edges.

Produces output like:

CREATE (s:Symbol {id: '...', name: '...', kind: '...', ...});
CREATE (s1)-[:CALLS]->(s2);