Skip to main content
Module

x/typeorm/src/index.ts>EntityRepository

Forked from https://github.com/typeorm/typeorm
Latest
function EntityRepository
import { EntityRepository } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Used to declare a class as a custom repository. Custom repository can manage some specific entity or just be generic. Custom repository optionally can extend AbstractRepository, Repository or TreeRepository.

Parameters

optional
entity: Function | EntitySchema<any>

Returns

Function