diff --git a/packages/core/src/session.ts b/packages/core/src/session.ts index feedd0cc1..a78498e18 100644 --- a/packages/core/src/session.ts +++ b/packages/core/src/session.ts @@ -325,9 +325,10 @@ class Session { /** * Return the bookmarks received following the last completed {@link Transaction}. * - * @deprecated This method will be removed in version 6.0. Please, use {@link Session#lastBookmarks} instead. + * @deprecated This method will be removed in version 6.0. Please, use Session#lastBookmarks instead. * * @return {string[]} A reference to a previous transaction. + * @see {@link Session#lastBookmarks} */ lastBookmark (): string[] { return this.lastBookmarks() @@ -358,13 +359,14 @@ class Session { * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's * `maxTransactionRetryTime` property in milliseconds. * - * @deprecated This method will be removed in version 6.0. Please, use {@link Session#executeRead} instead. + * @deprecated This method will be removed in version 6.0. Please, use Session#executeRead instead. * * @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against * a given {@link Transaction}. * @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work. * @return {Promise} Resolved promise as returned by the given function or rejected promise when given * function or commit fails. + * @see {@link Session#executeRead} */ readTransaction( transactionWork: TransactionWork, @@ -382,13 +384,14 @@ class Session { * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's * `maxTransactionRetryTime` property in milliseconds. * - * @deprecated This method will be removed in version 6.0. Please, use {@link Session#executeWrite} instead. + * @deprecated This method will be removed in version 6.0. Please, use Session#executeWrite instead. * * @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against * a given {@link Transaction}. * @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work. * @return {Promise} Resolved promise as returned by the given function or rejected promise when given * function or commit fails. + * @see {@link Session#executeWrite} */ writeTransaction( transactionWork: TransactionWork, diff --git a/packages/neo4j-driver-deno/lib/core/session.ts b/packages/neo4j-driver-deno/lib/core/session.ts index ab8cd9750..ddc49cb98 100644 --- a/packages/neo4j-driver-deno/lib/core/session.ts +++ b/packages/neo4j-driver-deno/lib/core/session.ts @@ -325,9 +325,10 @@ class Session { /** * Return the bookmarks received following the last completed {@link Transaction}. * - * @deprecated This method will be removed in version 6.0. Please, use {@link Session#lastBookmarks} instead. + * @deprecated This method will be removed in version 6.0. Please, use Session#lastBookmarks instead. * * @return {string[]} A reference to a previous transaction. + * @see {@link Session#lastBookmarks} */ lastBookmark (): string[] { return this.lastBookmarks() @@ -358,13 +359,14 @@ class Session { * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's * `maxTransactionRetryTime` property in milliseconds. * - * @deprecated This method will be removed in version 6.0. Please, use {@link Session#executeRead} instead. + * @deprecated This method will be removed in version 6.0. Please, use Session#executeRead instead. * * @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against * a given {@link Transaction}. * @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work. * @return {Promise} Resolved promise as returned by the given function or rejected promise when given * function or commit fails. + * @see {@link Session#executeRead} */ readTransaction( transactionWork: TransactionWork, @@ -382,13 +384,14 @@ class Session { * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's * `maxTransactionRetryTime` property in milliseconds. * - * @deprecated This method will be removed in version 6.0. Please, use {@link Session#executeWrite} instead. + * @deprecated This method will be removed in version 6.0. Please, use Session#executeWrite instead. * * @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against * a given {@link Transaction}. * @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work. * @return {Promise} Resolved promise as returned by the given function or rejected promise when given * function or commit fails. + * @see {@link Session#executeWrite} */ writeTransaction( transactionWork: TransactionWork,