MATCH
Describe a data pattern
The MATCH
clause describes a pattern of graph data. Neo4j will collect
all paths within the graph which match this pattern.
This is often used with WHERE
to filter the collection.
MATCH
descibes the structure, and WHERE
specfies the content of a query.
Reference: | MATCH manual page |
---|---|
Related: | :help WHERE :help Cypher |
MATCH (director:Person)-[:DIRECTED]->(movie) WHERE director.name = "Steven Spielberg" RETURN movie.title