Added *current-db* to transaction method