S.M_Emamian
S.M_Emamian

Reputation: 17393

what does mean Open Transaction and Commit Transaction

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:

enter image description here

Upvotes: 0

Views: 469

Answers (2)

cybersam
cybersam

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

Aditi Aggarwal
Aditi Aggarwal

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

Related Questions