Skip to content

Commit 400faaf

Browse files
committed
Update SessionConfig.withDatabase documentation (addition) (neo4j#1336)
1 parent 470dcb3 commit 400faaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/src/main/java/org/neo4j/driver/SessionConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ public Builder withDefaultAccessMode(AccessMode mode) {
231231
* in a straightforward way and potentially simplifies driver logic as well as reduces network communication
232232
* resulting in better performance.
233233
* <p>
234+
* Usage of Cypher clauses like USE is not a replacement for this option. Driver sends Cypher to the server for processing.
235+
* <p>
234236
* When no explicit name is set, the driver behavior depends on the connection URI scheme supplied to the driver
235237
* on instantiation and Bolt protocol version.
236238
* <p>

0 commit comments

Comments
 (0)