Key operative words in Cypher
Like every database query language, there are a few operative words that have an important meaning in the composition of every query. It's useful for you to know these since you will be using them to compose your specific queries on your specific datasets.
Keyword |
Function |
Example |
---|---|---|
|
This describes a pattern that the database should match. This is probably the most important piece of the query as it is a structural component that always starts your queries. |
|
|
This filters results that are found in the match for specific criteria. |
|
|
This returns results. You can either return paths, nodes, relationships, or their properties—or an aggregate of the mentioned parameters. This is another structural component, as all read queries and most write queries will return some data. |
|
|
This... |