diff --git a/packages/core/src/driver.ts b/packages/core/src/driver.ts index 8de1de9b2..04c1fe8c2 100644 --- a/packages/core/src/driver.ts +++ b/packages/core/src/driver.ts @@ -138,6 +138,9 @@ class SessionConfig { * straightforward way and potentially simplifies driver logic as well as * reduces network communication resulting in better performance. * + * Usage of Cypher clauses like USE is not a replacement for this option. + * The driver does not parse any Cypher. + * * When no explicit name is set, the driver behavior depends on the connection * URI scheme supplied to the driver on instantiation and Bolt protocol * version. diff --git a/packages/neo4j-driver-deno/lib/core/driver.ts b/packages/neo4j-driver-deno/lib/core/driver.ts index b7850ddd8..9d8027f85 100644 --- a/packages/neo4j-driver-deno/lib/core/driver.ts +++ b/packages/neo4j-driver-deno/lib/core/driver.ts @@ -138,6 +138,9 @@ class SessionConfig { * straightforward way and potentially simplifies driver logic as well as * reduces network communication resulting in better performance. * + * Usage of Cypher clauses like USE is not a replacement for this option. + * The driver does not parse any Cypher. + * * When no explicit name is set, the driver behavior depends on the connection * URI scheme supplied to the driver on instantiation and Bolt protocol * version.