Creating Data with Cypher CREATE
Learn to use the CREATE clause to add new nodes and relationships to your Neo4j graph database.
Welcome to Cypher CREATE!
In this lesson, you'll learn how to add new data to your Neo4j graph database using the CREATE clause in Cypher, the query language for Neo4j.
We'll cover creating individual nodes, adding properties, and defining relationships between them. Let's get started!
Creating Your First Node
The simplest way to add a node is with CREATE followed by parentheses (). Inside the parentheses, you can give your node a variable name (like n) for later reference in the same query.
Try running this basic example:
CREATE (n)All lessons in this course
- Nodes, Relationships, and Properties
- Creating Data with Cypher CREATE
- Matching Patterns with Cypher MATCH
- Returning and Shaping Results with RETURN