Legend
Read |
Write |
General |
Functions |
Schema |
Performance |
Syntax
| Read Query Structure |
|---|
[MATCH WHERE] [OPTIONAL MATCH WHERE] [WITH [ORDER BY] [SKIP] [LIMIT]] RETURN [ORDER BY] [SKIP] [LIMIT] |
| Write-Only Query Structure |
|---|
(CREATE [UNIQUE] | MERGE)* [SET|DELETE|REMOVE|FOREACH]* [RETURN [ORDER BY] [SKIP] [LIMIT]] |
| Read-Write Query Structure |
|---|
[MATCH WHERE] [OPTIONAL MATCH WHERE] [WITH [ORDER BY] [SKIP] [LIMIT]] (CREATE [UNIQUE] | MERGE)* [SET|DELETE|REMOVE|FOREACH]* [RETURN [ORDER BY] [SKIP] [LIMIT]] |
| Labels |
|---|
CREATE (n:Person {name: $value})Create a node with label and property. |
MERGE (n:Person {name: $value})Matches or creates unique node(s) with the label and property. |
SET n:Spouse:Parent:Employee Add label(s) to a node. |
MATCH (n:Person) Matches nodes labeled |
MATCH (n:Person) WHERE n.name = $value Matches nodes labeled |
WHERE (n:Person) Checks the existence of the label on the node. |
labels(n) Labels of the node. |
REMOVE n:Person Remove the label from the node. |
| Performance |
|---|
|