default: {
    insertCourseInstructor(
        instructoruserid: number,
        courseId: number,
    ): Promise<ResultSetHeader>;
} = ...

Type declaration

  • insertCourseInstructor:function
    • Inserts a new course instructor.

      Parameters

      • instructoruserid: number

        The ID of the instructor.

      • courseId: number

        The ID of the course.

      Returns Promise<ResultSetHeader>

      A promise that resolves with the result of the insertion.