Vizzuality/landgriffon

View on GitHub
api/src/modules/indicator-coefficients/indicator-coefficient.repository.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
import { DataSource, Repository } from 'typeorm';
import { IndicatorCoefficient } from 'modules/indicator-coefficients/indicator-coefficient.entity';
import { Injectable } from '@nestjs/common';

@Injectable()
export class IndicatorCoefficientRepository extends Repository<IndicatorCoefficient> {
  constructor(private dataSource: DataSource) {
    super(IndicatorCoefficient, dataSource.createEntityManager());
  }
}