Skip to content

Commit f25015c

Browse files
Section default_access_mode in Session had ACCESS_READ/WRITE instead of READ/WRITE_ACCESS. #839 (#840)
1 parent f7ef166 commit f25015c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/api.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -626,11 +626,11 @@ access mode passed to that session on construction.
626626

627627
.. note::
628628
The driver does not parse Cypher queries and cannot determine whether the
629-
access mode should be ``neo4j.ACCESS_WRITE`` or ``neo4j.ACCESS_READ``.
629+
access mode should be ``neo4j.WRITE_ACCESS`` or ``neo4j.READ_ACCESS``.
630630
This setting is only meant to enable the driver to perform correct routing,
631631
*not* for enforcing access control. This means that, depending on the server
632632
version and settings, the server or cluster might allow a write-statement to
633-
be executed even when ``neo4j.ACCESS_READ`` is chosen. This behaviour should
633+
be executed even when ``neo4j.READ_ACCESS`` is chosen. This behaviour should
634634
not be relied upon as it can change with the server.
635635

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

0 commit comments

Comments
 (0)