Skip to content

Commit a1abf24

Browse files
Section default_access_mode in Session had ACCESS_READ/WRITE instead of READ/WRITE_ACCESS. (#839)
1 parent 36b08ae commit a1abf24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,11 +686,11 @@ access mode passed to that session on construction.
686686

687687
.. note::
688688
The driver does not parse Cypher queries and cannot determine whether the
689-
access mode should be ``neo4j.ACCESS_WRITE`` or ``neo4j.ACCESS_READ``.
689+
access mode should be ``neo4j.WRITE_ACCESS`` or ``neo4j.READ_ACCESS``.
690690
This setting is only meant to enable the driver to perform correct routing,
691691
*not* for enforcing access control. This means that, depending on the server
692692
version and settings, the server or cluster might allow a write-statement to
693-
be executed even when ``neo4j.ACCESS_READ`` is chosen. This behaviour should
693+
be executed even when ``neo4j.READ_ACCESS`` is chosen. This behaviour should
694694
not be relied upon as it can change with the server.
695695

696696
:Type: ``neo4j.WRITE_ACCESS``, ``neo4j.READ_ACCESS``

0 commit comments

Comments
 (0)