@@ -351,7 +351,7 @@ class Session {
351
351
/**
352
352
* Return the bookmarks received following the last completed {@link Transaction}.
353
353
*
354
- * @deprecated This method will be removed in version 6.0. Please, use Session#lastBookmarks instead.
354
+ * @deprecated This method will be removed in version 6.0. Please, use { @link Session#lastBookmarks} instead.
355
355
*
356
356
* @return {string[] } A reference to a previous transaction.
357
357
* @see {@link Session#lastBookmarks }
@@ -385,7 +385,7 @@ class Session {
385
385
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
386
386
* `maxTransactionRetryTime` property in milliseconds.
387
387
*
388
- * @deprecated This method will be removed in version 6.0. Please, use Session#executeRead instead.
388
+ * @deprecated This method will be removed in version 6.0. Please, use { @link Session#executeRead} instead.
389
389
*
390
390
* @param {function(tx: Transaction): Promise } transactionWork - Callback that executes operations against
391
391
* a given {@link Transaction}.
@@ -410,7 +410,7 @@ class Session {
410
410
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
411
411
* `maxTransactionRetryTime` property in milliseconds.
412
412
*
413
- * @deprecated This method will be removed in version 6.0. Please, use Session#executeWrite instead.
413
+ * @deprecated This method will be removed in version 6.0. Please, use { @link Session#executeWrite} instead.
414
414
*
415
415
* @param {function(tx: Transaction): Promise } transactionWork - Callback that executes operations against
416
416
* a given {@link Transaction}.
@@ -446,6 +446,10 @@ class Session {
446
446
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
447
447
* `maxTransactionRetryTime` property in milliseconds.
448
448
*
449
+ * NOTE: Because it is an explicit transaction from the server point of view, Cypher queries using
450
+ * "CALL {} IN TRANSACTIONS" or the older "USING PERIODIC COMMIT" construct will not work (call
451
+ * {@link Session#run} for these).
452
+ *
449
453
* @param {function(tx: ManagedTransaction): Promise } transactionWork - Callback that executes operations against
450
454
* a given {@link Transaction}.
451
455
* @param {TransactionConfig } [transactionConfig] - Configuration for all transactions started to execute the unit of work.
@@ -468,6 +472,10 @@ class Session {
468
472
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
469
473
* `maxTransactionRetryTime` property in milliseconds.
470
474
*
475
+ * NOTE: Because it is an explicit transaction from the server point of view, Cypher queries using
476
+ * "CALL {} IN TRANSACTIONS" or the older "USING PERIODIC COMMIT" construct will not work (call
477
+ * {@link Session#run} for these).
478
+ *
471
479
* @param {function(tx: ManagedTransaction): Promise } transactionWork - Callback that executes operations against
472
480
* a given {@link Transaction}.
473
481
* @param {TransactionConfig } [transactionConfig] - Configuration for all transactions started to execute the unit of work.
0 commit comments