-
Notifications
You must be signed in to change notification settings - Fork 273
Transaction
Andreas Ronge edited this page Aug 14, 2014
·
11 revisions
All operations are automatically wrapped in transactions. Example of how to rollback a transaction:
Neo4j::Transaction.run do |tx|
Neo4j::Node.create
Person.create
tx.fail
end
Neo4j::Transaction
is implemented in neo4j-core.
- The query api (example
Neo4j::Session.query
orPerson.where
) can only return properties because limitations in the Neo4j Server Rest API (this works in the embedded db). - Transactions are thread confined and can be nested as "flat nested transactions"
WARNING: Much of the information in this wiki is out of date. We are in the process of moving things to readthedocs
- Project Introduction
- Neo4j::ActiveNode
- Neo4j::ActiveRel
- Search and Scope
- Validation, Uniqueness, and Case Sensitivity
- Indexing VS Legacy Indexing
- Optimized Methods
- Inheritance
- Core: Nodes & Rels
- Introduction
- Persistence
- Find : Lucene
- Relationships
- Third Party Gems & extensions
- Scaffolding & Generators
- HA Cluster