GRAPH.EXPLAIN

Syntax
GRAPH.EXPLAIN graph query
Available in:
Redis Stack / Graph 2.0.0
Time complexity:

Constructs a query execution plan but does not run it. Inspect this execution plan to better understand how your query will get executed.

Arguments: Graph name, Query

Returns: String representation of a query execution plan

GRAPH.EXPLAIN us_government "MATCH (p:President)-[:BORN]->(h:State {name:'Hawaii'}) RETURN p"
Rate this page