Skip to main content

copy_course_modules

Function copy_course_modules 

Source
async fn copy_course_modules(
    tx: &mut PgConnection,
    new_course_id: Uuid,
    old_course_id: Uuid,
) -> ModelResult<HashSet<Uuid>>
Expand description

Returns the ids of the copied modules.