Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
And here’s the the response: { "orderNo": "ORD_1dd3570d-b82e-4a8d-bb97-8a3b42766302", "date": "2023-09-17T21:50:06.434Z", "id": 1 } Also when we look at the console logs, we see the following queries being executed: START TRANSACTION INSERT INTO `order`(`id`, `orderNo`, `date`) VALUES (DEFAULT, ?,