CreateMany

Classic create, receives as parameter the type array of IEntityDTO and execute multiple queries at once.

data: Array<IExampleDTO>;

const examples = await this.examplesRepository.createMany(data, trx);