Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
occurred, we run queryRunner.rollbackTransaction() to revert all the changes and throw the error to be handled by NestJS And lastly, we run queryRunner.release() method in the finally block to return the reserved connection back to the connection pool. This step is very important and if you don’t