›Executing Queries
1.3 · Lesson
Executing Queries
You can use the driver.executeQuery() method to run CypherNeo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it. statements against the database.
The method automatically handles sessions, transactions, and retries for you.
By default, driver.executeQuery() runs in WRITE mode.
In a clustered environment, this sends all queries to the cluster leader.
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