GRAPH.RO_QUERY
Syntax
GRAPH.RO_QUERY graph query [TIMEOUTÂ timeout]
- Available in:
- Redis Stack / Graph 2.2.8
- Time complexity:
Executes a given read only query against a specified graph.
Arguments: Graph name, Query, Timeout [optional]
Returns: Result set for a read only query or an error if a write query was given.
GRAPH.RO_QUERY us_government "MATCH (p:president)-[:born]->(:state {name:'Hawaii'}) RETURN p"
Query-level timeouts can be set as described in the configuration section.