O'Reilly logo

Learning Neo4j 3.x - Second Edition by Rik Van Bruggen, Jérôme Baton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Graph overview

This query will give you an overview of your database:

CALL apoc.meta.graph   // This is for versions of Neo4j up to 3.1

Or:

CALL db.schema()   // For version 3.2 and above

The overview is currently rather poor (unlike the Capulet and Montague families):

Overview of our database

As you can see, what we defined as labels are now shown as nodes.

I advise you to add this query as a favorite (by pressing the Star button at the right of the query input zone):

This query is very useful; I added it as a favorite for quicker access even if it is already available in the Favorites tab then Sample Scripts / Common Procedures / Show meta-graph ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required