Cypher clauses overview
The Cypher language enables users to perform standard database operations by using the following clauses:
CALL
- calls a subquery inside the queryCREATE
- creates new nodes and relationshipsDELETE
- deletes nodes and relationshipsEXPLAIN
-LOAD CSV
- loads data from CSV fileMATCH
- searches for patternsMERGE
- creates patterns if they don't existOPTIONAL MATCH
- behaves the same asMATCH
, but when it fails to find the pattern it fills missing parts of the pattern with null valuesPROFILE
-REMOVE
- removes labels and propertiesRETURN
- defines what will be presented to the user in the result setSET
- adds new or updates existing labels and propertiesUNION
andUNION ALL
- combines results from multiple queriesUNWIND
- unwinds a list of values as individual rowsWHERE
- filters the matched dataWITH
- combines multiple reads and writes