Database Reference
In-Depth Information
Read-only Cypher queries
In the previous section, we have discussed the heart of Cypher, that is, patterns and pattern
matching, and in this section, we will discuss one of the most important aspects of Neo4j,
that is, read-only Cypher queries.
Read-only Cypher queries are not only the core component of Cypher but also help us in
exploring and leveraging various patterns and pattern matching constructs. It either begins
with MATCH , OPTIONAL MATCH , or START , which can be used in conjunction with the
WHERE clause and further followed by WITH and ends with RETURN . Constructs such as
ORDER BY , SKIP , and LIMIT can also be used with WITH and RETURN .
We will discuss in detail about read-only constructs, but before that, let's create a sample
dataset and then we will discuss constructs/syntax of read-only Cypher queries with illus-
tration.
Search WWH ::




Custom Search