Total Complexity | 1 |
Total Lines | 9 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import { InjectRepository } from '@nestjs/typeorm'; |
||
5 | |||
6 | export class BillingItemRepository implements IBillingItemRepository { |
||
7 | constructor( |
||
8 | @InjectRepository(BillingItem) |
||
9 | private readonly repository: Repository<BillingItem> |
||
10 | ) {} |
||
11 | |||
12 | public save(items: BillingItem[]): void { |
||
13 | this.repository.save(items); |
||
14 | } |
||
16 |