neode
neode copied to clipboard
Wrong database used in transaction method (affects transactions and batch methods)
All transactions & batch operations are being done on default database. Selecting other db will affect cypherRead/Write, but not transaction nor batch() method.
Method transaction() contains following code:
var session = this.driver.session(database);
This is an invalid argument.
It should be:
var session = this.driver.session({ database: database, defaultAccessMode: mode });
You have example in method above transaction: writeSession()