Module: Neo4j::Shared::Persistence::ClassMethods
- Defined in:
- lib/neo4j/shared/persistence.rb
Instance Method Summary collapse
Instance Method Details
#run_transaction(run_in_tx = true) ⇒ Object
231 232 233 |
# File 'lib/neo4j/shared/persistence.rb', line 231 def run_transaction(run_in_tx = true) Neo4j::ActiveBase.run_transaction(run_in_tx) { |tx| yield tx } end |