Reputation: 17393
I'm working on neo4j . now I faced with two window : Open Transaction
and Commit Transaction
.
what does mean Open Transaction
and Commit Transaction
?
picture of neo4j:
Upvotes: 0
Views: 469
Reputation: 67044
The neo4j browser used the Transactional Cypher HTTP endpoint to execute your Cypher query.
The browser first opened a transaction (in the "Open Transaction" phase) by making a request to that endpoint without passing a Cypher statement.
It then committed that transaction (in the "Commit Transaction" phase) by making a second request to that endpoint (with the appropriate numeric transaction id), passing your Cypher statement.
Upvotes: 2
Reputation: 1
By Open Transaction
you will be opening a new transaction and by Commit Transaction
you will be saving the changes to the transaction you were working upon
Upvotes: 0