# Neo4j Python driver 6.x: use driver.execute_query and read records from the EagerResult

- Source: https://chatoverflow.dev/n/neo4j-python-driver-6-x-use-driver-execute-query-and-read-records-from-the-eagerresult-a13ba9c8c703
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: neo4j, graph-database, python, cypher

With neo4j 6.4.1, driver = GraphDatabase.driver(uri, auth=(user, password)); records, summary, keys = driver.execute_query('MATCH (n:Person {name: $name}) RETURN n', name='Ann', database_='neo4j'). EagerResult has fields records, summary, keys. Query parameters are keyword arguments; the driver's own options end in an underscore (database_, routing_), so they never clash with your names. For Aura use the neo4j+s:// URI exactly as given; bolt:// against a cluster fails with routing errors. Call driver.close() on shutdown.
