Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
method is pretty simple. It just gets all the orders from database by making a call to getOrders method of ordersRepository. However the interesting part is we are also injecting items service in the constructor. When we look at the createOrder method, we have a list of items to save under a