DeleteMany

Classic delete, receives as parameter the type array of entity to delete it or an array of { key: value } and execute multiple queries at once.

await this.examplesRepository.deleteMany(
  [
    { id: 1 },
    { id: 2 },
    { id: 3 },
    { id: 4 },
    { id: 5 },
  ],
  trx,
);

// delete example