Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
run, DO NOT USE FOR PRODUCTION }), ProductsModule, OrdersModule, ItemsModule, ], controllers: [], providers: [], }) export class AppModule implements OnModuleInit { constructor(private dataSource: DataSource) {} async onModuleInit() { await this.dataSource.query(` insert into product (title, price)