Database Reference
In-Depth Information
Figure 6.2. The Neo4j Shell ready to accept commands
Note
Make sure you have read permissions to the Neo4j data directory when starting the shell.
CypherisnativelysupportedbyNeo4jShell,soyoudon'tneedanyspecialcommands;just
type the Cypher query in the console and press Enter. The results are returned in tabular
format, very similar to the output of SQL queries run against a relational database.
Figure
6.3
illustrates the output of a Cypher query that finds all movies that a particular user has
seen.
Figure 6.3. Cypher is executed in the Neo4j Shell natively, resulting in tabular output.