How to use the getCustomRepository function from typeorm
Find comprehensive JavaScript typeorm.getCustomRepository code examples handpicked from public code repositorys.
66 67 68 69 70 71 72 73 74 75
return __awaiter(this, void 0, void 0, function () { var tasksRepository, tasks; return __generator(this, function (_a) { switch (_a.label) { case 0: tasksRepository = typeorm_1.getCustomRepository(TasksRespository_1.TasksRepository); return [4 /*yield*/, tasksRepository.find({ order: { created_at: 'ASC' },
0
1
1
+ 17 other calls in file
typeorm.getCustomRepository is the most popular function in typeorm (5799 examples)