Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
queryRunner.startTransaction(); try { await queryRunner.manager.save(Order, { /* order data */ }); await queryRunner.manager.save(Item, { /* item data */ }); await queryRunner.commitTransaction(); } catch (e) { await queryRunner.rollbackTransaction(); throw e; } finally { await