Coding task · NestJS course · Module 3: TypeORM and Databases
Transaction with QueryRunner
Write a transaction using QueryRunner.
Task
Create a transferTributes method that uses queryRunner.startTransaction(), performs two saves and commits (or rolls back on error)