default: {
    checkIfUserCourseTopicExists(
        usercourseid: number,
        topicId: number,
    ): Promise<RowDataPacket[]>;
    deleteUserCourseTopic(usercourseid: number, connection: any): Promise<any>;
    findUserCourseTopicByUserCourseId(
        usercourseid: number,
    ): Promise<RowDataPacket[]>;
    insertUserCourseTopic(
        usercourseid: number,
        topicId: number,
        connection: any,
    ): Promise<any>;
} = ...
Type declaration
- checkIfUserCourseTopicExists:function- checkIfUserCourseTopicExists(    usercourseid: number,    topicId: number,): Promise<RowDataPacket[]> - Parameters- usercourseid: number
- topicId: number
 
- Returns Promise<RowDataPacket[]>- A promise that resolves to the existing user course topic, if any. 
 
- deleteUserCourseTopic:function- deleteUserCourseTopic(usercourseid: number, connection: any): Promise<any> - Parameters- usercourseid: number
- connection: any
 
- Returns Promise<any>- A promise that resolves when the deletion is complete. 
 
- findUserCourseTopicByUserCourseId:function- findUserCourseTopicByUserCourseId(    usercourseid: number,): Promise<RowDataPacket[]> - Returns Promise<RowDataPacket[]>- A promise that resolves to the user course topic, if found. 
 
- insertUserCourseTopic:function- insertUserCourseTopic(    usercourseid: number,    topicId: number,    connection: any,): Promise<any> - Parameters- usercourseid: number
- topicId: number
- connection: any
 
- Returns Promise<any>- A promise that resolves when the insertion is complete. 
 
Model for managing user course topics.