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'
                        },
fork icon0
star icon1
watch icon1

+ 17 other calls in file