December 2022
Intermediate to advanced
332 pages
6h 35m
English
In the last chapter, we looked at basic querying using Cypher. In this chapter, we will take it a step further by discussing adding filtering, sorting, and aggregations to the querying. We will cover these aspects in this chapter:
We will start by filtering the data in queries.
In Cypher, filtering starts with the usage of node labels and relationship types. Let us take a look at a query where we do not apply any filters in Cypher:
MATCH p=()—-() RETURN p
This query returns all paths where any nodes are ...