neo4j-core
neo4j-core copied to clipboard
Running Transations is broken when used as documented
Running a transaction as described by https://github.com/neo4jrb/neo4j-core/wiki/Transaction seems to be broken.
Code example (inline, gist, or repo)
# session already open
Neo4j::Transaction.run do
end
will result in ArgumentError: Too few arguments
thrown in neo4j-core-9.0.0/lib/neo4j/transaction.rb:148
.
influenced by the source of transaction.rb#run
it then tried the following
# session already open
Neo4j::Transaction.new.run do
end
which then results in NameError: uninitialized constant Neo4j::Transaction::Session
thrown in neo4j-core-9.0.0/lib/neo4j/transaction.rb:120
.
Runtime information:
Neo4j database version:
neo4j
gem version: 9.6.0
neo4j-core
gem version: 9.0.0