Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
this.getRepository(Item).insert(items); } } // orders.repository.ts import { Inject, Injectable, Scope } from '@nestjs/common'; import { Request } from 'express'; import { BaseRepository } from 'src/common/base-repository'; import { DataSource } from 'typeorm'; import { Order } from