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

More that you need to know

I would definitely have started this paragraph with One more thing; but there is more than one. Here are a few points I would have liked to know when I started using Cypher.

When a syntax error arises, as it happens to the best of us, sometimes the error message can be improved:

  • Check whether all nodes are closed; it's easy to miss a closing parenthesis just after a closing curly bracket
  • The semicolon before the name of a relation is mandatory (so far, I'm lobbying against this)

Check what you return, because the graph view in the browser will show you a view of your results. This is why you get relations when you only return a few nodes. The neighbors (nodes connected) are displayed up to the maximum count of ...

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