Chapter 3. The Cypher Query Language

In this chapter, we will cover the following recipes:

  • Creating your first node and relationships using Cypher
  • Querying nodes and relationships using Cypher
  • Deleting data from Neo4j using the Cypher query
  • The Boolean operators with Cypher
  • Changing order of result with Cypher
  • Limiting and skipping results with Cypher
  • Regular expression with Cypher
  • Aggregation with Cypher
  • Combining results with Cypher
  • Finding paths in Cypher along with their shortest route

Introduction

Cypher is the most powerful tool in the hands of any graph database developer when it comes to Neo4j. Cypher is the de facto language for querying graphs and came into existence, because the Java API for Neo4j was considered too verbose and that of Gremlin ...

Get Neo4j Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.