Skip to content
Andreas Ronge edited this page Aug 27, 2014 · 100 revisions

Example of how to rollback a transaction:

Neo4j::Transaction.run do |tx|
   Neo4j::Node.create
   Person.create
   tx.fail
end

There are many limitations using transaction together with the Neo4j Server. See core wiki. *

  1. API
  • [Neo4j::Transaction class YARD](http://andreasronge.github.io/neo4j-core/doc/Neo4j/Transaction.html)
  • [Neo4j::Transaction instance YARD](http://andreasronge.github.io/neo4j-core/doc/Neo4j/Transaction/Instance.html)
  • [Neo4j::Transaction Core Wiki](https://github.com/andreasronge/neo4j-core/wiki/Transaction)
Clone this wiki locally