Skip to content

Commit b8dfcf3

Browse files
committed
Improve docs
1 parent 7eac905 commit b8dfcf3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/core/src/driver.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ const READERS: RoutingControl = 'READERS'
207207
* @typedef {'WRITERS'|'READERS'} RoutingControl
208208
*/
209209
/**
210-
* Constant that represents writers routing control.
210+
* Constants that represents routing mode.
211211
*
212212
* @example
213-
* driver.query("<QUERY>", <PARAMETERS>, { routing: neo4j.routing.WRITERS })
213+
* driver.executeQuery("<QUERY>", <PARAMETERS>, { routing: neo4j.routing.WRITERS })
214214
*/
215215
const routing = {
216216
WRITERS,
@@ -272,7 +272,7 @@ class QueryConfig<T = EagerResult> {
272272
* A BookmarkManager is a piece of software responsible for keeping casual consistency between different pieces of work by sharing bookmarks
273273
* between the them.
274274
*
275-
* By default, it uses the driver's non mutable driver level bookmark manager.
275+
* By default, it uses the driver's non mutable driver level bookmark manager. See, {@link Driver.queryBookmarkManager}
276276
*
277277
* Can be set to null to disable causal chaining.
278278
* @type {BookmarkManager|null}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ const READERS: RoutingControl = 'READERS'
207207
* @typedef {'WRITERS'|'READERS'} RoutingControl
208208
*/
209209
/**
210-
* Constant that represents writers routing control.
210+
* Constants that represents routing mode.
211211
*
212212
* @example
213-
* driver.query("<QUERY>", <PARAMETERS>, { routing: neo4j.routing.WRITERS })
213+
* driver.executeQuery("<QUERY>", <PARAMETERS>, { routing: neo4j.routing.WRITERS })
214214
*/
215215
const routing = {
216216
WRITERS,
@@ -272,7 +272,7 @@ class QueryConfig<T = EagerResult> {
272272
* A BookmarkManager is a piece of software responsible for keeping casual consistency between different pieces of work by sharing bookmarks
273273
* between the them.
274274
*
275-
* By default, it uses the driver's non mutable driver level bookmark manager.
275+
* By default, it uses the driver's non mutable driver level bookmark manager. See, {@link Driver.queryBookmarkManager}
276276
*
277277
* Can be set to null to disable causal chaining.
278278
* @type {BookmarkManager|null}

0 commit comments

Comments
 (0)