oshai
05/31/2018, 10:18 AMtransaction {}
in favour on transaction (db) {}
bacause it is easy to create leaks with the former by calling connect
multiple times. not passing db
parameter encourage calling connect
before each transaction because db has to be placed on current thread (unless you have single thread application which is rear)