0

I'm trying to build a REST API to hide the complexity of Cypher from the user who will use my program building simple and high-level API calls to interact with the Neo4j Graph. I want to give the user the possibility to work with transactions like in HTTP API (open a transaction, execute statements in a transaction, commit/rollback a transaction), using a transaction id. It is possible to extract the transaction id from transactions created using one of the official Bolt drivers?

AGL
  • 116
  • 1
  • 7

1 Answers1

0

You could just create your own unique ID (e.g., a UUID) for each transaction, and maintain a mapping between those IDs to the active transactions.

cybersam
  • 63,203
  • 6
  • 53
  • 76