diff --git a/docs/source/transactions.rst b/docs/source/transactions.rst index 49114dce..93dc3510 100644 --- a/docs/source/transactions.rst +++ b/docs/source/transactions.rst @@ -33,8 +33,6 @@ To construct a :class:`.Session` use the :meth:`.Driver.session` method. .. automethod:: run - .. automethod:: sync - .. automethod:: detach .. automethod:: next_bookmarks @@ -79,8 +77,6 @@ It also gives applications the ability to directly control `commit` and `rollbac .. automethod:: run - .. automethod:: sync - .. automethod:: closed .. automethod:: commit diff --git a/neo4j/work/transaction.py b/neo4j/work/transaction.py index 3f3978d8..ad4d0231 100644 --- a/neo4j/work/transaction.py +++ b/neo4j/work/transaction.py @@ -77,10 +77,6 @@ def _consume_results(self): def run(self, query, parameters=None, **kwparameters): """ Run a Cypher query within the context of this transaction. - The query is sent to the server lazily, when its result is - consumed. To force the query to be sent to the server, use - the :meth:`.Transaction.sync` method. - Cypher is typically expressed as a query template plus a set of named parameters. In Python, parameters may be expressed through a dictionary of parameters, through individual parameter