›Scoping Variables
5.1 · Lesson
Scoping Variables
You have already learned how you can specify a variable for a iFull definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. or iFull definition for relationship (opens in a new tab)A named, directed connection between two nodes. Every relationship has a type, a start node and an end node. in a query:
In this query the variable p is used to test each Person node against the value Tom Hanks. The variable m is used to return the movie titles.
Join GraphAcademy to keep learning
Create your account to unlock 80+ hours of hands-on Neo4j courses, track your progress, and earn a certificate when you complete the course.
Sign in or register