https://medium.com/@sergey.suslov/how-to-write-transactional-database-calls-in-typescript-f172a8172150