Executing Queries
You can use the driver.executeQuery() method to run iFull definition for Cypher (opens in a new tab)Neo4j'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, iFull definition for transaction (opens in a new tab)A unit of work that either succeeds in full or leaves no trace., 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