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 Person.
MATCH (n:Person)
WHERE n.name = $value
Matches nodes labeled Person with the given name.
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.
Comments