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()
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()