DatabaseService.prototype.getRepository<Entity, Id extends EntityKey = string>(entity: string): IRepository<Entity, Id>
Returns a repository bound to the named entity on the outer database scope.
Id extends EntityKey = string
DatabaseService.prototype.getRepository<Entity, Id extends EntityKey = string>(entity: string): IRepository<Entity, Id>
Returns a repository bound to the named entity on the outer database scope.
Id extends EntityKey = string
import { DatabaseService } from "database-plugin/src/index.ts";