Skip to content

Commit 7db0712

Browse files
committed
Improve docs
1 parent 76618b8 commit 7db0712

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/core/src/driver.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,9 @@ class Driver {
398398
*
399399
* This method is a shortcut for a {@link Session#executeRead} and {@link Session#executeWrite}.
400400
*
401-
* NOTE: `CALL {} IN TRANSACTIONS` and `USING PERIODIC COMMIT` are not supported by this method.
401+
* NOTE: Because it is an explicit transaction from the server point of view, Cypher queries using
402+
* "CALL {} IN TRANSACTIONS" or the older "USING PERIODIC COMMIT" construct will not work (call
403+
* {@link Session#run} for these).
402404
*
403405
* @example
404406
* // Run a simple write query

packages/neo4j-driver-deno/lib/core/driver.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,9 @@ class Driver {
398398
*
399399
* This method is a shortcut for a {@link Session#executeRead} and {@link Session#executeWrite}.
400400
*
401-
* NOTE: `CALL {} IN TRANSACTIONS` and `USING PERIODIC COMMIT` are not supported by this method.
401+
* NOTE: Because it is an explicit transaction from the server point of view, Cypher queries using
402+
* "CALL {} IN TRANSACTIONS" or the older "USING PERIODIC COMMIT" construct will not work (call
403+
* {@link Session#run} for these).
402404
*
403405
* @example
404406
* // Run a simple write query

0 commit comments

Comments
 (0)