adam-cowley/neode

Transaction support

cipacda opened this issue · 0 comments

It would be good to add transaction support, to execute a few queries in a transaction but still keep all the Neode method.

In the example below, I want all the actions to be executed in an atomic transaction.
const trx = instance.transaction(); trx.schema.drop(); trx.schema.install(); trx.create("Person", {name: "test"}); trx.commit();