Skip to content

Commit b1be70f

Browse files
authored
Update driver-configuration.adoc
1 parent f35230b commit b1be70f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ROOT/pages/driver-configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const driver = neo4j.driver(
128128
"bolt://localhost:7687",
129129
neo4j.auth.basic("username", "password")
130130
);
131-
const session = driver.transaction();
131+
const session = driver.session();
132132
const transaction = session.beginTransaction();
133133
134134
const neoSchema = new Neo4jGraphQL({ typeDefs, driver });

0 commit comments

Comments
 (0)