Module: Neo4j::Migrations::Helpers::ClassMethods

Defined in:
lib/neo4j/migrations/helpers.rb

Instance Method Summary collapse

Instance Method Details

#disable_transactions!Object


95
96
97
# File 'lib/neo4j/migrations/helpers.rb', line 95

def disable_transactions!
  @disable_transactions = true
end

#transaction?Boolean

Returns:

  • (Boolean)

99
100
101
# File 'lib/neo4j/migrations/helpers.rb', line 99

def transaction?
  !@disable_transactions
end