Inspecting SQL queries
|
This is the public preview documentation of Neo4j Virtual Graph. To provide feedback, please use the feedback form you were granted access to. During the public preview, we advise you not to use sensitive or production data with Virtual Graph. |
Each Cypher® query against a Virtual Graph is translated to SQL under the hood.
If you are interested in the translation details, it is possible to inspect the generated SQL by running the Cypher query with the EXPLAIN clause:
EXPLAIN MATCH (a:Person)-[r:ACTED_IN]->(m:Movie)
RETURN a
ORDER BY m.title
LIMIT 10
Figure 1. Query plan revealing a generated SQL query
|
To access the table view, use View as text at the top right. |